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.

[参考译文] TMS570LS1114:ADC 校准取决于 VCCAD

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

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/581800/tms570ls1114-adc-calibration-depending-on-vccad

器件型号:TMS570LS1114
主题中讨论的其他器件:HALCOGEN

在使用 ADC.c 中的 HalCoGen 提供的函数进行 ADC 校准时、我发现了一些奇怪的行为。

当 VCCAD (和 ADREFHI、连接在一起) 丢失时、校准在等待 CAL_ST 位时挂起。

      /*等待校准转换完成*/
      /*SAFETYMCUSW 28 D MR:NA "硬件状态位读取检查"*/
      while ((ADC->CALCR & 0x00010000U)=0x00010000U)

此外、如果没有 VCCAD、正常转换永远不会完成。

我知道在不 加电的情况下使用 ADC 没有意义、但是否有方法检测 VCCAD?

可以采取哪些措施来防止挂起而不会在外部监控上中继?

此致、

    Kurt。

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

    您可以使用外部监控器来监控电源、也可以使用 GPIO 来检查是否应用了 VCCAD (高电平)或未应用(低电平)。 如果没有 VCCAD 上的电源、ADC 模块将无法工作。 您可以使用超时来防止挂起。

    此致、