Hello Carlos,
Please refer the following community post: https://community.nxp.com/message/632716
Also depending on the mask of your MCU I highly recommend you to check the corresponding errata to see if any of the known issues is causing this behavior.
Hope it helps!
Victor.
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------