nxp-mcuxpresso / mcux-sdk

MCUXpresso SDK
BSD 3-Clause "New" or "Revised" License
301 stars 136 forks source link

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

Closed carlocaione closed 1 month ago

carlocaione commented 1 month 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 1 month ago

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

carlocaione commented 1 month ago

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