Wireless UART Module User Manual of E61 Series ModulesCopyright ©2012–2017, Chengdu Ebyte Electronic Technology Co., Ltd. 11 / 186. Operating ModeContents in the table below are the introduction of input status of M1 & M0 and their corresponding mode:Mode(0-3) M1 M0 Mode introduction RemarkMode 0Transmission0 0 UART and wireless channel are open, transparenttransmission is onWorking with the software, themodule can be configured ascontinuous transmission(Default)and fix-length transmission.Mode 1Reserve1 0 N/AMode 2Instruction0 1 UART opens and wireless channel closes. Module can acceptUART configuration instruction.To change the configuration.Mode 3Sleep 1 1 UART and module are closed.6.1 Mode Switchl The user can decide the operating mode by the combination of M0, M1 and M2. The two GPIOs of MCU can be used to switchmode. After modifying M0, M1 or M2, it will start to work in new mode 1ms later if the module is free. If there are any serial datathat are yet to finish wireless transmitting, it will start to work in new mode after the UART transmitting finished. After the modulereceives the wireless data & transmits the data through serial port, it will start to work in new mode after the transmitting finished.Therefore, the mode-switch is only valid when AUX outputs 1, otherwise it will delay.l For example, in mode 2 or mode 4, if the user inputs massive data consecutively and switches operating mode at the same time,the mode-switch operation is invalid. New mode checking can only be started after all the user’s data process completed. It isrecommended to check AUX pin out status and wait 2ms after AUX outputs high level before switching the mode.l If the module switches from other modes to stand-by mode, it will work in stand-by mode only after all the remained data processcompleted. The feature can be used to save power consumption. For example, when the transmitter works in mode 0, after theexternal MCU transmits data “12345”, it can switch to sleep mode immediately without waiting the rising edge of the AUX pin,also the user’s main MCU will go dormancy immediately. Then the module will transmit all the data through wireless transmission& go dormancy 1ms later automatically, which reduces MCU working time & save power.l Likewise, this feature can be used in any mode-switch. The module will start to work in new mode within 1ms after completingpresent mode task, which enables the user to omit the procedure of AUX inquiry and switch mode swiftly. For example, whenswitching from transmitting mode to receiving mode, the user MCU can go dormancy before mode-switch, using external interruptfunction to get AUX change so that the mode-switch can be realized.l This operation is very flexible and efficient. It is totally designed on the basis of the user MCU’s convenience, at the same time thework load and power consumption of the whole system has been reduced and the efficiency of whole system is largely improved.