on board I2S interface for TWR-K60f120m

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

on board I2S interface for TWR-K60f120m

761件の閲覧回数
pallenna
Contributor II

Hi to Erich Styger,Adrian Sanchez Cano,Alice_Yang,

 

i am new to i2s interface,now i want interface of on board two I2S's for TWR-K60F120 using I2S communication for this what can i do first. i think it is possible right. for this communication  i made I2S0 as Master and I2S1 as Slave mode. my theme is, to send one byte data (ex, 0x1)from master  of I2S0 to Slave of I2S1 and receive the  one byte data(ex 0x2) from Slave of I2S1 to Master Slave of I2S0. so for this please if have code please post here.and i have I2S driver code also with this  i tried only transmission without slave device initialization for testing of clock line and data line observation on port lines,and the code also posting here so please check it once and inform where i did mistakes in the initialization.  

Thanks and Regards,

Padmaja

Original Attachment has been moved to: hello_world.c.txt.zip

Original Attachment has been moved to: sai.c.txt.zip

タグ(2)
0 件の賞賛
返信
1 返信

509件の閲覧回数
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi,Pallenna,

I think your solution is okay that you set up I2S0 module as master, and I2S1 as slave, but it is simpler if you use only one I2S module as a test for example I2S0 and connect the receiver dat pin I2S0_RXD0 to I2S0_TXD0, whether the bit clock/frame clock are needed is dependent on the synchronous mode or asynchronous mode.

Anyway, I attach an example based on K60, hope it can help you.

BR

XiangJun Rong

0 件の賞賛
返信