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.

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影子寄存器的,在是配置上就是出现错误