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.

FR5739 ADC Code Example 问题

请问,MSP430FR57xx_adc10_02 和 MSP430FR57xx_adc10_06中均选择了internal reference voltage 1.5V, 在设置相关寄存器时,两个文件分别有以下语句:

__delay_cycles(400);                       // Delay  for Ref to settle      --> MSP430FR57xx_adc10_02

__delay_cycles(75);                       // Delay (~75us) for Ref to settle       --> MSP430FR57xx_adc10_06

可是我查了datasheet,上面讲到一个Tsettle = 30 us.请问以上两句代码为什么不同?这个延迟时间改如何确定?

  • 你好!

    不同在于延时的时间长短,主要目的是保证内部REF工作已经稳定,其建立时间典型值是大于30us,所以在允许的情况下多等一段时间是可以的。