This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM3517 IRQ

Other Parts Discussed in Thread: AM3517

We are currently working to evaluate ISR for TIMER and UART on custom-designed board with AM3517 processor as stand-alone software without using any Embedded Operating System.

The issue we are facing with is that the board works fine with polling method whereas it doesn’t in interrupt mode.

May I request this forum to help me by providing any resource available which can provide some example codes to configure and execute the Interrupt Controller for implementing the ISR.  Even a little guidance in implementation srategy itself would be of immense help to us.

If any further information is required with regard to this set up, would certainly share with you.

Requesting your help,

With Thanks and Best Regards,

Krishna.

  • Krishna, i don't have anything specific for a low level interrupt, but if you can get polling to work, you should be close to getting the interrupts to work.  Review the Interrupt Basic Programming Model section of the TRM.  Make sure all of the registers are setup to get the interrupt to the MPU core.  This includes setting up the masks and the interrupt line for your particular interrupt.  If you can see the corresponding interrupt bit in the PENDING_IRQ, then you are almost there.  The final thing to do is to enable the interrupts in the MPU core by clearing the I (for IRQ) or F (FIQ) bits.  This should interrupt the core, and send you to the appropriate IRQ or FIQ interrupt vector, from which you can branch to your interrupt handler.  Ensure the interrupt vectors are mapped to the correct location in memory (check the Initialization chapter for Exception vectors)

    Regards,

    james

  • James, thank you very much for your timely support and help.   We are trying now all possible options.  Certainly we would inform you of our developments.

    With Thanks and Best Regards,

    Krishna.