background image

Chengdu Ebyte Electronic Technology Co., Ltd.

E22-230T22S User manual

Copyright ©2012–2020,Chengdu Ebyte Electronic Technology Co.,Ltd.

15

6.1 Mode switching

No.

Remark

1

Users can combine M1 and M0 with high and low levels to determine the operating mode. Two GPIOs
of the MCU can be used to control mode switching;

After changing M1 and M0: If the module is idle, after 1ms, it can start working according to the new
mode;

If the serial port data of the module has not been transmitted through the wireless, the new working
mode can be switched after the transmission is completed;

If the module receives the wireless data and transmits the data through the serial port, it needs to
finish transmission before switching the new working mode;

Therefore, mode switching can only be valid when AUX output is 1, otherwise it will delay switching.

2

For example, users continuously inputs a large amount of data and simultaneously performs mode
switching. At this time, the switching mode operation is invalid; the module will process all the user
data before performing the new mode detection;

Therefore, the general recommendation is to detect the output state of the AUX pin and switch after

2ms when the output is high.

3

When the module is switched from other modes to sleep mode, if the data has not been processed
yet;

The module will process these data (including receiving and sending) before entering sleep mode.
This feature can be used for fast sleep, which saves power; for example, the transmitter module works
in mode 0, the user transmits the serial port data "12345", and then does not have to wait for the AUX
pin to be idle (high level), and can directly switch to sleep mode. And the user's main MCU
immediately sleeps, the module will automatically transmit the user data through the wireless, and
automatically enters sleep within 1ms;

This saves MCU's working time and reduces power consumption.

4

Similarly, any mode switching can use this feature. After the module processes the current mode
event, it will automatically enter the new mode within 1ms; thus eliminating the need for the user to
query AUX and achieve the purpose of fast switching;

For example, switching from the transmit mode to the receive mode; the user MCU can also enter
sleep before the mode switch, and use the external interrupt function to acquire the AUX change,
thereby performing mode switching.

5

This operation mode is very flexible and efficient, and is designed according to the user's MCU's
operation convenience, and can reduce the workload of the entire system as much as possible,
improve system efficiency, and reduce power consumption.

6.2 Normal mode(Mode 0)

Type

M0 = 0,M1 = 0

Summary of Contents for E22-230T22S

Page 1: ...E22 230T22S User Manual SX1262 230MHz 160mW SMD Wireless Module...

Page 2: ...ERATING PARAMETER 7 3 SIZE AND PIN DEFINITION 8 4 CONNECT TO MCU 10 5 FUNCTION DESCRIPTION 11 5 1 FIXED TRANSMISSION 11 5 2 BROADCASTING TRANSMISSION 11 5 3 BROADCASTING ADDRESS 12 5 4 MONITOR ADDRESS...

Page 3: ...E MODE 2 16 6 5 DEEP SLEEP MODE MODE 3 16 7 REGISTER READ AND WRITE CONTROL 17 7 1 COMMAND FORMAT 17 7 2 REGISTER DESCRIPTION 18 7 3 FACTORY DEFAULT PARAMETER 21 8 REPEATER NETWORKING MODE 22 9 CONFIG...

Page 4: ...nic Technology Co Ltd E22 230T22S User Manual 12 1 REFLOW SOLDERING TEMPERATURE 27 12 2 REFLOW SOLDERING CURVE 28 13 E22 SERIES 28 14 ANTENNA RECOMMENDATION 29 15 PACKAGE FOR BATCH ORDER 30 REVISION H...

Page 5: ...oftware FEC forward error correction algorithm which has high coding efficiency and strong error correction capability In the case of sudden interference it can actively correct the interfered data pa...

Page 6: ...ission power is increased by 80 Low power consumption for battery supplied applications Support 3 3V 5 5V power supply power supply over 3 3V can guarantee the best performance Industrial grade standa...

Page 7: ...he air wake up function It is especially suitable for battery powered applications when the module is in WOR state the configuration module WOR monitors the overall power consumption of the adjustable...

Page 8: ...5 5V will cause permanent damage to module Blocking power dBm 10 Chances of burn is slim when modules are used in short distance Operating temperature 40 85 2 2 Operating parameter Main parameter Per...

Page 9: ...Co Ltd 8 TX length 240 Byte Can be configured via command as 32 64 128 240 bytes per packet to transmit Buffer 1000 Byte Modulation GFSK LoRa Communication interface UART Package SMD Connector 1 27mm...

Page 10: ...RXD Input TTL UART inputs connects to external MCU PC TXD output pin Can be configured as open drain or pull up input 8 TXD Output TTL UART outputs connects to external RXD MCU PC input pin Can be co...

