Skip to main content
Visitor II
August 20, 2005
Question

m41t94 interfacing

  • August 20, 2005
  • 1 reply
  • 650 views
Posted on August 20, 2005 at 13:27

m41t94 interfacing

    This topic has been closed for replies.

    1 reply

    stm2Author
    Visitor II
    August 20, 2005
    Posted on August 20, 2005 at 13:27

    Hi,

    Is the a code libary available for accessing the M41T94 SPI RTC (real-time clock)? Preferably in 'C'.

    I'm just starting on this, but am I right to think that in order to read a register, you send the address (as the MSB is zero it indicates a read) then you must continue to send another, dummy, byte in order for clock to continue so that the RTC can return the data. You then read the returned byte in the SPI data register?

    Thanks,

    Mark