2014-01-11 01:45 AM
Hello,
I've been spending some time looking through the STM32F4 reference document and it looks quite clear that the I2S2 / I2S2ext are supposed to be used in a full-duplex configuration.However, I'm curious, is it possible to configure I2S2 as TX and I2S2ext as TX at the same time and use them independently ( transmit two different words at the same time )?Thanks,Phil. #stm32-i2s-duplex2014-01-12 08:41 AM
Probably yes, but why don't you go and try yourself?
JW2014-01-13 12:01 AM
I'll give it a go. Didn't want to waste my time if someone knew if was definitely impossible.
Thanks,Phil.2014-02-14 11:28 PM
Okay, it didn't take long to determine that this is not possible. Spending a bit of time looking at the DMA table in the reference guide shows that both the I2S TX and I2Sext TX are on the same stream, but different channels. As you can't use two channels on the same stream it looks like the I2S Extended really is full duplex only.
Thanks,Phil.2014-02-16 02:16 PM
> Okay, it didn't take long ...
... a mere month ... ;) (sorry, I couldn't resist) Well, it does not mean that only duplex operation is possible - you just might need to device a different way how to deliver the data... Besides, what you said is entirely true only for I2S2 - for I2S3, separate streams are available for ''main'' and ''ext''. JW