| Electronic Components Datasheet Search |
|
DS2786 Datasheet(PDF) 19 Page - Maxim Integrated Products |
|
|
|||||||||||||||||||||||||||||
DS2786 Datasheet(HTML) 19 Page - Maxim Integrated Products |
|
19 / 22 page ![]() DS2786 Stand-Alone OCV-Based Fuel Gauge 19 of 22 Bus Idle The bus is defined to be idle, or not busy, when no master device has control. Both SDA and SCL remain high when the bus is idle. The STOP condition is the proper method to return the bus to the idle state. START and STOP Conditions The master initiates transactions with a START condition (S), by forcing a high-to-low transition on SDA while SCL is high. The master terminates a transaction with a STOP condition (P), a low-to-high transition on SDA while SCL is high. A Repeated START condition (Sr) can be used in place of a STOP then START sequence to terminate one transaction and begin another without returning the bus to the idle state. In multimaster systems, a Repeated START allows the master to retain control of the bus. The START and STOP conditions are the only bus activities in which the SDA transitions when SCL is high. Acknowledge Bits Each byte of a data transfer is acknowledged with an Acknowledge bit (A) or a No Acknowledge bit (N). Both the master and the DS2786 slave generate acknowledge bits. To generate an Acknowledge, the receiving device must pull SDA low before the rising edge of the acknowledge-related clock pulse (ninth pulse) and keep it low until SCL returns low. To generate a No Acknowledge (also called NAK), the receiver releases SDA before the rising edge of the acknowledge-related clock pulse and leaves SDA high until SCL returns low. Monitoring the acknowledge bits allows for detection of unsuccessful data transfers. An unsuccessful data transfer can occur if a receiving device is busy or if a system fault has occurred. In the event of an unsuccessful data transfer, the bus master should re- attempt communication. Data Order A byte of data consists of 8 bits ordered most significant bit (MSB) first. The least significant bit (LSB) of each byte is followed by the Acknowledge bit. DS2786 registers composed of multibyte values are ordered most significant byte (MSB) first. The MSB of multibyte registers is stored on even data memory addresses. Slave Address A bus master initiates communication with a slave device by issuing a START condition followed by a Slave Address (Saddr) and the read/write (R/ W) bit. When the bus is idle, the DS2786 continuously monitors for a START condition followed by its slave address. When the DS2786 receives a slave address that matches its Slave Address, it responds with an Acknowledge bit during the clock period following the R/ W bit. The factory default 7-bit Slave Address is 0110110. The upper 3 bits are fixed at 011, the lower 4 bits can be changed by writing the I 2C Address Configuration Register at location 7Dh. Figure 24. I 2C Address Configuration Register Format ADDRESS 7Dh BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 ADDR3 ADDR2 ADDR1 ADDR0 X X X X Bits 7 to 4: ADDR[3:0] —User-adjustable bits of the DS2786’s I 2C address. Factory default is 0110. Bits 3 to 0: X —Reserved. Figure 25. DS2786 I 2C Address Byte Format BIT 7 BIT 6 BIT 5 BIT 4 BIT 3 BIT 2 BIT 1 BIT 0 0 1 1 ADDR3 ADDR2 ADDR1 ADDR0 R/ W |
|
|
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 |