• AVR Freaks

dsPIC30F5015 fault issue

Senior Member
  • Total Posts : 146
  • Reward points : 0
  • Joined: 2011/06/30 00:23:55
  • Location: 0
  • Status: offline
2018/10/16 23:58:36 (permalink)

dsPIC30F5015 fault issue

Greetings! I`m using the motor control unit of dsPIC30F5015. I`m using FaultA. When this pin (PIN_D8) goes low it triggers an interrupt. So I`m doing what has to be done in the interrupt and sometimes the problem is not major and the machine can continue its work. So after interrupt calculation fault pins demand to be driven high. I haven`t found any way of determining this in software. So what do I have to do? Do I have to reset the uC in case the machine can continue work? Or there is way I can determine of the pin has been driven high after interrupt calculation? The problem is if fault pin doens`t go high after the interrupt is triggered it doesn`t trigger again this interrupt...
Any ideas?!

1 Reply Related Threads

    Superb Member
    • Total Posts : 9999
    • Reward points : 0
    • Joined: 2016/06/05 14:55:32
    • Location: One step ahead...
    • Status: offline
    Re: dsPIC30F5015 fault issue 2018/10/17 05:41:44 (permalink)
    ...I haven`t found any way of determining this in software.

    Of determining what?
    That FLTA has gone high?
    You said yourself that it is pin D8, so you can just test that GPIO pin to see if it is high.

    Nearly there...
    Jump to:
    © 2021 APG vNext Commercial Version 4.5