Other Parts Discussed in Thread:RM44L520
TI各位好,我想问下,现在项目中要使用ADC的自检功能,该怎样使用。
Susan Yang:
我在TI网站内没有找到您给出的芯片型号,请您先确认一下,谢谢
,
user5245154:
不好意思,是RM44L520
,
Susan Yang:
在用户指南的 20.8.2 ADC Self-Test Mode中,您可以看到具体的内容
Self-test mode is enabled by setting the SELF_TEST bit (ADCALCR.24). Any conversion type (continuous or single conversion, freeze enabled or non-freeze enabled, interrupts enabled or disabled) can be performed in this mode.
In normal mode, setting the self-test mode while a conversion sequence is in process can corrupt the current channel conversion results. However, the next channel in the sequence is converted correctly during the additional self-test cycle.
请您先看一下,若是还有具体问题,您可以继续跟帖
,
user5245154:
SafeTI Diagnostic Library里面是不是有函数接口可以调用来自检
,
Susan Yang:
您可以看一下 SL_SelfTest_ADC