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.
从pin map上看, 有20个ADC引脚 分别是A0~A5 B0~B3 C2 C3 C4 D0~D4 ADCIN14 ADCIN15 这样总共20个引脚,如下图
而手册上说明又只有16个通道, 如下图, 那请问这16个通道怎么与20个引脚对应起来?
ADC的外部引脚看datasheet第109页的表格最清楚,表上的几个引脚都是外部引脚名。
而ADCINx(x:0~13)其实对应的是索引到ADC四个模块的通道,具体怎么对应的可以看datasheet第97页开始的各个封装对应的Analog Subsystem Block Diagram,而ADCIN14,15可以索引到任一ADC模块。
不知道这么解释能否理解?
其实也不用去理解ADCINx的意思,因为配置的时候一般也是只需要选择ADC模块(ABCD)和模块对应的通道(0~5)。
你可以参考一下例程:C:\ti\c2000\C2000Ware_4_01_00_00\device_support\f2837xd\examples\cpu1
还有芯片TRM也有很多配置ADC的例子,第1562页,11.6 SOC Configuration Examples