problem in setting the lowest priority for the pwm

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

problem in setting the lowest priority for the pwm

308 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Sudee on Tue May 13 05:33:19 MST 2014
hello i am using the LPC1769 to get data from the on chip ADC and simultaneously run the pwm

as by default ADC interrupt priority is having the greater number than PWM one i want to override that pwm priority with number 31 using the

NVIC_SetPriority(irqn, number)

but its not working as till i turn on the PWM ADC is working correctly but i turn on the PWM ADC will not work until i turn off the PWM

the same problem is existing if i give lowest number to ADC i.e ADC priority is more than PWM

what may be the problem

regards
标签 (1)
0 项奖励
回复
0 回复数