I'm using a timer bean (which uses the peripheral timer D1) for periodic interrupt generation. In the bean I have enabled "Timer Compare Interrupt" and I entered "TMRD1_OnCompare" in the ISR name field. I expected that the processor expert would create the interrupt routine in the events.c file, but this is not the case. So I wrote the routine myself:
#pragma interrupt called
Phase+=5; /* some arbitrary code */
When I run the code, the routine seems to be executed only once (although the operation mode of the timer was set to "Count Mode" - "Count Repeatedly"). After the routine has been executed, some other interrupt routines, such as ButtonA_OnInterrupt, which is called in the case that button A on the evaluation board is pressed, are not any more executed either. In fact, the only interrupt routine that is still executed is the ADC_OnEnd (ADC conversion complete) routine.
What could be the reason of this?
I am working with an evaluation module 56F8367EVM and CodeWarrior version 5.6.1.
Alban Edit: Please always include FSL Part Number in Message Subject line.
Message Edited by Alban on 2007-09-12 12:04 AM