cancel
Showing results for 
Search instead for 
Did you mean: 

Query on SAI data size

Jansunil
Associate II

Hello Team,

I am trying to read some data with the nucleo-L552ZEQ peripheral using the SAI peripheral in asynchronous slave mode configured in TDM Mode.

Jansunil_0-1698916673915.png

In the attached above, Ch0 is the FS and CH1 is the SCLK signal. 

I've configured the following:

1) FS =  falling edge

2) Data size = 16 bit

3) No. of slots = 2

 

Ideally, I should be reading data with the help of 32 clock pulses after the falling edge of the FS signal. In the above mentioned case, where sufficient number of data clocks aren't provided from the master to the MCU, what happens to the data read? Does the peripheral still count for 32 clock pulses (even though they are present out of the current frame)? or does it ignore the LSB once there is a new frame detected?

 

Any leads on this would be really of help.

 

Thanks,

Janani 

 

0 REPLIES 0