LPC 2129 PWM

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

LPC 2129 PWM

465 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by abhavi on Sun May 11 11:47:17 MST 2014
Hi all

I am working on single edge PWM generation on LPC 2129 .The summary o my work is as below

1)I am able to see PWM output on Pin 33(PWM 4).it is as per my clock settings.No problem still here.

2)In the PWM ISR,I am setting 2 flags and in the main loop of the code ,and based on these flag values I am dynamically changing PWM4 rate by changing PWMMR0 ;PWMMR4  PWMLER  registers.

3)These above mentioned changes are not reflected in the scope output.I dont see my modified rate settings on the scope.

Attached is the code.Please help me.

Regards
Anand

Original Attachment has been moved to: PWM_0.c.zip

Original Attachment has been moved to: blinky_0.c.zip

标签 (1)
0 回复数