Tool/software:
I am using the MSP430FR6043 for a water meter application.
Please tell me how to output Vref from pin number 4 (Table 7-1). I have set P1EL1.x and P1SEL0.x according to Table 9-25, but PIN4 and PIN5 remain low.
Tool/software:
I am using the MSP430FR6043 for a water meter application.
Please tell me how to output Vref from pin number 4 (Table 7-1). I have set P1EL1.x and P1SEL0.x according to Table 9-25, but PIN4 and PIN5 remain low.
Hi,
You'll need to modify the REFOUT of REFCTL0 registers. I recommend reviewing the Ref_A_enableReferenceVoltageOutput() function in the MSP430 Driverlib API Guide, which I'll share below (you can find the register code inside the function definition in the SDK). Also, I recommend reading the REF_A chapter in the device's Userguide.
Best Regards,
Diego Abad
**Attention** This is a public forum