2026-05-26 7:30 AM
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.