• AVR Freaks

T4 interrupt does not trigger the ISR

Author
Wieschebrock
Super Member
  • Total Posts : 213
  • Reward points : 0
  • Joined: 2005/01/22 07:57:44
  • Location: Germany
  • Status: offline
2019/12/03 01:23:59 (permalink)
0

T4 interrupt does not trigger the ISR

Hi,
 
I have the dsPIC33EP512MC506 as a CANopen NMT master with different nodes. They runs fine on different slave stacks in the field for month. But now if have a node with that the master stops triggering the T4 interrupt after seconds.
It runs fine, if I disable CAN communication.The master is running with with the CANopennode stack. 
The T4 is not the Canopen interrupt, it is the main system task timer for all the timed stuff.
 
The T4 interrupt is not triggered anymore. The GIE bit is set, the T4IE Bit is set, TON is enabled and the T4 flag is also set if the timer elapsed.
 
What more is needed? Sure I missed something....
 
Best regards
 
#1

2 Replies Related Threads

    du00000001
    Just Some Member
    • Total Posts : 3238
    • Reward points : 0
    • Joined: 2016/05/03 13:52:42
    • Location: Germany
    • Status: offline
    Re: T4 interrupt does not trigger the ISR 2019/12/03 02:21:39 (permalink)
    0

    What more ... ?

     
    1. Clean, error-free software.
    2. ? ? ?
    But honestly: check the interrupt priority!
    Could it be your system got stuck in a level that the T4 interrupt cannot interrupt?

    PEBKAC / EBKAC / POBCAK / PICNIC (eventually see en.wikipedia.org)
    #2
    Wieschebrock
    Super Member
    • Total Posts : 213
    • Reward points : 0
    • Joined: 2005/01/22 07:57:44
    • Location: Germany
    • Status: offline
    Re: T4 interrupt does not trigger the ISR 2019/12/03 08:22:00 (permalink)
    0
    Good point! And so obviouspink.  I will check that. 
     
    Thanks
    #3
    Jump to:
    © 2019 APG vNext Commercial Version 4.5