Sam Pearce

ADC interrupt interfering with TI1

Discussion created by Sam Pearce on Dec 19, 2006
Latest reply on Dec 20, 2006 by Alexey
I am using a periodic interrupt(TI1) which calls an ADC to perform a single sample each time an interrupt is received. If I enable the "Interrupt service/event" in the ADC bean then the periodic interrupt will only take place one time. No interrupts are being generated by the ADC, just switching it to enable creates this problem

I can only guess this problem is related to a register value. I have tried setting "Interrupt preserve registers" to yes or no in conjunction with(and without) commenting out "#pragma interrupt called". How do I get the periodic interrupt to call an ADC and allow the ADC to generate interrupts?

Thank you for any help
Sam

Message Edited by spearce on 2006-12-1909:44 PM

Message Edited by spearce on 2006-12-1909:49 PM

Outcomes