cancel
Showing results for 
Search instead for 
Did you mean: 

PWM sine gen two timers idea

MM..1
Chief II

Hi, req is generate sine wave and manage frequency precisely . My design require range 2Hz to 10Hz with for example step 0,002Hz.

My idea is one PWM timer for sine with same table for exampel 10bit. 

Second linked timer for manage one sample time on PWM and regulate frequency precisely.

How timers on F030 can be linked this way or other idea?

Now my timer PWM is TIM3 and not linked TIM16 manage angle calcs and new CCR on TIM3.

0 REPLIES 0