Noman Yousaf
Full Member level 4
- Joined
- Nov 19, 2003
- Messages
- 208
- Helped
- 3
- Reputation
- 6
- Reaction score
- 2
- Trophy points
- 1,298
- Location
- Lahore Pakistan
- Activity points
- 1,763
hi
i m trying to interface DS1307 with AT89S51
but the problem is, i successfully write the time in RTC but fail to read.
i checked on proteus.
i use this protocol for reading
start (release start bit)
device add. (send device add. #0D0h)
get byte (send clock only and get data fomr RTC)
stop (release stop bit)
actually i want to know about acknowledge bit. how to release acknowledge bit from master.
in this way i have to get at least seconds.
but even in this condition i cant read seconds
plz guide
thanks in advance
regards
i m trying to interface DS1307 with AT89S51
but the problem is, i successfully write the time in RTC but fail to read.
i checked on proteus.
i use this protocol for reading
start (release start bit)
device add. (send device add. #0D0h)
get byte (send clock only and get data fomr RTC)
stop (release stop bit)
actually i want to know about acknowledge bit. how to release acknowledge bit from master.
in this way i have to get at least seconds.
but even in this condition i cant read seconds
plz guide
thanks in advance
regards