| Electronic Components Datasheet Search |
|
BQ26221 Datasheet(PDF) 14 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
BQ26221 Datasheet(HTML) 14 Page - Texas Instruments |
|
14 / 20 page ![]() bq26221 SLUS607 − MAY 2004 14 www.ti.com APPLICATION INFORMATION The serial communication timing specification and illustration sections give the timings for data and break communication. Communication with the bq26221 always occurs with the least significant bit being transmitted first. Figure 4 shows an example of a communication sequence to read the bq26221 DCRH register. BREAK COMMAND BYTE (Written by Host to bq26221) 0 (LSB) 1 2 3 4 5 6 7 (MSB) CMDR=6Eh (Received by Host From bq26221) 0 (LSB) 2 3 4 5 6 7 (MSB) 1 MSB LSB 01 1 1 0 11 0 MSB LSB 1 0 0 1 0 0 1 0 DATA BYTE (DCRH) = 64h 64h=0 1 1 0 0 1 0 0 6Eh=0 1 1 0 1 1 1 0 Figure 4. bq26221 Communication Sequence command byte The command byte of the bq26221 consists of eight contiguous valid command bits. The command byte contains two fields: W/R Command and address. The W/R bit of the command register determines whether the command is a read or a write command while the address field containing bit AD6−AD0 indicates the address to be read or written. The command byte values are shown in Table 7. Table 7. Command Byte Values COMMAND BYTE 7 6 5 4 3 2 1 0 W/R AD6 AD5 AD4 AD3 AD2 AD1 AD0 Table 8. Command Byte Definitions W/R Indicates whether the command byte is a read or write command. A 1 indicates a write command and that the following eight bits should be written to the register specified by the address field of the command byte, while a 0 indicates that the command is a read. On a read command, the bq26221 outputs the requested register contents specified by the address field portion of the command byte. AD6−AD0 The seven bits labeled AD6−AD0 containing the address portion of the register to be accessed. bq26221 registers register maintenance The host system is responsible for register maintenance. (See Table 4.) To facilitate this maintenance, the bq26221 clear register (CLR) resets the specific counter or register pair to zero. The host system clears a register by writing the corresponding register bit to 1. When the bq26221 completes the reset, the corresponding bit in the CLR register automatically resets to 0, saving the host an extra write/read cycle. Clearing the DTC register clears the STD bit and sets the DTC count rate to the default value of one count per 0.8789 s. Clearing the CTC register clears the STC bit and sets the CTC count rate to the default value of one count per 0.8789 s. |
|
|
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 |