Other Parts Discussed in Thread: TM4C129ENCZAD
您好,
我正在研究一个包含几块板的固定框架。 得益于微控制器 TM4C129ENCZAD,每个人都将通过以太网通信。
也有机会将此微控制器用作 PWM 控制器。 数据表中包含的示例考虑了运动控制,即比我们的应用程序要慢得多。
请帮助我了解 PWM 时钟的最大可能工作频率。
请提前感谢您的参与。
尼斯西姆
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.
Other Parts Discussed in Thread: TM4C129ENCZAD
您好,
我正在研究一个包含几块板的固定框架。 得益于微控制器 TM4C129ENCZAD,每个人都将通过以太网通信。
也有机会将此微控制器用作 PWM 控制器。 数据表中包含的示例考虑了运动控制,即比我们的应用程序要慢得多。
请帮助我了解 PWM 时钟的最大可能工作频率。
请提前感谢您的参与。
尼斯西姆
你好,拉尔夫,
非常感谢您的快速反应。
请允许我利用这一机会并坚持:
从主时钟树形图(数据表第240页)中可以清楚地看到 PWM 时钟输入可以直接连接到系统时钟,但这 并不表示 PWM 可以在最大可能的系统时钟频率上工作。
在“电气特性”的“时钟”部分(第30.9段),1989页上出现了用于特定功能(ADC,USB)的系统时钟限制(规格)表。 请你找到这样的规范(仅仅因为从上下文中扣除的金额 让我无法确定)。
请提前感谢您的参与。
尼斯西姆
Nissim 您好,
我认为数据表中没有关于最大时钟速度的明确声明,因此,我以设备专家的身份发言,我能提供的最佳“证明” 是参考我们的 TiaWare SDK,它提供了配置外围设备所需的所有软件。
下面是 PWM 时钟可以运行的速率的定义,其中包括在系统时钟运行。
此表仅适用于 TM4C129x MCU。
//***************************************************************************** // // Defines that can be passed to the PWMClockSet() API as the ui32Config // parameter, and can be returned by the PWMClockGet() API. // //***************************************************************************** #define PWM_SYSCLK_DIV_1 0x00000000 // PWM clock is system clock #define PWM_SYSCLK_DIV_2 0x00000100 // PWM clock is system clock /2 #define PWM_SYSCLK_DIV_4 0x00000101 // PWM clock is system clock /4 #define PWM_SYSCLK_DIV_8 0x00000102 // PWM clock is system clock /8 #define PWM_SYSCLK_DIV_16 0x00000103 // PWM clock is system clock /16 #define PWM_SYSCLK_DIV_32 0x00000104 // PWM clock is system clock /32 #define PWM_SYSCLK_DIV_64 0x00000105 // PWM clock is system clock /64
此致,
拉尔夫·雅各比