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.

BQ76940的CC_CFG的作用是什么?

Other Parts Discussed in Thread: BQ76940

你好

在BQ76940的初始化程序中加入配置CC_CFG=0x19后,初始化好像有问题,

不加的话,CC_READY不会变为1,证明16位adc没有工作,不能读取cc寄存器.

但加了之后读取的数据似乎也不对,是CC_HI和CC_LO0.

 

目前的步骤就是

1 初始化中CC_CFG=0x19

2 然后one shot模式设置 SYS_CTRL2=0x20

3 等待CC_READY变为1时读取CC_HI CC_LO数据

以上第2步骤 CC_CFG=0x19是做什么用的?

请指教了,拜托了!