lpcware

Implementing PWM on LPC18xx

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by Sarvani A on Tue Apr 07 09:56:59 MST 2015
Hello,

Iam working on LPC18xx.
LPC1857 has one PWM with three channels.Iam implementing three different operations on three different channels with different frequencies. Iam using the api's of the example code periph_sct_pwm which is attached below. I can able to program the PWM and generate a square wave but the problem is that all the channels are resulting in a common output frequency irrespective of their individual frequency.

Can anyone help me in solving this


Looking forward for the reply

Thank you
Sarvani

Original Attachment has been moved to: periph_sct_pwm.rar

Outcomes