Other Parts Discussed in Thread: BQ40Z50, BQSTUDIO
I am attempting to write to the BQ40z50 data flash (0x4000 - 0x5FFF) and have not been successful. I've confirmed that the device is in "full access" mode by examining bits 8-9 of the OperationStatus() register, and also confirmed that a "permanent failure" has not occurred related to the data flash by examining the PFStatus() register (as 0x0000 is returned).
To write the data flash, I am sending the following I2C string: 0x44, 0x06, 0x00, 0x40, 0x01, 0x02, 0x03, 0x04
It is important to note that a PEC byte is not included. I ave been successful in reading the data flash block starting at location 0x4000: The 32-byte data block read matches the default values found in the TRM.
Can you advise?