Hi SIr / Madam ,
This is vengad here from Avnet , one of my customer has completed the BQ27510 Fuel gauge proto board for Medical applcaition .They need to do command line approach to program the fuel guage. While trying the programming as per the apps note , they are not able to come out of ROM mode in the end . They used below sequences to Enter ROM mode and exit from ROM mode in single program.
//Write sequence for ROM mode Entry
msg->i2cspladdr = 0x55; // Device Address
msg->cmdreg = 0x00; // Device register address (0x00 and 0x01)
msg->datalen = 2;
msg->data[0] = 0x00;
msg->data[1] = 0x0F;
Delay 1000ms
//Write sequence for ROM Mode Exit
msg->i2cspladdr = 0x0B; // Device Address
msg->cmdreg = 0x00; // Device register address
msg->datalen = 1;
msg->data[0] = 0x0F;
msg->i2cspladdr = 0x0B; // Device Address
msg->cmdreg = 0x64; // Device register address (0x64 and 0x65)
msg->datalen = 2;
msg->data[0] = 0x0F;
msg->data[1] = 0x00;
Delay 4000ms
Aftter ROM Mode exit sequence, the device is not come out from the ROM mode (the device address is still 0x0B), Can you please help with any support to come out from this issue?
Regards.
Vengad