TOP

How to set in program to increase MCU stability in/out GREEN MODE?

In order to increase the stability of MCU in/out GREEN MODE, in mode switching, user should use a macro(this macro is included in IDE, in M2IDE_V115 and later versions, the path is C: \ Sonix \ M2IDE_V115 \ use_inc2, the corresponding series' inc is in the file), other switching modes must be done using the corresponding macros too.

For macro name of other operation modes, please refer to the following table:

macro name macro length Note
@SleepMode 1-word System enter Sleep Mode (Power Down).
@GreenMode 3-word System enter Green Mode, including synchronization process.
@SlowMode 2-word System enter Slow Mode, and stop high-speed oscillator.
@NormalMode 5-word System Switch to Normal Mode from Slow Mode, the program includes starting high-speed oscillator, high-speed oscillator warm-up and system control program to switch to Normal Mode.