LPC1768 - Problems PWM1.1 output

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

LPC1768 - Problems PWM1.1 output

560 Views
tommitchell
Contributor I

I use the LPC1768.

I have a problem that the first pwm output PWM1.1 (P1[18]) acts different then the other PWM output ports.

I use a period of 1 KHZ. (MR0=1000).

When I change the value for PWM1.1 port from maximum duty cycle (MR1=1001 or MR1=1000) to a new value then the first puls is always 1HKZ long and then all other pulses are the requested duty cycle.

 

This problem is only on PWM1.1. The other PWM ports I use don't have this problem.

 

Is this a known problem ?

Am I doing something wrong ?

Labels (1)
Tags (1)
0 Kudos
2 Replies

388 Views
tommitchell
Contributor I

I found the problem/answer: Errata Sheet ES_LPC176X section 3.13

The workaround works well.

0 Kudos

388 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi Tom,

Thank for your solution sharing.

If you still have problem, please let me know.

If your question is solved, please click the Correct Answer button to mark it as solved.


Have a great day,
Jingjing

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos