Need I2C slave sample

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

Need I2C slave sample

1,971 次查看
douglaslps
Contributor I

Hi, this is my first time in this forum.

I have been working with a MC56F83xx DSC for two weeks now and I'm having hard time on get I2C working as slave.

All connections are fine. I have both SDA and SCL pulled up to 5V.

I've enabled START and STOP events and both of them were reached. Still I get no message in the slave side.

I'm sure that I'm sending messages to the right address (0x7A by the way). I'm using the correct speed at both ends (100kHz by the way).

Not sure what else I could do.

That is why I'm asking you a I2C slave sample.

Thank you so much.

Regards,

Douglas

标签 (1)
标记 (1)
0 项奖励
回复
2 回复数

1,007 次查看
J2MEJediMaster
Specialist I

This topic has been discussed quite a bit in different Freescale forums, so a forum search should turn up something. Enter "I2C" in the search box at the upper right, use the drop-down menu to change the search area from Board to Community, then click Search. You'll have to sift through the various replies. I recall that some source code has been posted. It might not be directly applicable to your part, but it should help you get started.

 

---Tom

0 项奖励
回复

1,007 次查看
douglaslps
Contributor I
Hi Tom, I got my I2C slave working. Not sure why it wasn't working before. Probably some timing issue. Thanks for your reply. Regards, Douglas
0 项奖励
回复