cancel
Showing results for 
Search instead for 
Did you mean: 

Help with SAI peripheral to replace I2S peripheral

CLeo.1
Senior II

Hello! Just a quick question, I just need some help figuring out what is what.

I am coming from the I2S peripheral and setting up the SAI peripheral and to use the I2S protocol, it's that not straight forward.

I am curious if anyone can tell me what is what

The SAI has

Audio Data Size

Frame length

and Slot numbers

For the I2S equivalents I believe

Audio Data Size = DATALEN

Frame Length = CHANNEL LENGTH

But what the heck is slots?

2 REPLIES 2
Simon V.
ST Employee

Hello,

Could you please which product you are using please ?

You can refer to the following peripheral presentation as introduction:

https://www.st.com/content/ccc/resource/training/technical/product_training/0c/16/3b/b4/76/8a/47/51/STM32L4_Peripheral_SAI.pdf/files/STM32L4_Peripheral_SAI.pdf/jcr:content/translations/en.STM32L4_Peripheral_SAI.pdf

Regards,

Simon

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Piranha
Chief II

Slots are channels. Everything else is very clearly illustrated in a RM figure mentioned in my previous answer...

https://community.st.com/s/question/0D53W00000rZYwdSAG/what-does-chlen-and-datlen-actually-mean-in-the-context-of-i2s