cancel
Showing results for 
Search instead for 
Did you mean: 

spc56 exception handling

alessandro2
Associate III
Posted on May 19, 2017 at 14:21

Hello,

I'm working with SPC56EL60L3 and SPC5studio 5.0.

My question is related to core exceptions handling: let's consider a division by zero.

What happens if such a division occur? I there any predefined service routine that handles the exception? How is it possible to configure the behaviour of the microcontroller to handle this kind of situations?

Thank you.

Regards

Alessandro

This discussion has been locked for participation. If you have a question, please start a new topic in order to ask your question
1 REPLY 1
Erwan YVIN
ST Employee
Posted on May 30, 2017 at 15:11

Hello Alessandro ,

Please check in the document :

http://www.nxp.com/assets/documents/data/en/reference-manuals/e200z4RM.pdf

 

There is a possibility to catch a division by zero.

        Best regards

          Erwan