Wake-Up Mode; Data Valid Indication - Ebyte E104-BT51 User Manual

Cc2640r2f ble5.0 low power consumption, bluetooth to serial port module
Table of Contents

Advertisement

Chengdu Ebyte Electronic Technology Co.,Ltd.
an edge latch function, that is, the level of the pin will change with the external edge . For example, the pin initialization
defaults to high level (low power consumption mode). In the future, the pin can only detect the falling edge signal. If the
module wakes up after detecting the falling edge signal, the pin becomes low at this time, and only the rising edge can be
detected. Edge signal; 3). The above-mentioned high-level and low-level during power-on means that the pin needs to be
kept in the high-level or low-level state from the moment of power-on to the normal initialization of the module.
5.1.1 Low power consumption mode
The low power consumption mode means that the BLE function continues to run after the module enters this mode,
and the peripherals of the module except the wake-up pin and the indication function pin are turned off, such as PWM
and IO output. If a lower power consumption setting is required, the AT command can be used to close the broadcast,
disconnect, set a longer broadcast interval and connection interval to achieve the purpose.
There are two ways to enter low power consumption mode: command entry and pin entry.
1. The AT command sends "AT + SLEEP" to immediately enter the low power consumption mode;
2. Enter low power consumption by keeping the rising edge of the WAKEUP pin at over 100ms
The module will actively detect the WAKEUP / SLEEP (DIO_12) pin when it is powered on. If it is high, it will
directly enter the low power consumption (SLEEP) mode after power on, if it is low, it will enter the wakeup
(WAKEUP) mode. The WAKEUP / SLEEP (DIO_12) pin is initialized to a high level by default. If no operation is
performed on this pin, the module powers on and enters the low power consumption (SLEEP) mode.
After the module enters the low power consumption mode, if LOGMSG is turned on, it will output: sleep. During
the low power consumption mode, if the broadcast is turned on, the broadcast will continue, and if the device is
connected, the connection will not be disconnected. After receiving BLE Bluetooth data during the connection, it
will actively wake up the device and print the received data, after printing, continue to enter the low power
consumption mode. If data needs to be sent during low power consumption, you need to give the WAKEUP pin a
falling edge level that lasts for more than 100ms, and wake up the device before sending data.

5.1.2 Wake-up mode

Wake-up mode refers to the normal operation of the module's peripherals, which remain active and do not close the
serial port. At this time, the module continuously receives serial port data, and the power consumption is high. If the
device needs to wake up in low power consumption mode, giving the WAKEUP pin a falling edge that lasts longer than
100ms, and the module is woken up. After waking up, if LOGMSG is turned on, it will output: wakeup.
Note: When using AT configuration and data transparent transmission, the module must be in wake-up mode.
Otherwise, the module cannot receive the data from the serial port (TX) pin.

5.2 Data valid indication

In the transparent transmission mode, after Bluetooth receives the data, it is transmitted transparently through the
serial port. In order to ensure that the external MCU can receive the data correctly, users can set the delayed output data
through the "AT + DELAYDATA = 1" command. After setting, the module's DATA pin will output a low level 10ms
Copyright ©2012–2019,Chengdu Ebyte Electronic Technology Co.,Ltd.
3-10
E104-BT51 User Manual

Advertisement

Table of Contents
loading

Table of Contents