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.
我们使用COMP_B模块实现电池电量告警功能。电池电压通过分压输入msp430的CB0引脚,通过配置COMP_B模块,使其电压在低于配置的参考电压时告警。我这里有几个问题:
1)文档上没有说明CBREF0和CBREF1的设置方法,其内部电阻网络有几档?这两个寄存器如何设置?
2)当我使能内部电阻网络(resistor ladder)时,我的外部分压值发生改变,好像有内阻串联到我的分压电路中。这是为什么?
MSP430x5xx/MSP430x6xx Family User's Guide 第669也开始就是专门介绍Comp_B模块的。
下图是说明其比较器参考电平的选择的结构图,具体还要在寄存器里面设置。