Is there a way to detect a dead time of 300us using "only" a timer?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-10 7:58 AM
Hi,
is here a way to toggle a GPIO pin if a timer detects a 300us dead time in a continous/clock signal?
If so, how? I would like to use a timer only, so no "individual" coding, just CubeMX configuration.
Labels:
- Labels:
-
GPIO-EXTI
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-10 8:22 AM
Route your signal to timer TIMx_ETR pin. Configure timer to combined reset + trigger and one-pulse modes. Configure an output compare channel to toggle (or maybe PWM 2) mode and set it to the desired dead-time.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-02-11 12:35 AM
Hey, thanks a lot! I will try that!
