on board I2S interface for TWR-K60f120m

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

on board I2S interface for TWR-K60f120m

1,350件の閲覧回数
pallenna
Contributor II

Tc Liew,

Hi Chung,

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 件の賞賛
返信
2 返答(返信)

1,156件の閲覧回数
tsi-chung_liew
NXP Employee
NXP Employee

Pallenna,

Most of our sample code is set the I2S as slave not master. In order for master - slave communication, do you have connection hook up correctly? clk to clk, rx to tx and tx to rx? Also, master and slave clock must sync up.

> i tried only transmission without slave device initialization for testing of clock line

You need slave initialized for proper testing.

Regards,

TsiChung

0 件の賞賛
返信

1,156件の閲覧回数
pallenna
Contributor II

Hi Tsi-Chung,

Thanks for reply,i will try with your suggestion.

Thanks and Regards,

Padmaja

0 件の賞賛
返信