MPC5748g' PWM , Can the chip do this function ?
Hi,
Yes, the eMIOS module is able to generate PWM signal.
You can refer to AN4830 (https://www.nxp.com/docs/en/application-note/AN4830.pdf) for the simple code.
The same eMIOS example is also available as a demo within S32DS. It shows how to configure and use eMIOS in
MCB, OPWMB, OPWFMB, IPM, IPWM modes.
BR, Petr
Hi!
Thanks for your help!
I read the content of the AN4830, I want to design a breathing lamp with the OPWMB mode.
and there are two problems:
First,the step of update the A1 register value,also the duty cycle.
Another,the relationship between MCB mode and OPWMB mode.
Wait for your reply.
Best regards!
Haihu