Need I2C slave sample

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

Need I2C slave sample

1,349 Views
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

Labels (1)
Tags (1)
0 Kudos
2 Replies

385 Views
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 Kudos

385 Views
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 Kudos