Hi
MPC5777C don't have sine wave genetating module, is there any document about how to design the function ? tks
Hi,
yes, the MPC5777C cannot generate analog signal directly on the output pin. You will need some external circuitry.
The theory is quite simple. With the help of eMIOS (or eTPU) you will generate PWM signal with certain period, that’s duty cycle will be modulated by desired sine frequency, i.e. changed duty cycle fast enough from sine lookup table for example.
This will generate sine modulated PWM signal on digital output. With the help of analog low pass filter you can get analog sine wave signal.
You can find a lot of guides/solutions on the web, just search for “PWM sine generator” etc.
BR, Petr