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