Working Mode; Configuration Mode; Low Power Mode - Ebyte CC2541 User Manual

2.4ghz ble 4.0
Table of Contents

Advertisement

Ebyte Electronic Technology Co., Ltd
Try to stay away from some physical layers such as TTL protocol at 2.4GHz , for example: USB3.0;
The mounting structure of antenna has a great influence on the performance of the module. It is necessary to ensure
that the antenna is exposed, preferably vertically upward. When the module is mou nted inside the case, use a good
antenna extension cable to extend the antenna to the outside;
The antenna must not be installed inside the metal case, which will cause the transmission distance to be greatly
weakened.

4.2 Working mode

4.2.1 Configuration mode

The configuration mode is used for parameter configuration. Before the module establishes a Bluetooth connection,
it is the configuration mode. After the connection is established, it is the transparent transmission mode. In the transp arent
transmission mode, the falling edge of the pin MOD (P2_0) can be switched to the configuration mode, and the rising edge
returns to the transparent transmission mode. The mode switching operation takes effect only in the Bluetooth connection
state, that is, the switching operation in the configuration mode is invalid. Any data received by the module RX pin in
configuration mode is considered as configuration data.
Note:
If the Bluetooth connection has been successfully established, the data sent by the master to the feature channel
1)
"MAST CHANNEL" is invalid, and the Bluetooth feature channel "SLAVE CHANNEL" will receive the prompt
"CONFIG BUSY", indicating that the module is in the AT parameter configuration state and cannot transmit data.
In configuration mode, some configuration operations are not saved when power off (see the AT comman d
2)
description for details). Other operations will be saved when power off, they will run according to the new
configurations after power-on.
When switching to configuration mode in the connected state, if disconnected, the module will automatically exit
3)
the configuration mode.

4.2.2 Low power mode

In any case, when inputting the rising edge of pin WKP (P1_2), the module enters sleep mode, the module power
consumption decreases, and when inputting falling edge switches to the wake-up mode. In the low power mode, the serial
port reception will be stopped, but the serial port transmission is still valid, that is, the data received by the Blueto oth can
be output normally under the condition of Bluetooth connection.
Note:
When the master and slave enter the low power mode, their Bluetooth scanning and Bluetooth broadcast functions
1)
are not affected.
The command AT+LOGMSG can enable mode feedback. When the module enters sleep mode, the serial port
2)
prompts \r\nSTA:sleep\r\n. When switching to the new mode, it prompts \r\nSTA:wakeup\r\n.
The AT+ONSLEEP command can be used to set the wake-up mode or low power mode when the module is
3)
powered up. The AT+DISCSLEEP command can be used to set whether to switch to low power mode when the
Bluetooth connection is disconnected.
Copyright ©2012–2019,Ebyte Electronic Technology Co., Ltd
E104-BT01 Usermanual
8

Advertisement

Table of Contents
loading

Table of Contents