on board I2S interface for TWR-K60f120m

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

on board I2S interface for TWR-K60f120m

1,733 次查看
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,539 次查看
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,539 次查看
pallenna
Contributor II

Hi Tsi-Chung,

Thanks for reply,i will try with your suggestion.

Thanks and Regards,

Padmaja

0 项奖励
回复