Tool/software:
Hi TI,
We find BQ24773 can`t write Prochot & inputcurrent register. Only could read this register.
Error as shown below.
Would you like use give some suggest writing these registers?
BR
Cayden
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.
Tool/software:
Hi TI,
We find BQ24773 can`t write Prochot & inputcurrent register. Only could read this register.
Error as shown below.
Would you like use give some suggest writing these registers?
BR
Cayden
Hello Cayden,
Are you having any issue writing to the other registers, Once you write to them are you able to read back the correct information.
I'm not really sure what I'm looking at, Do you have more code screenshots, I'm not sure where you are writing to the registers.
Best Regards,
Christian.
Hi Christian,
ChargeOption0(), ChargeOption1(), ChargeOption2() is ok for write to them and could read back correctly.
But ProchotOption0(), ProchotOption1() ,ChargeCurrent() ,MaxChargeVoltage(), MinSystemVoltage(), InputCurrent() can`t write to them. Meanwhile, can`t read back the correct information.
We write to them by I2C. Code as shown below:
static int bq2477x_write(struct bq2477x_chip *bq2477x,
unsigned int reg, unsigned int val)
{
return regmap_write(bq2477x->regmap, reg, val);
}
BR
Cayden
Hello Cayden,
I don't see any obvious issues with the code, Can you provide the code so I can try to replicate it on the EVM?
Best Regards,
Christian.