Hello, I'm having trouble getting the ADC1 interrupt to work while emulating and LPC934. I'm using the following settings: ADMODA = 0x10; // fixed channel single conversion ADMODB = 0x80; // ADC clock divider = 5 (12 MHz/5 = 2.4 MHz), DACs disabled (ADCs enabled) ADINS = 0x20; // enable pin AD11 IEN1 |= 0x80; // enable ADC interrupt ADCON1 = 0x41; // enable ADC1, immediate start mode, interrupt enabled I've used the debugger to verify the contents of the corresponding memory locations and everything looks good, the globabl interrupt enable is active (my timer0 ISR is working perfectly). The problem is that the ADCI1 bit never goes high, so my ISR never runs. I tried polling the bit instead but same problem. Can you see where I'm going wrong?
Thanks Erik, that worked fine.