| Electronic Components Datasheet Search |
|
BQ26221 Datasheet(PDF) 17 Page - Texas Instruments |
|
|
|
|||||||||||||||||||||||||||||
BQ26221 Datasheet(HTML) 17 Page - Texas Instruments |
|
17 / 20 page ![]() bq26221 SLUS607 − MAY 2004 17 www.ti.com APPLICATION INFORMATION clear register (CLR) The bits in the CLR register (address 0x63) clear the DCR, CCR, SCR, DTC, and CTC registers, reset the bq26221 by forcing a power-on-reset and setting the state of the STAT pin as described in Table 11. Table 11. CLR Register CLR BITS 7 (MSB) 6 5 4 3 2 1 0 (LSB) RSVD RSVD RSVD CTC DTC SCR CCR DCR Table 12. CLR Register Definitions RSVD RSVD bits (bits 5, 6 and 7) are reserved for future use and should be written to 0 by the host. CTC CTC bit (bit 4) clears the CTCH and CTCL registers and the STC bit. A 1 clears the corresponding registers and bit. After the registers are cleared, the CTC bit is cleared. This bit is cleared on power-on-reset. DTC DTC bit (bit 3) clears the DTCH and DTCL registers and the STD bit. A 1 clears the corresponding registers and bit. After the registers are cleared, the DTC bit is cleared. This bit is cleared on power-on-reset. SCR SCR bit (bit 2) clears both the SCRH and SCRL registers. Writing a 1 to this bit clears the SCRH and SCRL register. After these registers are cleared, the SCR bit is cleared. This bit is cleared on power-on-reset. CCR CCR bit (bit 1) clears both the CCRH and CCRL registers. Writing a 1 to this bit clears the CCRH and CCRL registers. After these registers are cleared, the CCR bit is cleared. This bit is cleared on power-on-reset. DCR DCR bit (bit 0) clears both the DCRH and DCRL registers. Writing a 1 to this bit clears the DCRH and DCRL registers. After these registers are cleared, the DCR bit is cleared. This bit is cleared on power-on-reset. flash command register (FCMD) The FCMD register (address 0x62) is the flash command register and programs a single flash byte-location, perform flash page erase, transfer RAM to flash and flash to RAM, enter sleep mode, and power-down. These functions are performed by writing the desired command code to the FCMD register. After the bq26221 has finished executing the issued command, the flash command register is cleared. Table 13. FCMD Register Definitions 0x0F Program byte command code. This code ANDs the contents of the FPD register with the contents of flash byte location pointed to by the contents of the FPA register. 0x40 Erase page 0 command code. This code erases all the bytes of flash from address 0x00 to 0x1F. 0x41 Erase page 1 command code. This code erases all the bytes of flash from address 0x20 to 0x3F. 0x42 Erase page 2 command code. This code erases all the bytes of flash from address 0x40 to 0x5F. 0x45 RAM-to-flash transfer code. This code programs the contents of the RAM into Page 0 flash, addresses 0x00 though 0x1F. 0x48 Flash-to-RAM transfer code. This code copies the contents of the page 0 flash into RAM. 0xF6 Power-down code. This code places the bq26221 into the sleep mode when the conditions are met as indicated by the WOE bits in the MODE/WOE register. The part remains in sleep mode until a high-to-low or low-to-high transition occurs on the HDQ pin. |
|
|
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 |