Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
06/08/06 07:48
Read: times


 
#118002 - Pinnacle52 simulating I2C DS1307 PROBLEM
Hello all 8051 gurus!
I am new to Pinnacle, I triesd to simulate the I2C DS1307 RTC with it but when doing the settings for I2C in ProjectOptions I read the I2C address as 68 (cannot be changed). To bast I know the device address for DS1307 is 0xD0 (write) & 0xD1 (read).
Also when I loaded my hex file to simulate (in which the address were given as 0xD0 & 0xD1, the I2C bus#1 window showed :

[START][Addr:68-Write]<ACK>[08]<ACK>[41]<ACK>[50]<ACK>[51]<ACK>[52]<ACK>[53]<ACK>[54]<ACK>[55]<ACK>[STOP]
[START][Addr:68-Write]<ACK>[08]<ACK>[STOP]
[START][Addr:69-Write]<ACK>[FF]<ACK>[FF]<ACK>[FF]<ACK>[FF]<ACK>[FF]<ACK>[FF]<ACK>[FF]<ACK>[FF]<ACK>[STOP]

when I sent dev. address 0xD0, I see [Addr:68-Write] and when I tried to read the device giving address 0xD1 I see [Addr:69-Write]

Please advise, where I am wrong, or if the Simulator is OK?

Thanks
Rajesh Bij
INDIA ph. 09414061058

List of 2 messages in thread
TopicAuthorDate
Pinnacle52 simulating I2C DS1307 PROBLEM            01/01/70 00:00      
   Problem Solved            01/01/70 00:00      

Back to Subject List