I read the datasheet, and each time i got confused from where to start.
Finaly developed a program using the 89C2051 controller that will first pass on the Manufacturing Access to update the RM, calibrate the VFC and then stop VFC calibration.
After this i would configure the device, setting all the threshold values which are requied. Then i would just read the battery status by giving different command and based on the value received perform the other operation.
First, I would like to know that, Is my above flow of the code is correct?
Also the datsheet tells to store the different value of the threshold at particular address in EEPROM. But how to pass on the External EEPROM address to the bq2060 for reading the value?? here i have connected ST29C04 having address 0xa0