Robots are revolutionizing our lives in many ways. Join our webinar to learn about Infineon’s broad portfolio of robot building blocks.
Click here to register.

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

AURIX™ Forum Discussions

Level 1
Level 1
First question asked Welcome!

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.