Skip to main content
Central SUPPORT
Senior
May 16, 2019
Solved

How to enable “Divide by Zero�? exception for SPC56EL60

  • May 16, 2019
  • 1 reply
  • 833 views

1)    Could you please tell how to enable “Divide by Zero�? exception for SPC56EL60 controller ?

2)    What happens if exception is not enabled, what is the behavior of controller ?

NOTE: This question and answer originated from a customer support case which was handled by us. We regularly review support cases and add any helpful ones here for all to benefit from.

    This topic has been closed for replies.
    Best answer by Central SUPPORT

    1)    “Divide by Zero�? exception is handled by EFP floating point data exception. Please check whether you have handle it or not in vector table. If not, please refer to application note AN4367 “SPC56EL60xx/RPC56EL60xx/SPC56xL70xx/RPC56xL70xx device exception handling�? .

    0690X000008w0mMQAQ.png

    2)    If exception occurs and exception is NOT handled à system will enter endless loop.

    1 reply

    Central SUPPORT
    Central SUPPORTAuthorBest answer
    Senior
    May 16, 2019

    1)    “Divide by Zero�? exception is handled by EFP floating point data exception. Please check whether you have handle it or not in vector table. If not, please refer to application note AN4367 “SPC56EL60xx/RPC56EL60xx/SPC56xL70xx/RPC56xL70xx device exception handling�? .

    0690X000008w0mMQAQ.png

    2)    If exception occurs and exception is NOT handled à system will enter endless loop.