I²C problems with AW60

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

I²C problems with AW60

1,497 Views
nany
Contributor I
Hello, can anybody help me to configure and use the IIC module in the AW60. I try a lot of posibilities of configuration and transmition and not working. My proyect is a comunicition via IIC with a RTC DS1307. I am sure that the RTC works because I use with another program (without use the IIC module) and its works fine. Thanks for any help that you send me, I am desesperate.......


Message Edited by Alban on 2007-08-28 01:20 PM
Labels (1)
0 Kudos
Reply
1 Reply

588 Views
bigmac
Specialist III
Hello and welcome to the forum.
 
Firstly, I might suggest you use the forum search box at the bottom of this page, for a search on "IIC" and "I2C".  There are many posts that discuss IIC issues, and some refer to example code.  The operation of the IIC module should be quite similar for the various 9S08 devices.
 
It would appear to me that there are two issues:
  1. Basic communications issues when using the IIC module within the MCU.
  2. The specific protocol requirements of the slave device, the DS1307 in your case.
For the second issue, the data sheet for the DS1307 will be your primary reference - previous posts on the forum may not necessarily assist.  But you first need to clear up any problems with the basic communications.
 
Ultimately, if problems remain, you will need to post your non-working IIC code to this forum for specific comment.
 
Regards,
Mac
 
0 Kudos
Reply