Chengdu Ebyte Electronic Technology Co.,Ltd.
Co
pyright ©2012–2021,Chengdu Ebyte Electronic Technology Co.,Ltd.
12
When the AUX pin is initialized, the pin will be pulled low for a short time due to the configuration of GPIO
peripherals, as shown in the figure below.
5.6.5 Module Mode Switching Process
The process of switching modes through M0 and M1 hardware:
M0 , M1 pin external interrupt trigger;
AUX pulls down the pin;
Exit the current task mode, and then read the M0 and M1 pin levels to judge the new mode;
Enter a new mode task, pull AUX high, and complete the mode switch (the maximum hardware mode switch time is
about 35ms ), note that the mode switch time will vary between different modes, for example, the time to switch
from sleep mode to other modes is relatively long, yes Because the MCU and RF chip are in a deep sleep state in
sleep mode, it is necessary to re-initialize the RF and MCU parameter configurations when entering other modes
from sleep.
Hardware mode switching AUX timin
Software mode switching AUX timing
Note: The software mode switching time will increase relative to the mode switching time due to the time required for
serial port data processing (switching time is about 45ms ).