This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

BQ34Z100-G1: Writing on flash

Part Number: BQ34Z100-G1

Hi,

I'm using the BQ34Z100-G1 in a project and I want to use the internal temperature sensor and to do this I have to change the value of the "TEMPS"  bit on the Pack configuration register, but the explanation on how to write to the flash memory isn't quite clear to me. Besides some mistakes regarding the example involving the Terminate voltage which I have already found something about here in the fórum, there is three other questions:

1. On page 26 of the datasheet it is said the default value is 0x161, but it appears to me that it doesn't match the individual description of these bits on pages 34/35: bit 7 of the lower byte is 0 considering the default value is 0x161 and 1 in the individual description of the bits. I don't think it has any influence on my current issue with the internal temperature sensor, but it's confusing me anyway;

2. Another thing that made confused in the Terminate Voltage example: how can it be out of the first 32-byte block, if 0x50 is in the range between 0x40...0x5F? I can only assume that I got it wrong;

3.And the last and most importante question: reading the example on page 21, I understood that the value that is intended to be written in the flash memory is in the command BlockData(). However, I assume I got it wrong too, because I can't understand how to do it using the expected values in the range 0x55...0x5F mentioned on page 19, neither where the value 0x4B came from on the example on pages 21/22. In other words, I couldn't understand at all the part of the process where the value that is being effectively written is specified. Also, what changes if I want to write in the lower byte of the Pck configuration register (0x41)?