TI论坛
直播中

王春美

7年用户 123经验值
私信 关注
[问答]

ZigBee协议栈中AD转换的函数如何配置成自己想要的?

我想使ZigBee协议栈中AD转换的函数,但不知道怎么配置成自己需要的,例如参考电压,有效数字!尤其是,我看到HalAdcRead函数中,好像是几个通道的使用!我只要选择一个通道,具体该怎么用?????

回帖(1)

凌云志

2020-4-29 08:26:30
你要看数据手册,里面讲得很清楚。
12.2.6 ADC Reference Voltage
The positive reference voltage for analog-to-digital conversions is selectable as either an internally
generated voltage, the AVDD5 pin, an external voltage applied to the AIN7 input pin, or a differential
voltage applied to the AIN6–AIN7 inputs.
The accuracy of the conversion results depend on the stability and noise properties of the reference
voltage. Offset from the wanted voltage introduces a gain error in the ADC proportional to the ratio of the
wanted voltage and the actual voltage. Noise on the reference must be lower than quantization noise of
the ADC to ensure the specified SNR is achieved.





                                                                          
举报

更多回帖

发帖
×
20
完善资料,
赚取积分