problem in setting the lowest priority for the pwm

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

problem in setting the lowest priority for the pwm

373件の閲覧回数
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 返答(返信)