cancel
Showing results for 
Search instead for 
Did you mean: 

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

Central SUPPORT
Senior II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Central SUPPORT
Senior II

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.

View solution in original post

1 REPLY 1
Central SUPPORT
Senior II

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.