Design Win

SPI code -Serial RTC

Download databrief

Product overview


The STSW-SRTC002 is a demo software package that can be used, for example, to drive the real-time clock devices by the 8051 microcontroller using the SPI serial interface.

The software shows how to access and config the SPI serial interface, how to access the timekeeper registers and how to write and read into the internal RAM registers.

  • All features

    • SPI demo sourcing code for the following serial IF RTC device:
      • M41T94 (SPI - 20 bytes RTC Reg. map)