
RF-43UH
Shenzhen RF-star Technology Co., Ltd.
Page 15 of 35
5 Module Functions
5.1 Working Mode
RF-43UH supports 4 kinds of working modes.
Working Mode
S0
S1
Mode Description
Remark
Normal mode
Low level
Low level Transparent transmission mode.
The receiver must work in
normal mode or wake-up
mode.
Wake-up mode
Low level
High level
Difference from the normal mode:
Before data packet transmission,
automatically add a wake-up code to
wake up the receiver module working
in low-power mode.
The receiver can be in
normal mode, wake-up
mode and low-power mode.
Low-power
mode
High level
Low level
Serial port reception is off, and it is in
the air waiting for wake-up mode.
After receiving wireless data, open the
serial port to send data.
The transmitter must work in
the wake-up mode.
Unable to transmit data in
low-power mode.
Sleep mode
High level
High level
Unable to transmit data, only can
modify and query parameters.
Modify and query settings
and sleep.
Note: Parameters can be modified and queried in all modes. Modification of parameters requires a power-on reset of
the module to take effect. Modifications in sleep mode can be used directly.
5.2 Mode Switching (0 for Low Level, 1 for High Level)
1.
Combine high and low levels of S0 and S1 to determine the working mode of the module. Two GPIOs of MCU can
be used to control mode switching. When the level of S0 and S1 are changed, the module is idle for 1 ms, that is,
it starts to work according to the new mode. If the module has serial port data that has not been transmitted by
wireless, it can enter the new working mode after the transmission is completed. If the module receives wireless
data and sends out data through the serial port, it needs to finish sending before entering the new working mod.
Therefore, the mode switching can only be effective when EN outputs 1, otherwise it will delay the switching. For
example: in normal mode or wake-up mode, the user continuously inputs a large amount of data and switches the
mode at the same time. At this time, the mode switching operation is invalid, and the module will process all user
data before performing new mode detection. So, it is generally recommended to detect the output state of the EN
pin and wait for 2 ms after the EN output is high before switching.
2.
When the module is switched from other modes to sleep mode, if there is any data that has not been processed