主题中讨论的其他器件:C2000WARE
模拟引脚与 AdcA 和 ADCC 复用。
如何为特定引脚选择引脚、比如为 AdcA 选择引脚?
对于 GPIO、有一种方法可以在特定引脚上选择所需的功能、因此与模拟引脚类似。
此致
Orion
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.
模拟引脚与 AdcA 和 ADCC 复用。
如何为特定引脚选择引脚、比如为 AdcA 选择引脚?
对于 GPIO、有一种方法可以在特定引脚上选择所需的功能、因此与模拟引脚类似。
此致
Orion
您好 Orion、
TRM (https://www.ti.com/lit/ug/spruin7a/spruin7a.pdf)的"SOC 工作原理"部分介绍了如何选择和定序通道。
数据表(https://www.ti.com/lit/ds/symlink/tms320f280025.pdf)或 TRM 中的"模拟引脚和内部连接"表总结了连接到哪些通道的引脚。
adc.h 中的 c2000ware 中的 driverlib 函数"adc_setupSOC"位于\ti\c2000Ware_3_04_00_00\driverlib\f28002x\driverlib\中、用于配置 SOC 以选择通道(以及触发源和 S+H 持续时间)。 请注意、您可以在 c2000ware 中找到 driverlib 文档 、网址为 :/ti/c2000/C2000Ware_3_04_00_00/device_support/f28002x/docs/html/index.html.
您可能还需要查看目录 \ti\c2000Ware_3_04_00_00\driverlib\f28002x\examples\adc 中 c2000ware 中的各种 ADC 示例
最后、C2000专题讨论会是基础操作方法知识的重要来源: https://training.ti.com/c2000-mcu-device-workshops