Creating Sinus from DC using RTC and interrups in efr32fg14

LesJones

Joined Jan 8, 2017
3,179
Use a lookup table with entries containing the value for that step in the sine wave. (As an alternative you could do an on the fly calculation for that value.) You could then feed that value to a DAC. Another way would be to control the duty cycle of a PWM output. The PWM frequency would need to be many times higher than the frequency of the required sinewave.

Les.
 
Top