This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Nested interrupts with ARM7TDMI

Note: This was originally posted on 7th June 2013 at http://forums.arm.com

Hi,

I am using a TI SM470R1B1 microcontroller that has a ARM7TDMI cpu. I have searched in the documentation and cannot find anything about the Vectored Interrupt Control.

Does it have one or something equivalent? Address? Requires resetting when the interrupt is hit?

I am using IAR embedded workbench.

Thanks.
Iason
Parents
  • Note: This was originally posted on 11th June 2013 at http://forums.arm.com


    Hi,

    I am using a TI SM470R1B1 microcontroller that has a ARM7TDMI cpu. I have searched in the documentation and cannot find anything about the Vectored Interrupt Control.

    Does it have one or something equivalent? Address? Requires resetting when the interrupt is hit?

    I am using IAR embedded workbench.

    Thanks.
    Iason


    AFAIK, there is no VIC available in ARM7TDMI. This probably explains why you dont find any documentation on it. VIC is available only ARMV6(ARM11) and above only. For ARM7TDMI the practice would be write a vector table at address ox0000 0000 and write a form of branch instruction to an ISR corresponding to each interrupt type/source available. Nested interrupts are usually not recommended in ARM7. Although it can be written in ARM7 successfully, it requires a level of expertise in writing a complex sequence of operation before nesting can be enabled. Hint: user mode and stacking of all corruptible registers.

    Good luck.
Reply
  • Note: This was originally posted on 11th June 2013 at http://forums.arm.com


    Hi,

    I am using a TI SM470R1B1 microcontroller that has a ARM7TDMI cpu. I have searched in the documentation and cannot find anything about the Vectored Interrupt Control.

    Does it have one or something equivalent? Address? Requires resetting when the interrupt is hit?

    I am using IAR embedded workbench.

    Thanks.
    Iason


    AFAIK, there is no VIC available in ARM7TDMI. This probably explains why you dont find any documentation on it. VIC is available only ARMV6(ARM11) and above only. For ARM7TDMI the practice would be write a vector table at address ox0000 0000 and write a form of branch instruction to an ISR corresponding to each interrupt type/source available. Nested interrupts are usually not recommended in ARM7. Although it can be written in ARM7 successfully, it requires a level of expertise in writing a complex sequence of operation before nesting can be enabled. Hint: user mode and stacking of all corruptible registers.

    Good luck.
Children
No data