公告

大中华汽车电子生态圈社区并入开发者社区- 更多资讯点击此

Tip / 登入 to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Antony
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
想实现电机控制的PWM双更新,目前实现了触发ADC中断,但是不知道怎么去两次更新占空比和周期,有大佬清楚的吗?
0 点赞
6 回复数
harvis
Level 5
Level 5
10 solutions authored First like received First like given
一个周期两次调占空比不好弄(可以用另一个倍频pwm做触发时机,但是两个pwm同步问题不好解决),可以试试pwm周期加倍之后调占空比。
0 点赞
叶轮江畔1
Level 3
Level 3
50 replies posted 25 replies posted 10 replies posted
异步更新SR0 SR1就可以了
0 点赞
Antony
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
能具体说明一下吗?怎么去配置,如何让TOM模块在中点处更新一下CM0和CM1;我现在用的就是异步更新模式,只能在周期的地方触发更新SR0和SR1的值到CM0 CM1
0 点赞
Twin
Level 5
Level 5
5 solutions authored First solution authored First like received
全周期更新SR0和SR1,半周期更新CM0和CM1就可以了
0 点赞
Antony
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
嗯,我后来也是用的这个方法
0 点赞
SHUAI
Level 2
Level 2
10 replies posted 5 replies posted 5 questions asked
您好,请问怎么配置的触发adc呢?
0 点赞