LPC1768 - Problems PWM1.1 output

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1768 - Problems PWM1.1 output

567件の閲覧回数
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 ?

ラベル(1)
タグ(1)
0 件の賞賛
2 返答(返信)

395件の閲覧回数
tommitchell
Contributor I

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

The workaround works well.

0 件の賞賛

395件の閲覧回数
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 件の賞賛