cancel
Showing results for 
Search instead for 
Did you mean: 

DMA configuration for SAI on STM32N6

Zipper
Associate II

I'm trying to get the SAI working on the NUCLEO-N657X0-Q but I'm not having any luck. I tried the interrupt API and I got it somewhat working but the supposedly non-blocking API seems to block on the first call to HAL_SAI_Transmit_IT. The DMA configuration on this MCU series is very complicated compared to other series and I have no clue where to even start. I couldn't find any documentation about it whatsoever.

What I need is full-duplex 8-slot TDM with 32-bit samples at 48kHz. If someone could tell me how to configure DMA for this in CubeMX and write some basic C code to get it running I would very much appreciate it.

0 REPLIES 0