Strictly necessary cookies are on by default and cannot be turned off. Functional, Performance and Tracking/targeting/sharing cookies can be turned on below based on your preferences (this banner will remain available for you to accept cookies). You may change your cookie settings by deleting cookies from your browser. Then this banner will appear again. You can learn more details about cookies HERE.
Strictly necessary (always on)
Functional, Performance and Tracking/targeting/sharing (default off)
The updated AN2025 talks about about how a sine wave can be obtained by filtering techinque.In this method, a square wave with frequency equal to the desired sine wave frequency is generated by using timers. This square wave is then passed through a band pass filter to eliminate the higher order harmonics. Only the fundamental frequency is untouched, which is the desired sine wave.
Since the Implementation is purely in hardware, MCU is entirely free and can be used to implement any other functionality. Also, Higher frequencies can be generated which is not possible in lookup table method.