2021-09-29 03:39 AM
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?
2021-09-29 03:57 AM
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.
JW
2021-09-29 05:25 AM
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.