nxp-mcuxpresso / mcux-sdk

MCUXpresso SDK
BSD 3-Clause "New" or "Revised" License
339 stars 148 forks source link

Using I2S in RX and TX mode at the same time #195

Closed carlocaione closed 6 months ago

carlocaione commented 6 months ago

I'm trying to understand whether this is an API or hardware limitation.

I want to use the I2S controller in TX and RX mode at the same time but all the APIs seems to suggest that you can configure the controller either for TX or for RX (see for example I2S_RxInit() vs I2S_TxInit()).

Is this simply an API limitation or is there anything in hardware preventing that?

mcuxsusan commented 6 months ago

Wait for development team to check. Appreciate your patience since reply could be delayed.

carlocaione commented 6 months ago

Found the solution. We can used two different FLEXCOMM ports with signal sharing, using one for TX and the other one for RX.