cancel
Showing results for 
Search instead for 
Did you mean: 

PSSI DMA or IT on STM32H5?

olaan
Associate II

Hello!

I have not been able to figure out how to get PSSI DMA working for the H5. For other peripherals, there is a DMA-tab in the configuration, but not for PSSI. Similarly, I have not been able to find any way of using interrupts for transmitting or receiving PSSI data. The XXX_Transmit_IT() & XXX_Receive_IT() functions available for many other peripherals are missing. As it is, my only option seems to be to synchronously send and poll for data.

My question is what am I missing? Is there another way of doing this for the STM32H5? If you could just point me in the right direction, I'd be most grateful.

Cheers,

// Ola

10 REPLIES 10
JesperEC
Associate III

STM32CubeIDE 1.18 contains STM32CubeMX 6.14 and now there is a DMA Settings in the PSSI configuration tab and in the GPDMA1 config UI PSSI_RX and PSSI_TX are available in the drop-down menu CH0 / Request Configuration / Request.

From a quick glance, the generated code looks sane - just a tad confusing because there is no GPDMA1_REQUEST_PSSI and GPDMA1_REQUEST_DCMI is used which I guess is due to that according to AN5593 rev 7, you can't use PSSI and DCMI at the same time.

I haven't tested it on an actual STM32H5 though.