The OP
Published on 2022-7-22 12:10
Only look at the author
This post is from MCU
Latest reply | ||
|
||
wangerxian
Currently offline
|
2
Published on 2022-7-22 15:28
Only look at the author
This post is from MCU
Comments
I don't have much idea, that is, when starting the first PWM, start the timer, and start the second PWM in the timer interrupt. My problem is that I need three timers. The timer in my board also has a pulse capture function, which also requires 2 timers, so I want to ask if PWM with the same period is possible.
Details
Published on 2022-7-23 08:57
| |
|
||
|
3
Published on 2022-7-22 16:08
Only look at the author
This post is from MCU
| ||
|
||
|
秦天qintian0303
Currently offline
|
|
|
|
|
This post is from MCU
Comments
There is another way, which is to use a timer to generate the interrupt with the maximum resolution of the desired PWM, and then both PWMs are controlled in the timer interrupt. However, there are disadvantages, that is, the accuracy will be poor, and sometimes the interrupt priority will be preempted by other interrupts.
Details
Published on 2022-7-24 10:19
| ||
|
||
|
wangerxian
Currently offline
|
6
Published on 2022-7-24 10:19
Only look at the author
This post is from MCU
| |
|
||
|
7
Published on 2022-7-24 16:18
Only look at the author
| |
|
|
|
This post is from MCU
| ||
|
||
|
9
Published on 2022-7-28 08:41
Only look at the author
This post is from MCU
| ||
|
||
|
10
Published on 2022-7-29 15:43
Only look at the author
| |
|
|
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190