Master And Slave As The One; Power Mode; Low Power Mode; Wake Up Mode - Ebyte E104-BT5032A/B User Manual

Nrf52832 ble5.0 low power ble to serial module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co., Ltd
Notes:LEN is sum of MAC, RSSI and advertising data length.
4.
Scanning window, gap and parameter should be the same.
5.
AT command is valid during this time.

6.1.4 Master and slave as the one

1.
Command AT+ROLE=3,select master and slave as the one. Take into effect once restart.
2.
Master function configuration is same as master from 6.1.1.
3.
Slave function is same as slave from 6.1.2. This role supports multiple slaves.

6.2 Power mode

There are two modes:low power mode and wake-up mode.

6.2.1 Low power mode

The low power mode means that the BLE function continues to run after entering this mode, and the peripherals except the
wake-up pin are turned off. If you need lower power consumption, you can turn off the broadcast, scan, disconnect all connections, set
a longer broadcast gap, scan the gap, and connect the gap by AT command.
Enter low power mode:
1.
AT command "AT+SLEEP": enter low power mode;
2.
AT command "AT+DISCSLEEP=1": disconnect and enter low power mode;
3.
AT command "AT+ONSLEEP=1" : enter low power mode once power on;
4.
Via pin WKP rising edge,keep high level for 200ms and enter low power mode;
To output "STA:sleep" via serial port after entering low power mode(LOGMSG output unclosed)。
Note: In low power mode, when it is not disconnected, for example, when ble receives data over air, or when the connection
status changes, the module temporarily wakes up and outputs the corresponding data, and immediately goes to sleep after the data
output is completed. At this point, entering low power consumption, or waking up will not output status data.

6.2.2 Wake up mode

In this mode, the peripherals of ble modules works normally. Once it waked up, it outputs "STA:wakeup".
Wake up mode:
1.
Via pin WKP falling edge,keep low level for 200ms and enter wake up mode;
2.
Pin RX wakes up, via falling edge of pin RX,keep low level for at least 50us and wake up immediately。
6.3
Data transmission
There are two transmission mode:transparent transmission and format transmission.
Copyright ©2012–2024,Chengdu Ebyte Electronic Technology Co., Ltd
mode
E104-BT5032A User Manual
16

Advertisement

Table of Contents
loading

Table of Contents