Chapter 6 Working Mode; Uart Sleep Wake - Ebyte E150-400T30S User Manual

400m frequency band 1w lora wireless acquisition control module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.

Chapter 6 working mode

The module has three working modes, which are controlled and set by the device mode register; Details
are shown in the table below:
Mode (0-2)
1. The serial port is turned on, the
wireless port is turned on, and all kinds
of peripherals are turned on
0 normal mode
2. If the receiver is operating in mode 1,
the
preamble
configured to use Lora for remote access
1. According to the wor cycle register,
periodically wake up the MCU to enter the
receiving mode
(1) Wor mode
2. Wor mode cannot actively transmit RF, but
can passively reply RF data
3. The serial port must be awakened
according to the sequence to work
. The serial port must be awakened
1
according to the sequence to work
(2) sleep
2. All peripherals sleep
mode
3. All IO states are forced to change,
please refer to the pin state of sleep mode

6.1 UART sleep wake

when working in wor mode or sleep mode, you need to wake up the module according to a specific
timing. You can use any baud rate before entering sleep. If the baud rate is less than 9600,
it is recommended to directly use the command of switching mode to wake up. The wake-up process
is as follows:
Wake up process: (the module is already working in wor mode or sleep mode, taking address 01 as an
example)
① Send MODBUS command (command to switch mode to normal mode: 01 06 07 EB 00 00 F8 8a);
② After a delay of 50ms, send this command again to complete the mode switching. (Note 1)
matters needing attention:
1. If the baud rate of the customer is 1200 BPs, a delay of 100ms is required, and the delay of 50ms
is uniformly adopted for other baud rates;
2. After the client wakes up by sending the first packet of data, the module will remain awake for
about 500ms, and the client needs to complete the sending of serial port data within this time interval;
Copyright ©2012–2022,Chengdu Ebyte Electronic Technology Co.,Ltd.
Mode introduction
register
needs
Remark
Receiver works in
mode 0 and 1
to
be
Receiver works in
mode 0 and 1
All peripherals go
to sleep
E150-400T30S user manual
Instruction (take
address 01 as an
example)
01 06 07 EB 00 00 F8 8A
01 06 07 EB 00 01 39 4A
01 06 07 EB 00 02 79 4B
19

Advertisement

Table of Contents
loading

Table of Contents