7 years, 10 months ago.

How to program K64F to enter Freeze Mode and Supervisor Mode?

To enter Freeze mode, there are a few requirements as stated in the datasheet below. /media/uploads/Blizzardgaz/freeze_mode.jpg

To enter Supervisor mode, there are a few requirements as stated in the datasheet below. /media/uploads/Blizzardgaz/supv.jpg

This is the result I've obtained using Putty. /media/uploads/Blizzardgaz/results.jpg

As shown by the results: NOTRDY = 0 > Normal Mode, Listen-Only or Loop-Back Mode. FRZACK = 1 > FlexCAN in Freeze mode LPMACK = 1 > FlexCAN is in low-power mode.

These results are conflicting each other. As stated in the datasheet, it is not possible for FlexCAN to be in Freeze Mode when in low-power mode.

Is there any methods to enter freeze mode and supervisor mode in order to configure the K64F system register namely Multi Clock Generator (MCG) bits?

Here is the mbed code used to obtain the results above: /media/uploads/Blizzardgaz/ccode1.jpg /media/uploads/Blizzardgaz/ccode2.jpg /media/uploads/Blizzardgaz/ccode3.jpg /media/uploads/Blizzardgaz/ccode4.jpg

Be the first to answer this question.