Serial real-time clocks (RTCs) with alarm
Serial real-time clocks (RTCs) with alarm
Serial real-time clocks (RTCs) with alarm
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Operation<br />
M41T62/63/64/65<br />
Figure 15.<br />
Acknowledgement sequence<br />
SCL FROM<br />
MASTER<br />
START<br />
CLOCK PULSE FOR<br />
ACKNOWLEDGEMENT<br />
1 2 8 9<br />
DATA OUTPUT<br />
BY TRANSMITTER<br />
MSB<br />
LSB<br />
DATA OUTPUT<br />
BY RECEIVER<br />
AI00601<br />
2.2 READ mode<br />
Note:<br />
In this mode the master reads the M41T6x slave after setting the slave address (see<br />
Figure 17 on page 15). Following the WRITE mode control bit (R/W=0) and the<br />
acknowledge bit, the word address 'An' is written to the on-chip address pointer. Next the<br />
START condition and slave address are repeated followed by the READ mode control bit<br />
(R/W=1). At this point the master transmitter becomes the master receiver. The data byte<br />
which was addressed will be transmitted and the master receiver will send an acknowledge<br />
bit to the slave transmitter. the address pointer is only incremented on reception of an<br />
acknowledge clock. The M41T6x slave transmitter will now place the data byte at address<br />
An+1 on the bus, the master receiver reads and acknowledges the new byte and the<br />
address pointer is incremented to “An+2.”<br />
This cycle of reading consecutive addresses will continue until the master receiver sends a<br />
STOP condition to the slave transmitter.<br />
The system-to-user transfer of clock data will be halted whenever the address being read is<br />
a clock address (00h to 07h). The update will resume due to a stop condition or when the<br />
pointer increments to any non-clock address (08h-0Fh).<br />
This is true both in READ mode and WRITE mode.<br />
An alternate READ mode may also be implemented whereby the master reads the M41T6x<br />
slave <strong>with</strong>out first writing to the (volatile) address pointer. The first address that is read is the<br />
last one stored in the pointer (see Figure 18 on page 15).<br />
Figure 16.<br />
Slave address location<br />
R/W<br />
START<br />
SLAVE ADDRESS<br />
A<br />
MSB<br />
LSB<br />
1 1<br />
0 1 0 0 0<br />
AI00602<br />
14/44 Doc ID 10397 Rev 19