cancel
Showing results for 
Search instead for 
Did you mean: 

m41t94 interfacing

stm2
Associate II
Posted on August 20, 2005 at 13:27

m41t94 interfacing

1 REPLY 1
stm2
Associate II
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