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.
工具与软件:
我将 MSP430FR6043用于水表应用。
请告诉我如何从引脚4输出 Vref (表7-1)。 我已根据表9-25设置 P1EL1.x 和 P1SEL0.x、但 PIN4和 PIN5保持低电平。
您好!
您需要修改 REFCTL0寄存器的 REFOUT。 我建议查看 MSP430 Driverlib API 指南中的 Ref_A_enableReferenceVoltageOutput ()函数、我将在下面分享该函数(您可以在 SDK 的函数定义中找到寄存器代码)。 此外、我建议阅读 器件 用户指南中的 REF_A 一章。
此致、
Diego Abad