Feb 28, 2023
10:29 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 28, 2023
10:29 PM
I would like to detect a ZCD signal. For this i want my TIM to start a counter which counts ticks at the same time i start my primary side ATOM channel. The TIM shall detect the ZCD which shall stop the counter and resets again when the ATOM starts. This helps in getting the delay between the primary side fet's switching ON and the ZCD getting detected.
This counter ticks value is my phase shift for the secondary FET's.
I would like to know is there a way to achieve this:
1) TIM starts/resets on every ATOM new period
2) Making the counter count ticks and stops when there is an external input like rising edge
0 Replies
This widget could not be displayed.