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.

[参考译文] CCS/TM4C123GE6PM:在 TM4C123G6PM 中对生成的信号进行采样

Guru**** 2606725 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/752389/ccs-tm4c123ge6pm-sampling-a-generated-signal-in-tm4c123g6pm

器件型号:TM4C123GE6PM
主题中讨论的其他器件:TM4C123

工具/软件:Code Composer Studio

大家好、我是嵌入式系统领域的新手、目前我正在使用 TM123G6PM。

根据我的学院分配、我打算做两件事。

1) 1)使用计时器/PWM 生成200kHz 的脉冲序列、其开关周期为400ms

2)使用生成的信号并在过采样条件(采样率约为600kHz)下使用 ADC 对其进行采样。 然后将转换后的值存储在数组中并绘制该数组的图形。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!
    TivaWare 库包含可供参考的示例。 中有一个 PWM.c 示例 /examples/peripherals/timer/pwm.c、您可以在其中配置周期和占空比以生成 PWM 信号。 对于 ADC、请转至 /examples/peripherals/adc/single_ended.c 示例。 另请参阅 TivaWare 外设驱动程序库用户指南、了解如何使用 TivaWare API。 请注意、TM4C123的默认采样率为1Msps。
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    谢谢!!!