Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: For COMP_E, is it possible to output CEVREF to C1 pin?

$
0
0
Hi all, I am thinking of a crazy idea to monitor battery voltage through the COMP_E module in MSP430FR6972 . One of the steps is to output CEVREF to a capacitor connected with pin C1. The capacitor is used to hold the voltage of VCC through resistor ladder i.e. CEVREF. Here is my testing code. P1SEL0 |= BIT1; P1SEL1 |= BIT1; CECTL0 = CEIPSEL_1|CEIPEN; // C1 is selected to V+ terminal CECTL1 = CEON|CEPWRMD_0|CEFDLY_1; CECTL2 = CEREFL_1|CERS_0|CERSEL|CEREF1_16|CEREF0_16|CERS_1|CESHORT; Well, my problem is I can't get a valid voltage on C1. According to the below diagram, it should be possible, right?

Viewing all articles
Browse latest Browse all 62309

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>