cancel
Showing results for 
Search instead for 
Did you mean: 

Could STM32L433's SAI achieve features similar to full duplex?

HungKai.Chien
Associate II

We need to transmit and receive I2S data at the same time.

​But we can’t transmit and receive at the same time now.

Then we want to know whether the SAI of STM32L433 can achieve features similar to full-duplex?

If yes, is this setting correct?

​​

2 REPLIES 2

In SAI_xCR1.MODE, set one sub-block as Master (e.g. Master Transmitter) and the other as Slave (e.g. Slave Receiver). Then for Slave, in SAI_xCR1.SYNCEN, set it to "synchronous with the other sub-block" (i.e. 0b01) - that sub-block then will be controlled by the clock pins of the master sub-block.

See 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 page 26.

JW

Piranha
Chief II

The same problems everywhere... SAI can do full-duplex, the HAL broken bloatware cannot. The HAL/Cube code and API shows it clearly that the developers are blatantly incompetent.