cancel
Showing results for 
Search instead for 
Did you mean: 

SAI Configuration on STM32H5

stmexplorer
Associate

I am trying to use the Nucleo H563ZI to read a 24 bit data via the SAI with the TDM protocol. SAI has been configured in asynchronous slave mode. Valid data from the master is available after the falling edge of the FS signal. However, while calling the HAL_SAI_Receive() API,  I always see that the FIFO status is empty and the value in the data register is always 0.  Attaching the waveform and the SAI1 register contents.

 

Any assistance on this would be of great help, TIA!

stmexplorer_1-1744206053842.png

 

 

stmexplorer_0-1744205911107.png

 

1 REPLY 1
stmexplorer
Associate

Hello ! Any updates on this query? Appreciate any help on this. I also noticed that the FLVL bit for SAI1A is always 0.