我现在用到的是TI的MSP430f5418这款芯片做开发,想利用里面的PMM电源管理模块实现电路板电池电压的监测功能;比如:我设定一个阈值电压为3.0V,当电池电压低于3.0V时;主机报警电池欠压? msp430f247是可以实现此项功能的
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.
我现在用到的是TI的MSP430f5418这款芯片做开发,想利用里面的PMM电源管理模块实现电路板电池电压的监测功能;比如:我设定一个阈值电压为3.0V,当电池电压低于3.0V时;主机报警电池欠压? msp430f247是可以实现此项功能的
zhengqiang deng,
你检测的直接是给MSP430F5418供电的电压Dvcc, 对应的是检测高边电压;如果检测Vcore,则是监测低边电压。具体可以参考User‘s Guide "Power Management Module (PMM) Introduction" 的介绍,
The high-side supervisor and monitor (SVSH and SVMH) oversee DVCC, and the low-side supervisor and monitor (SVSL and SVML) oversee VCORE.
High side 检测,具体检测又分为SVSH,SVMH,二者区别是
High-Side Supervisor, SVSH - Device reset because of low battery or supply voltage
High-Side Monitor, SVMH- Detection of low battery voltage (Pre-warning)
按照你的要求,可能报警的话, SVMH更合适。但是你的电压设置不合适, 3.6V是MCU允许输入的最大电压,作为报警的threshold 并不合适。
关于SVMH,具体控制机制如下:
If DVCC falls below the SVMH level, SVMHIFG (SVMH interrupt flag) is set. If DVCC remains below the SVMH
level and software attempts to clear SVMHIFG, it is immediately set again by hardware. If the SVMHIE
(SVMH interrupt enable) bit is set when SVMHIFG gets set, an interrupt is generated. If a POR is desired
when SVMHIFG is set, the SVMH can be configured to do so by setting the SVMHVLRPE (SVMH voltage
level reached POR enable) bit while SVMHOVPE bit is cleared.
Alternatively the SVMH module can be used for overvoltage detection, but only with the highest core
voltage setting (PMMCOREV = 11b), . This is accomplished by setting the SVMHOVPE (SVMH
overvoltage POR enable) bit in addition to setting SVMHVLRPE. Under these conditions, if a rising DVCC
exceeds safe device operation, a POR is generated.