TI中文支持网
TI专业的中文技术问题搜集分享网站

MSPM0G3507: sysconfig 影子寄存器配置

Part Number:MSPM0G3507

今天使用syscfg配置PWM,版本是1.21.1,,,因为需要使用到捕获比较寄存器的影子寄存器,居然发出错误警告:Shadow Capture Compare mode is only supported on on Timer A instances and Timer G6-G7 instances. Please select a Timer instance from PinMux if available.

实在搞不懂,尝试了使用不同的计数器型号,都是会发出错误警告

Channel Update Mode 就是这这个参数里设置,当定时器到达0或者重载时候,我选择的是:Capture Compare value has effect one TIMCLK cycle after timer counter reaches Capture Compare value in up counting mode

就发出错误警告,

如果选择这个 Capture Compare value has immediate effect

就不会出现错误

查看了规格书和参考手册,某些定时器是具有CC影子寄存器的,在是配置上就是出现错误

Alice:

您好,

     下面帖子也遇到了类似问题。

     MSPM0L1228: shadow load and shadow capture/compare Settings for TIMER-PWM in .syscfg – Arm-based microcontrollers forum – Arm-based microcontrollers – TI E2E support forums

     请直接测试一下这个程序timx_timer_mode_pwm_edge_sleep_shadow

赞(0)
未经允许不得转载:TI中文支持网 » MSPM0G3507: sysconfig 影子寄存器配置
分享到: 更多 (0)