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.
Hi,
I tried to update flash design capacity, design voltage parameters of respective subclass 48 as said in bq27742 technical datasheet. But, when I want to update only these too, I'm seeing that remaining values also getting changed. Here is my sample code, I'm working on. How to change only those values I want to change. Any help is appreciated.
uint8_t block[32];
//Update Design Voltage
block[0] = (uint8_t)( designVoltage >> 8 );
block[1] = (uint8_t)( designVoltage & 0x00FF );
// Update design capacity
block[12] = (uint8_t)( designCapacity_mAh >> 8 );
block[13] = (uint8_t)( designCapacity_mAh & 0x00FF );
// Write data bytes:
for (i = 0; i < 32; i++)
{
// Write to offset, mod 32 if offset is greater than 32
// The blockDataOffset above sets the 32-bit block
writeBlockData((0 % 32)+i , block[i]);
}
Thanks u in advance,
Kavya.
Hello Kavya,
This is a duplicate post, I am closing this and responding on the other: (+) BQ27742EVM: BQ27742-G1 - Power management forum - Power management - TI E2E support forums
Sincerely,
Wyatt Keller
Hi Wyatt,
Thank you for closing duplicate one. But, the above link u provided doesn't have any response to see. Can you please provide answer.
Thanks in advance,
Kanya.
Hello Kavya,
I was writing the response at the time, I am closing and locking this thread.
Sincerely,
Wyatt Keller