Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 4 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.
To enter Supervisor mode, there are a few requirements as stated in the datasheet below.
This is the result I've obtained using Putty.
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: