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.

BQ27510 can't Unseal

Other Parts Discussed in Thread: BQ27510

Hi all,

I am using BQ27510 fuel guage IC for battery monitoring purpose in my product. Now I am facing one issue related to IC.

I am not able to unseal IC. Please find my code below.

/////////////////////////////////////////////////////////////////
// Seal to Unseal
/////////////////////////////////////////////////////////////////
BM_Write_TwoByte(0x00, 0x1404);
delay_uSec(1000); //changed to 1000

BM_Write_TwoByte(0x00, 0x7236);
delay_uSec(1000); //changed to 1000

/////////////////////////////////////////////////////////////////
// Unseal to Full Access
/////////////////////////////////////////////////////////////////
BM_Write_TwoByte(0x00, 0xFFFF);
delay_uSec(1000); //changed to 1000

BM_Write_TwoByte(0x00, 0xFFFF);
delay_mSec(10); //changed to 10

void BM_Write_TwoByte(unsigned char Command, signed int data)
{
while(ROM_I2CMasterBusy(I2C2_BASE));

ROM_I2CMasterSlaveAddrSet(I2C2_BASE, BATTERY_FUELGUAGE_ADDRESS, false);

ROM_I2CMasterDataPut(I2C2_BASE, Command);
ROM_I2CMasterControl(I2C2_BASE, I2C_MASTER_CMD_BURST_SEND_START);
while(ROM_I2CMasterBusy(I2C2_BASE));

ROM_I2CMasterControl(I2C2_BASE, I2C_MASTER_CMD_BURST_SEND_CONT);
ROM_I2CMasterDataPut(I2C2_BASE, ((data >> 8) & 0xFF));
while(ROM_I2CMasterBusy(I2C2_BASE));

ROM_I2CMasterControl(I2C2_BASE, I2C_MASTER_CMD_BURST_SEND_FINISH);
ROM_I2CMasterDataPut(I2C2_BASE, (data & 0xFF));
while(ROM_I2CMasterBusy(I2C2_BASE));
}

Please help.