| Electronic Components Datasheet Search |
|
DS3231M Datasheet(PDF) 18 Page - Maxim Integrated Products |
|
|
|||||||||||||||||||||||||||||
DS3231M Datasheet(HTML) 18 Page - Maxim Integrated Products |
|
18 / 20 page ![]() ±5ppm, I2C Real-Time Clock 18 reads data with ACK or NACK as applicable, and generates a STOP condition. See Figure 6 for a read example using the repeated START condition to specify the starting memory location. Reading_ Multiple_ Bytes_ from_ a_ Slave: The read operation can be used to read multiple bytes with a single transfer. When reading bytes from the slave, the master simply ACKs the data byte if it desires to read another byte before terminating the transaction. After the master reads the last byte it must NACK to indicate the end of the transfer and then it generates a STOP condition. Applications Information Power-Supply Decoupling To achieve the best results when using the DS3231M, decouple the VCC and/or VBAT power supplies with 0.1FF and/or 1.0FF capacitors. Use a high-quality, ceramic, surface-mount capacitor if possible. Surface- mount components minimize lead inductance, which improves performance, and ceramic capacitors tend to have adequate high-frequency response for decoupling applications. If communications during battery operation are not required, the VBAT decoupling capacitor can be omitted. Using Open-Drain Outputs The 32KHZ and INT/SQW outputs are open drain and therefore require external pullup resistors to realize logic- high output levels. Pullup resistor values between 1kI and 10MI are typical. The RST output is also open drain, but is provided with an internal 50kI pullup resistor (RPU) to VCC. External pullup resistors should not be added. SDA and SCL Pullup Resistors SDA is an open-drain output and requires an external pullup resistor to realize a logic-high level. Because the device does not use clock cycle stretching, a master using either an open-drain output with a pullup resistor or CMOS output driver (push-pull) could be used for SCL. Battery Charge Protection The device contains Maxim’s redundant battery-charge protection circuit to prevent any charging of the external battery. Figure 9. I2C Transactions SLAVE ADDRESS START START 1 1 0 1 0 0 0 SLAVE ACK SLAVE ACK SLAVE ACK R/W MSB LSB MSB LSB MSB LSB b7 b6 b5 b4 b3 b2 b1 b0 READ/ WRITE REGISTER ADDRESS b7 b6 b5 b4 b3 b2 b1 b0 DATA STOP SINGLE BYTE WRITE -WRITE CONTROL REGISTER TO 44h MULTIBYTE WRITE -WRITE DATE REGISTER TO "02" AND MONTH REGISTER TO "11" SINGLE BYTE READ -READ CONTROL REGISTER MULTIBYTE READ -READ ALARM 2 HOURS AND DATE VALUES START REPEATED START D1h MASTER NACK STOP 1 1 0 1 0 0 0 0 0 0 0 0 1 1 1 0 0Eh 1 1 0 1 0 0 0 1 1 1 0 1 0 0 0 0 0 0 0 0 1 1 1 0 D0h 0Eh STOP VALUE START 1 1 0 1 0 0 0 0 0 0 0 0 0 1 0 0 D0h 04h DATA MASTER NACK STOP VALUE DATA 02h 44h EXAMPLE I2C TRANSACTIONS TYPICAL I2C WRITE TRANSACTION 0 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 D0h A) C) B) D) SLAVE ACK SLAVE ACK SLAVE ACK SLAVE ACK SLAVE ACK SLAVE ACK SLAVE ACK REPEATED START D1h MASTER ACK 1 1 0 1 0 0 0 1 VALUE DATA SLAVE ACK SLAVE ACK SLAVE ACK START 1 1 0 1 0 0 0 0 0 0 0 0 1 1 0 0 D0h 0Ch SLAVE ACK SLAVE ACK STOP 11h 0 0 0 1 0 0 0 1 SLAVE ACK |
|
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |