STM32F051 ADC 配置为DAM 采集 ADIN0~ADIN3, 4通道。
ADIN1输入为0 实测单片机管脚也为0,但是AD出来不正常,
采集结果,串口上传如下:
----AD ch1~ch4 ----
CH0 value = 1.532601 V
CH1 value = 1.458608 V
CH2 value = 0.650549 V
CH3 value = 1.468132 V
CH0 value = 1.531868 V
CH1 value = 1.457143 V
CH2 value = 0.650549 V
CH3 value = 1.468132 V
CH0 value = 1.532601 V
CH1 value = 1.458608 V
CH2 value = 0.649817 V
CH3 value = 1.469597 V
CH0 value = 1.532601 V
CH1 value = 1.457143 V
CH2 value = 0.649817 V
CH3 value = 1.468132 V
|