Cart New Account Login

HomeAbout usProductsSupportForumsBlogCustomer Service

Please accept the use of cookies on our site

At PEmicro we use web browser cookies in order to provide you with an enhanced experience and in order to be able to do things like shopping cart processing and identify you when you login to our website.

Click here to accept

search inside this forum
search inside all forums
5213 End of ISR routing
Phil R. Dec 13, 2016 at 01:34 PM (13:34 hours)
Staff: Johnny N.

  • Hi,
    I realize this is an old system but I need to issue the proper end of interrupt sequence to the 5213 interrupt controller after running one of the hardware interrupts on the edge port. I have the port and ISR setup and enter the ISR, but only once, then all interrupts stop working. Pretty sure I need to clear or set one of the bits in one of the many registers..Freescale docs refer to this zipfile with sample source code, but it's no longer available

    Thank You


    • Unfortunately, we don't have that sample source code that the Freescale doc is referring to. Sorry that we couldn't be more helpful.

  • Thanks Johnny,
    I actually found the problem. The PE demo code already setup the stack frame for the ISR and all I needed to do was provide a traditional 'C' function call but I was setting up another ISR stack frame. The caused the CPU to generate a Frame exception for the 2nd RTE. So it's all good now.

    Thanks again,

    PS: The PEMicro stuff is great. Came out of the box and was running in a few hours

Add comment

   Want to comment? Please login or create a new PEMicro account.

© 2018 P&E Microcomputer Systems Inc.
Website Terms of Use and Sales Agreement