|
RV-3029 Datasheet, PDF (51/67 Pages) MICORO CRYSTAL SWITZERLAND – DTCXO Temperature Compensated Real Time Clock | |||
|
◁ |
Micro Crystal
DTCXO Temperature Compensated Real Time Clock / Calendar Module
RV-3029
6.8. I2C INTERFACE READ AND WRITE DATA TRANSMISSION
Any serial communication with the RV-3029 starts by initiating the âSTART conditionâ. The first byte sent contains
the 8 bit address of RV-3029, were the LSB is the R/ W bit which defines if the device is addressed in READ or
WRITE mode.
6.8.1.WRITE MODE DATA TRANSMISSION
⢠With the first byte, the Master has addressed the RV-3029 in Write Mode
⢠The next byte contains the Page & Word Address. The upper 5 bits address a specific âMemory Pageâ,
the 3 lower bits are the auto incrementing address part
⢠The next byte contains the data the Master sends to the addressed Page & Word Address
⢠After reading or writing one byte, the Word Address is automatically incremented by 1 within the same
Memory Page. If âacknowledgeâ is not received, no auto increment of the address is executed and a
following reading transmits data of the same address
Example of Data Transmission in Write Mode
1) Master sends out the âStart Conditionâ
2) Master sends out the âSlave Addressâ, ACh for the RV-3029; the R/ W bit = â0â for write mode
3) Acknowledgement from the RV-3029
4) Master sends out the âPage & Word Addressâ to the RV-3029
5) Acknowledgement from the RV-3029
6) Master sends out the âDataâ to write to the address specified in step 4)
7) Acknowledgement from the RV-3029
8) Steps 6) and 7) can be repeated if necessary. Within the same Memory Page, the RV-3029 will increment
the word address automatically
9) Master sends out the âStop Conditionâ
1
2
3
4
5
6
7
S SLAVE ADDRESS 0 0
PAGE
WORD
ADDRESS
0
DATA
0
Acknowledge from the RV-3029-C2
8
DATA
9
0P
51/67
|
▷ |