MPC5748g' PWM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

MPC5748g' PWM

2,462 次查看
haihuwang
Contributor II

MPC5748g' PWM , Can the chip do this function ?

2 回复数

2,067 次查看
PetrS
NXP TechSupport
NXP TechSupport

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

2,067 次查看
haihuwang
Contributor II

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

0 项奖励
回复