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.

[参考译文] MSP432P401R:电池监控器的示例代码?

Guru**** 2553260 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/593270/msp432p401r-example-code-for-battery-monitor

器件型号:MSP432P401R

您好!

我将 MSP432用于开发项目。

我想使用使用使用 ADC14通道23的 MSP432电池监控器。  但是、我在驱动程序库中看不到对该功能的支持、也看不到如何使用该功能的示例。 我尝试了几件事、但没有成功。

 

您能否向我发送有关如何使用 MSP432电池监控器的代码示例?

谢谢、

David

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    David、
    您是否曾尝试在 Resource Explorer 的示例中添加/修改以下调用?

    MAP_ADC14_initModule (ADC_CLOCKSOURCE_MCLK、ADC_PREDIVIDER_1、ADC_DIVIDER_1、
    ADC_BATTMAP);

    MAP_ADC14_configureConversionMemory (ADC_MEM0、ADC_VREFPS_AVCC_VREFNEG_VSS、
    ADC_INPUT_A23、false);

    dev.ti.com/.../group__adc14__api.html

    如果您已经尝试过、请告诉我、我明天应该能够提供完整的示例。

    谢谢、
    Chris