k10,I2S question

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

k10,I2S question

Jump to solution
592 Views
fugrace
Contributor III

Hi,everyone.

I have two questions about the I2S module of K10,which is much different from the K60.

The first one is what's the suggested procedure of  I2S module's initialization? I can't find it from the refrence manual of K10.

And the second one is about the TCE field of register I2S0_TCR3,what's the channel "N" enable mean? I can't find any other information about the "N".

If anyone has more detailed information about how to use the module,share with us,I'd be very appreciated.(ps:I've reviewed the project  TWRK60D100M_TWRAudioSGTL_Loopback  someone posted on this forum,but t it's too complex for me to understand.

0 Kudos
1 Solution
409 Views
Paul_Tian
NXP Employee
NXP Employee

Hi, Grace

1: Yes, as you mentioned, K10 I2S module(V2) has many differences from K60(V2). This module change from the SSI module toSAI module. But there is an application note tell you how to migration from V1 to V2. You can reference chapter3.6 "SSA to SAI". For software impact, there is not much change in software configuration for the SAI module. Bit clock and frame sync generation, their direction and polarity selection, frame size, and word size setting are the same as for the SSI module. Only the bit naming is different. For detail, you can find this application note from link http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf?fsrch=1&sr=1

2: I think this N means, different transmit channel TXD0 and TXD1. So you can also find in register I2Sx_RCR3 bit RCE.

3: I would like to suggest you another application note for your reference in your I2S initialization. You can find it from link http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4520.pdf?fsrch=1&sr=22

Hope my reply can help you.

Best Regards

Paul

View solution in original post

0 Kudos
2 Replies
410 Views
Paul_Tian
NXP Employee
NXP Employee

Hi, Grace

1: Yes, as you mentioned, K10 I2S module(V2) has many differences from K60(V2). This module change from the SSI module toSAI module. But there is an application note tell you how to migration from V1 to V2. You can reference chapter3.6 "SSA to SAI". For software impact, there is not much change in software configuration for the SAI module. Bit clock and frame sync generation, their direction and polarity selection, frame size, and word size setting are the same as for the SSI module. Only the bit naming is different. For detail, you can find this application note from link http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf?fsrch=1&sr=1

2: I think this N means, different transmit channel TXD0 and TXD1. So you can also find in register I2Sx_RCR3 bit RCE.

3: I would like to suggest you another application note for your reference in your I2S initialization. You can find it from link http://cache.freescale.com/files/microcontrollers/doc/app_note/AN4520.pdf?fsrch=1&sr=22

Hope my reply can help you.

Best Regards

Paul

0 Kudos
409 Views
fugrace
Contributor III

Thanks so much.I saw your answer just now,but it's really not late.

0 Kudos