工具与软件:
尊敬的 TI:
n`t 找到 BQ24773可写 PROCHOT 和 INPUTCURRENT 寄存器。 只能读取此寄存器。

所示的 TVS 二极管误差。


您是否希望使用提供一些写入这些寄存器的建议?
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.
您好、 Christian:
ChargeOption0 (), ChargeOption1 (), ChargeOption2 ()可以 写入它们,并且可以 正确回读。
但 ProchotOption0 ()、 ProchotOption1 ()、ChargeCurrent ()、MaxChargeVoltage () 、MinSystemVoltage ()、InputCurrent ()n`t 不能 写入它们。 n`t、无法 读回正确的信息。
我们 通过 I2C 向它们写入。 代码如下所示:
static int bq2477x_write (struct bq2477x_chip * bq2477x、
unsigned int reg、unsigned int val)
{
return regmap_write (bq2477x->regmap、reg、val);
}
BR
Cayden