Page 11: ...30T22S User manual Copyright 2012 2018 Chengdu Ebyte Electronic Technology Co Ltd 10 4 Connect to MCU No Description STM8L MCU 1 The UART module is TTL level 2 For some MCU works at 5VDC it may need t...

Page 12: ...gdu Ebyte Electronic Technology Co Ltd E22 230T22S User manual Copyright 2012 2018 Chengdu Ebyte Electronic Technology Co Ltd 11 5 Function description 5 1 Fixed transmission 5 2 Broadcasting transmis...

Page 13: ...of monitor is realized 5 5 Reset When the module is powered AUX outputs low level immediately conducts hardware self check and sets the operating mode based on user s parameters During the process th...

Page 14: ...can input data less than 1000 bytes continuously without overflow Buffer not empty when AUX 0 the internal 1000 bytes data in the buffer have not been written to the RFIC completely If the user starts...

Page 15: ...ter switching to new operating mode it will not work in the new mode immediately until AUX rising edge lasts for 2ms If AUX stays on the high level the operating mode switch can be effected immediatel...

Page 16: ...is switched from other modes to sleep mode if the data has not been processed yet The module will process these data including receiving and sending before entering sleep mode This feature can be use...

Page 17: ...automatically added before transmitting Receiving It can receive data normally the receiving function is the same as mode 0 6 4 Configuration mode Mode 2 Type M0 0 M1 1 Transmitting Wireless transmit...

Page 18: ...ength parameter Send C0 05 01 09 Returen C1 05 01 09 E g 2 Configure module address 0x1234 network address 0x00 serial port 9600 8N1 and air data rate 1 2K Send C0 00 04 12 34 00 61 Return C1 00 04 12...

Page 19: ...en CF CF C1 05 01 09 E g 2 Configure module address 0x1234 network address 0x00 serial port 9600 8N1 and air data rate 1 2K Send CF CF C2 00 04 12 34 00 61 Return CF CF C1 00 04 12 34 00 61 6 Wrong fo...

Page 20: ...en transmitting large packets continuously users need to consider the data blocking caused by the same baud rate and data may even be lost It is generally recommended that both parties have the same b...

Page 21: ...ad Write REG3 7 Enable RSSI 1 Enable 0 Disable default 6 Fixed point transmission 1 Fixed point transmission mode 0 Transparent transmission mode default 5 Enable reply 1 Enable repeater function 0 Di...

Page 22: ...via the wireless during this period Each serial byte will be refreshed for 1000ms Users must transmit the first byte within 1000ms Valid only for mode 1 Period T 1 WOR 500ms maximum 4000ms minimum 500...

Page 23: ...ch the AUX outputs low level Repeater networking rules 1 Forwarding rules the repeater can forward data in both directions between two NETIDs 2 In repeater mode ADDH ADDL is no longer used as the modu...

Page 24: ...figure shows the E22 230T22S configuration host computer display interface the user can switch to the command mode through M0M1 and quickly configure and read the parameters on computer In the config...

Page 25: ...Please pay attention to the correct connection of the positive and negative poles of the power supply Reverse connection may cause permanent damage to the module Please check the power supply to ensur...

Page 26: ...frequency digital high frequency analog power traces around the module that will greatly affect the performance of the module It is recommended to stay away from the module according to the strength o...

Page 27: ...m temperature is lower than 2 5V the lower the voltage the lower the transmitting power Due to antenna quality or poor matching between antenna and module 11 2 Module is easy to damage Please check th...

Page 28: ...mp 100 150 Preheat temperature max Tsmax Mx preheating temp 150 200 Preheat Time Tsmin to Tsmax ts Preheating time 60 120 sec 60 120 sec Average ramp up rate Tsmax to Tp Average ramp up rate 3 second...

Page 29: ...868M 915M 22 7 SMD 16 26 UART E22 230T22S SX1262 230M 22 7 SMD 16 26 UART E22 400T22S SX1268 430M 470M 22 7 SMD 16 26 UART E22 400M30S SX1268 433M 470M 30 12 SMD 24 38 5 SPI E22 900M30S SX1262 868M 91...

Page 30: ...recommend some antennas for wireless modules with excellent performance and reasonable price Model No Type Frequency Hz Interface Impedanc e ohm Height Cable length Function feature TX230 XPH 300 Suck...

Page 31: ...rder Revision history Version Date Description Issued by 1 00 2018 01 08 Initial version huaa 1 10 2018 04 16 Content updated huaa 1 20 2018 05 24 Content updated Huaa 1 21 2018 07 20 Model name revis...

Page 32: ...out us Technical support support cdebyte com Documents and RF Setting download link www ebyte com Thank you for using Ebyte products Please contact us with any questions or suggestions info cdebyte co...

Reviews: