logo elektroda
logo elektroda
X
logo elektroda

Interfacing RTC: How to Use AS, DS, R/W Pins for Setting and Reading Time?

27 6
ADVERTISEMENT
  • #1 21660732
    Dharmik Brahmbhatt
    Anonymous  
  • ADVERTISEMENT
  • #2 21660733
    Cody Miller
    Anonymous  
  • ADVERTISEMENT
  • #3 21660734
    Dharmik Brahmbhatt
    Anonymous  
  • #4 21660735
    Dharmik Brahmbhatt
    Anonymous  
  • ADVERTISEMENT
  • #5 21660736
    Justin Grantham
    Anonymous  
  • ADVERTISEMENT
  • #6 21660737
    Dharmik Brahmbhatt
    Anonymous  
  • #7 21660738
    Justin Grantham
    Anonymous  

Topic summary

The discussion focuses on interfacing a DS12887 real-time clock (RTC) module with an AT89C52 microcontroller, specifically addressing the use of the AS (Address Strobe), DS (Data Strobe), and R/W (Read/Write) pins for setting and reading time. The original poster seeks guidance on controlling these pins to enable the oscillator, set the RTC to time mode, initialize the time to 12:00, and retrieve updated time values. While the Muhammad Ali Mazidi book covers RTC programming, it lacks details on handling these control pins. Responses suggest consulting the DS12885/DS12887 datasheet for timing diagrams and pin operation states, which clarify the required signal sequences for reading and writing data. Additional resources with example code and timing illustrations are recommended to better understand the pin control and timing requirements for proper RTC interfacing.
Summary generated by the language model.
ADVERTISEMENT