NanoEdge PWM on DSC MC56F82748

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NanoEdge PWM on DSC MC56F82748

937 Views
fasihahmed
Contributor IV

Hey,

I have an PWM interrupt of 50kHz that calculates and sets PWMs to control DC Bus voltage. 

This means my PWMs have resolution of 2000 counts (10 bits).

pastedImage_1.png

I would like to increase my resolution of PWMs, so I can reduce by PI error, right now due to low resolution it is not very effective.

Can enabling NanoEdge PWMs help me? or is there another way to increase PWM resolution to 16 bits while having the same 50kHz Frequency?

How can I set up NanoEdge or any other suggestion via GCT (graphical configuration tools)?

xianzhangxiangjunrong

Labels (1)
0 Kudos
1 Reply

894 Views
xiangjun_rong
NXP TechSupport
NXP TechSupport

Hi, Fasih,

You are right, if you use nano-edge PWM feature, the resolution will increase 5 bits(the eFlexPWM PLL can output 3.2GHz which is 32*100MHz), if you want to get 50KHz PWM signals, the original resolution is 2000, in other words, the resolution is log2(2000)=10.96 bits. If you use Nano-edge feature, the resolution 10.96+5=15.96 bits.

For the nano-edge example code based on MC56F82748, pls refer to the ticket in community.

https://community.nxp.com/docs/DOC-332423

Hope it can help you

BR

XiangJun Rong

0 Kudos