How do we get 16 independent PWMs on a MC56837xx device?
It looks like we can use A and/or B and/or X from the submodule, but how? Is that documented anywhere?
We also must use the 100 LQFP to get 16 PWM output channels also, the 80 LQFP only supports 14 channels, correct?
Thanks
John
Hi, John,
I think it is okay to use 100 pin or 80 pins MC56F83xxx to output independent PWM signals.
As you know that the MC56F83xxx has two eFlexPWM modules: eFlexPWMA and eFlexPWMB, each eFlexPWM module has 4 sub-module. Each PWM sub-module can output two PWM signals:PWM_xA, PWM_xB, the two PWM signals PWM_xA, PWM_xB have the same frequency.
So the eFlexPWMA can output 8 PWM signals:PWMA_0A/0B,PWMA_1A/1B,PWMA_2A/2B,PWMA_3A/3B.
The eFlexPWMB can output 8 PWM signals:PWMB_0A/0B,PWMB_1A/1B,PWMB_2A/2B,PWMB_3A/3B.
They can output 16 PWM signals totally.
Pls refer to section 10.1 MC56F83xxx Signal Multiplexing and Pin Assignments in data sheet of MC56F83xxx.
I have checked that for 80 pin package, all 8 PWM signals for PWMA module can output from pins.
Pin index(80 LQFP) PWM signals
55 PWMA_0B
56 PWMA_0A
57 PWMB_0B
58 PWMB_0A
59 PWMA_1B
60 PWMA_1A
63 PWMB_1B
64 PWMB_1A
65 PWMA_2B
66 PWMA_2A
67 PWMA_3B
68 PWMA_3A
The PWMB_2A/2B, PWMB_3A/3B can not output to pad directly, but you can output them from crossbar.
As the following crossbar fig, you can output the PWM signals from the crossbar package pins:
You can set up the PWM Output Trigger Control Register to have the trigger signal to output PWM signal.
Pls refer to section 27.3.22 Output Trigger Control Register (SM0TCTRL - SM3T
CTRL)
Hope it can help you
BR
XiangJun Rong
Hi,
Pls refer to the doc for the application that you use crossbar to output PWM signals.
BR
XiangJun Rong