Content originally posted in LPCWare by Pranoti on Mon Aug 11 20:32:49 MST 2014
Hello Team,
I am working with LPC4357FET256, please tell me how to calculate PWM frquency and how to set the timer registers for it.
Regrds,
Pranoti
Hello Team,
I am working with LPC4357FET256, please tell me how to calculate PWM frquency and how to set the timer registers for it.
Regrds,
Pranoti
The SCT inside the LPC4357 can do the job.
Look on the following webpage and download the SCT Cookbook:
http://www.lpcware.com/content/project/SCTimer-PWM
Using the standard timers would also be possible, but the SCT is a much smarter solution for PWM.
As third option there is the Motor Control PWM.
More software examples might be here
http://www.lpcware.com/content/nxpfile/lpc4350apdlzip
and here
http://www.lpcware.com/content/nxpfile/lpcopen-software-development-platform-lpc43xx-packages
Regards,
NXP Support Team