Hi,
I am a bit confused regarding the type of internal memory in the BQ27421.
The datasheet refers to non-volatile memory (OTP) and volatile memory (RAM).
The technical reference manual refers to non-volatile memory ROM and volatile memory (RAM).
The technical reference manual also states that most of the data memory is in RAM but some are located in ROM.
1. Is the OTP (one time programmable) memory the same as the ROM?
2. Refer to the paragraph below from the datasheet.
a) If I send a reset sub-command (0x0041) to the device do all the data memory revert back to default values as defined in the datasheet?
b) If the battery voltage is disconnected from the BAT pin do all the data memory revert back to default values as defined in the datasheet?
From the datasheet section 10.2.1 "Design Requirements":
As shipped from the Texas Instruments factory, many bq27421-G1 parameters in OTP NVM are left in the
unprogrammed state (zero) while some parameters directly associated with the CHEMID are preprogrammed.
This partially programmed configuration facilitates customization for each end application. Upon device reset, the
contents of OTP are copied to associated volatile RAM-based Data Memory blocks. For proper operation, all
parameters in RAM-based Data Memory require initialization — either by updating Data Memory parameters in a
lab/evaluation situation or by programming the OTP for customer production. Chapter 6 in the bq27421-G1
Technical Reference Manual (SLUUAC5) shows the default value that is present.