cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743vit6 SAI DMA event generation bug

SeyyedMohammad
Senior III

I've programmed SAI tx DMA to generate event to driving other DMA wich software triggering LPTIM.

In the code SAI DMA generate intrrupt to change GPIO state and LPTIM outputs it's waveform on a pin with onepulse mode.

It has the configuration of 4 block on each DMA transmission in circular mode.

I expect LPTIM pulse on SAI_tc on GPIO transitions (After 4 data according to configuration, the transfer completes, and GPIO changes it's state). But I can see 4 pulse between two transition.

I know DMA event generation occur at each DMA internal counter register update. But I think this is a hardware or software HAL bug. I'm not sure.

 
_legacyfs_online_stmicro_images_0693W00000bhme3QAA.pngThe code has been written on STM32cubeIDE 1.12.

0 REPLIES 0