Hi expert,
My customer has some questions for using bq769x0 to read the SYS_CTRL2 register.
(1) Write data to SYS_CTRL2: 0x10 (slave address), 0x05 (register address), 0x40(data), 0x24 (CRC calculated result by the first three data). Will BQ769x0 use the first three data to generate a CRC to compare with 0x24?
(2) What is the storage address of 0x24 (CRC)?
(3) After that, reading 2 bytes of data in the SYS_CTRL2 register and get 0x40 (data) and 0x85 (should be CRC). How is 0x85 written into BQ769x0?
(4) What is the storage address of 0x85 (CRC) read above?
(5) Why is the read CRC result(0x85) different from 0x24 which is written in (1)?
Can you help answer the above questions? if there is anything that is unclear, please let me know. Thanks.
Best regards