I am new to the ARM core and am trying to create an interrupt from the CM0 module in the MC controller. I have set up the path and the masks correctly but cannot see how to enable global interupts. Can anyone point me to documentation about this or explain how to enable / disable interupts.
For enabling the interrupts, you should enable the VIC clock, enable the peripheral interrupt( MC_ITConfig : when using the STR91x stdlib), configure the ISR, the line, the mode and the priority for each interrupt (VIC_Config ) and enable the interrupt request line(VIC_ITCmd). Please find attached an MC example using FIQ interrupt. Best regards, mirou.
Thanks as always for your responses. I just wanted to clarify a couple things. As I interpret your email, you state the following order for enabling interrupts: 1. Enable VIC clock 2. Enable Peripheral Interrupt 3. Configure the ISR, the line, the mode, and priority 4. Enable the Interrupt Request line But, as I read the source code:
Q: Is the order of step 1 & 2 important? Q: If so, which is correct order? Again, thanks always for your support in these issues. -Jeremy [ This message was edited by: jsarao on 19-09-2007 20:55 ]