You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have used the DMA SPI to drive an ILI9341 240x320 SPI display on a custom STM32U575RI board without a problem.
It takes 35ms to refresh the whole display in RGB565 format, compared to 103ms when DMA is turned off.
@multiplemonomials
Hi Jamie,
I found a bug(typo?) in stm_dma_utils.c, line 691 and line 709, when data alignment is 4, DestDataWidth should be set to DMA_DEST_DATAWIDTH_WORD instead of DMA_DEST_DATAWIDTH_BYTE:
Also, I noticed the meaning of "Length" parameter of some DMA APIs (e.g. HAL_TIM_PWM_Start_DMA) has been changed in STM32U5. In STM32 series before STM32U5, "Length" means the number of data items to be processed, but in STM32U5, "Length" means the number of data bytes (number of data items * data width in bytes) to be processed.
DMA SPI is currently not functional on this device family. Need to test things out some more...
The text was updated successfully, but these errors were encountered: