LPC1768 - Problems PWM1.1 output

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

LPC1768 - Problems PWM1.1 output

1,154 次查看
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 回复数

982 次查看
tommitchell
Contributor I

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

The workaround works well.

0 项奖励
回复

982 次查看
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 项奖励
回复