Respected Sir/Madam
I am trying to interface the DS1302 rtc chip to the Aduc841 microconverter through i2c communication.The Aduc841 is configured in i2c Master Mode.The transmission occurs correctly and it is checked only in the simulation mode alone.While receiving the data the SDA line remains high and data received is 0xFF.
The RTC registers should be read and to be displayed in the LCD.
Operatons Tried:
The seconds register is continuously read .
The write protect Bit is cleared.
eg:
MODE STATUS ADDRESS DATA
Master Transmit 0x80 24. (. stands for ACK)
Master Receive 0x81 FF! (! stands for NACK)
This is the result given in simulation. So kindly give me the suggestions and tips to rectify the problem.
The reply is expected as soon as possible.
Regards Alagu Sakthi