i2s Bridge demo code

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

i2s Bridge demo code

838 Views
Libra
Contributor I

In i2s applications, I need to implement full-duplex data in and data out, but the demo code uses two separate i2s groups for this purpose.

Is there a way to implement full-duplex i2s using a configuration of WS + SCK + DATA_IN + DATA_OUT?

0 Kudos
Reply
1 Reply

815 Views
mayliu1
NXP Employee
NXP Employee

Hi @Libra ,

Thank you so much for your interest in our products and for using our community.

Please check  RT685 user manual, each Flexcomm I²S interface can only configured for one direction at a time—either transmit (TX) or receive (RX).

mayliu1_0-1768301731426.png

If you want realize full-duplex, you need to use two Flexcomm, one configured as TX,  and the other as RX.
 
Best Regards
MayLiu
%3CLINGO-SUB%20id%3D%22lingo-sub-2292441%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Ei2s%20Bridge%20demo%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292441%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CDIV%20class%3D%22%22%3E%3CDIV%3E%3CP%20class%3D%22%22%3EIn%20i2s%20applications%2C%20I%20need%20to%20implement%20full-duplex%20data%20in%20and%20data%20out%2C%20but%20the%20demo%20code%20uses%20two%20separate%20i2s%20groups%20for%20this%20purpose.%3C%2FP%3E%3C%2FDIV%3E%3CDIV%3E%3CP%20class%3D%22%22%3EIs%20there%20a%20way%20to%20implement%20full-duplex%20i2s%20using%20a%20configuration%20of%20WS%20%2B%20SCK%20%2B%20DATA_IN%20%2B%20DATA_OUT%3F%3C%2FP%3E%3C%2FDIV%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2292501%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20i2s%20Bridge%20demo%20code%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2292501%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F258737%22%20target%3D%22_blank%22%3E%40Libra%3C%2FA%3E%26nbsp%3B%2C%3C%2FP%3E%0A%3CP%3EThank%20you%20so%20much%20for%20your%20interest%20in%20our%20products%20and%20for%20using%20our%20community.%3C%2FP%3E%0A%3CDIV%3EPlease%20check%26nbsp%3B%20RT685%20user%20manual%2C%20each%20Flexcomm%20I%C2%B2S%20interface%20can%20only%20configured%20for%20one%20direction%20at%20a%20time%E2%80%94either%20transmit%20(TX)%20or%20receive%20(RX).%3C%2FDIV%3E%0A%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mayliu1_0-1768301731426.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22mayliu1_0-1768301731426.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F372653iE93C11A9AA935D4D%2Fimage-size%2Fmedium%3Fv%3Dv2%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mayliu1_0-1768301731426.png%22%20alt%3D%22mayliu1_0-1768301731426.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%3C%2FP%3E%0A%3CDIV%3EIf%20you%20want%20realize%20full-duplex%2C%20you%20need%20to%20use%20two%20Flexcomm%2C%20one%20configured%20as%20TX%2C%26nbsp%3B%20and%20the%20other%20as%20RX.%3C%2FDIV%3E%0A%3CDIV%3E%26nbsp%3B%3C%2FDIV%3E%0A%3CDIV%3EBest%20Regards%3C%2FDIV%3E%0A%3CDIV%3EMayLiu%3C%2FDIV%3E%3C%2FLINGO-BODY%3E