| Electronic Components Datasheet Search |
|
PS700 Datasheet(PDF) 14 Page - Microchip Technology |
|
|
|||||||||||||||||||||||||||||
PS700 Datasheet(HTML) 14 Page - Microchip Technology |
|
14 / 38 page ![]() PS700 DS21760F-page 14 2004 Microchip Technology Inc. 4.0 MEMORY/OPERATIONAL REGISTER DESCRIPTION 4.1 Memory/Register Map The PS700 internal structure is accessible on a strict memory mapped basis. The only action directly taken by the PS700 in response to an SMBus command is to read or write registers, RAM or EEPROM. Any actions taken by PS700 happen as a result of values written to internal control registers. Addressing in PS700 consists of 10 bits plus two bank select bits. Therefore, there are a total of 4 Kbyte loca- tions that are addressable within the PS700, organized as 4 banks of 1024 locations each. Bank 0 is dedicated to EEPROM, Bank 1 contains RAM/Registers, Bank 2 contains Test registers and Bank 3 is reserved. Table 4-1 describes the PS700 memory map. The notation is y:0xzzz, where ‘y’ is the bank and ‘zzz’ is the address in hex. 4.2 EEPROM The 512-byte EEPROM is located in Bank 0 and occupies addresses 0:0x000 to 0:0x1FF. All critical PS700 parameters, calibration factors and learned data are stored in the PS700 integrated EEPROM. See Table 4-2 for the PS700 EEPROM map. The EEPROM can be read using Byte or Block Transfer modes, but can only be written a byte at a time. Writing the EEPROM takes approximately 4 ms/byte. An EEPROM write cycle command from the SMBus is immediately Acknowledged by the PS700 if no other EEPROM write cycles are in progress. If a EEPROM write cycle is attempted while a previous request to write is in progress, a negative Acknowledge will be returned until the previous write cycle is completed. A EEPROM read cycle also results in a negative Acknowledge or an Acknowledge depending on whether or not a EEPROM write cycle is in progress The data EEPROM does not write reliably at tempera- tures less than 0°C and supply voltages less than 3.3V. A read or write to a register or RAM location will not be affected by an EEPROM write cycle in progress. 4.3 General Purpose RAM 32 bytes of general purpose RAM are provided as tem- porary storage and are located in Bank 1 at 1:0x000 through 1:0x01F. The RAM may be read or written using either the Byte or Block Transfer modes. 4.4 Operational Registers The following is a detailed description of all operational registers within the PS700 and all control, status, result bits and fields that are contained therein. 4.4.1 DCA – DISCHARGE COUNT ACCUMULATOR The DCA is a 32-bit register that holds the total accumulated capacity discharged from the battery. Each time a conversion is performed with the sign bit of Ires = 1 and current accumulation is enabled, the measured value is added to DCA. As a result, the register is updated whenever a current measurement is performed with a negative voltage across the sense resistor (VSR < GND). The DCA register will rollover if it is allowed be updated beyond 0xFFFFFFFF, so proper register maintenance by the host system is necessary. The DCA register may be cleared using the ACCclr register bit, CLR0, described in Register 4-6. 4.4.2 DTC – DISCHARGE TIME COUNT REGISTER The DTC records the length of accumulated time that the battery is in a discharge condition as indicated by a negative voltage on the SR pin. This register is incremented using a 2 Hz internal clock rate; therefore, the DTC is incremented at the rate of 2 counts per second or 7200 counts per hour so long as current accumulation is enabled and the Ires register returns a ‘1’ in the sign bit following a current conversion. The DTC register will rollover if it is allowed to count beyond 0xFFFFFFFF; therefore, proper register main- tenance by the host system is necessary. The DTC reg- ister may be cleared using the ACCclr register bit, CLR1, described in Register 4-6. 4.4.3 CCA – CHARGE COUNT ACCUMULATOR The CCA is a 32-bit register that holds the total accu- mulated current delivered as charge into the battery. Each time a current conversion is performed with the sign bit of Ires = 0 and current accumulation is enabled, the measured value is added to CCA. As a result, the register is updated whenever a current measurement is performed with a positive voltage across the sense resistor (VSR > GND). The CCA register will rollover if it is allowed to be updated beyond 0xFFFFFFFF; therefore, proper regis- ter maintenance by the host system is necessary. The CCA register may be cleared using the ACCclr register bit, CLR2, described below. |
|
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 |