2005-08-20 04:27 AM
2005-08-20 04:27 AM
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