Table 6 Work Mode and System Status .................................................................................................... 14
Table 7 AD Convertor Function Module DC Parameter Map .................................................................. 15
Table 8 Module Connect Interval 20ms Communication Mode Example ........................................... 20
Table 9 Error Code List ................................................................................................................................ 25
Table 10 AT Command List ........................................................................................................................... 25
Table 11 Command Data from APP to Module ........................................................................................... 47
Table 12 Feedback Data from Module to APP........................................................................................... 47
Table 13 Command Type 0x0F Command List ............................................................................................ 48
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
1. PRODUCT OVERVIEW
1.1. General Description
HF-BL100-CU Bluetooth Low Energy module is a high performance IOT module designed by High
Flying. It is based on Cypress chip, and provide a solution for connecting things to Bluetooth
wireless network and data transmit ting via UART interface. With the feature of low power,
small size, high anti-interference performance, the module integrates PCB antenna and use open
stamp type interface which enable customer have more flexibility on software and product
structure , and solve the RF hardware design and debug issue.
1.2. Device Feature
Smallest size: 22.8mm x 15.4mm x 2mm
With 32 bit high performance RISC 48MHz ARM M0 MCU,MCU build-in 16KB SRAM
and 128KB Flash;
1.9V~5.5V Single power supply
Support low power & multiple level power management mode
Full peripheral
GPIO interface
Serial Communication(UART application)
ADC interface
FCC/CE/BQB
ROHS compliance
1.3. Key Application
Smart LED lighting
Smart toy
Electronic Scale
Smart Cup
Smart Home Appliance
OBD
IOT, Smart Home Automation
Sports, fitness, consumer electronics products
Smart instrument, data acquisition ,sensor
PC、Tablet peripheral
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
HF-BL100-CU
Part number
CU->UART
Module Version
BL100->Bluetooth BLE Single mode
Company name
HF->Hi-Flying
Figure 1.HF-BL100-CU order information
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 10
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
Pin
Net name
Description
1
GND
Ground
2
NC
NC
3
XRES
Module reset
4
SWCLK
SWD clock interface, firmware burn
5
SWDATA
SWD data interface, firmware burn
6
NC
NC
7
NC
NC
8
NC
NC
9
NC
NC
10
NC
NC
2. HARDWARE INTRODUCTION
2.1. Pin Definition
TOPVIEW
Figure 2.HF-BL100-CU Pin Definition
Table 2 HF-BL100-CU Pin Function Definition
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 11
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
11
NC
NC
12
NC
NC
13
NC
NC
14
NC
NC
15
NC
NC
16
NC
NC
17
NC
NC
18
NC
NC
19
VBAT
+1.9V~+5.5V module power input
20
NC
NC
21
NC
NC
22
NC
NC
23
NC
NC
24
NC
NC
25
NC
NC
26
ADC0
Analog input
27
NC
NC
28
BCTS
BCTS(module send advanced signal data, wake external MCU)
29
MANUFACTURE
Restore factory setting
30
UART_TX
UART send data
31
UART_RX
UART receive data
32
WAKEUP
Enable system deep sleep & wake up STOP mode
33
GND
Module ground
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 12
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
Parameter
Description
Min
Value
Typ.
Value
Max
value
Unit
VDDD_ABS
Analog, digital, or radio supply
relative to VSS (VSSD = VSSA)
-0.5
- 6 V
VCCD_ABS
Direct digital core voltage input
relative to VSSD
-0.6
-
1.95
V
VGPIO_ABS
Maximum current per GPIO
-25 - 25
mA
IGPIO_injection
GPIO injection current, Max for
VIH > VDDD, and Min for VIL <
VSS
-0.5
0.5
mA
ESD_HBM
Electrostatic discharge human
body model
2200
V
LU
Pin current for latch up
-200
200
mA
Storage temperature
-45
125
°C
Max solder temperature
IPC/JEDEC J-STD-020
260
°C
Parameter
Condition
Min
Value
Typ.
Value
Max
Value
Uni
t
Work voltage
1.9
3.3
5.5 V BLE Subsystem
Tx peak current
Tx power =0DB
15.6
mA
Rx peak current
16.4
mA
Broadcast mode average
current
Tx power =0DB,broadcast
interval=1s
18.9
uA
Connect mode current
Connect power=0DB,connect
interval=1s
18.9
uA
CPU application
subsystem
Operate mode
System clock=48Mhz
(algorithm:0.85+0.26*48)
13.4
mA
System clock =24Mhz
7.1 mA System clock=12Mhz
4
mA System clock=6Mhz
2.5 mA System clock=3Mhz
1.7 mA
Sleep mode
Run at 3Mhz
1.1 mA
Deep sleep mode
ECO stop,WCO work
1.3 uA
Stop mode
ECO stop , WCO work
60 nA
2.2. Electrical Specification
Table 3 Limited Specification
Table 4 Electrical Specification
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 13
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
Parameter
Condition
Min value
Typ.
Value
Max value
Unit
Rx sensitivity
-89 dBm
Frequency
offset
tolerance
225
250
275
KHz
Frequency drift
-50 50
KHz
In-Band
blocking
rejection
2 MHz offset
-20
dB
>=3 MHz offset
-30
dB
Output power
0 3 dBm
Standard
frequency
2400
2482
MHz
Frequency
tolerance
±50
Ppm
Signal strength
accuracy
±5 dBm
Signal accuracy
1 dBm
Signal sampling
interval
6 uS
Channel band
2 MHz
Effective data
rate
1 Mbps
Work mode
Current
Code run
External
digital
module
Extern
al
analog
module
Clock
sour
ce
Wakeup
source
Wake
up
time
Active
850uA+260u
A per MHz
Yes
All
All
All - -
sleep
1.1mA at
3MHz
No
all
All
All
Any
interrupt
source
0
Deep sleep
1.3uA
No
WDT, LCD,
I2C/SPI,
Link-Layer
POR,
BOD
WCO
, ILO
GPIO,
WDT,
I2C/SPI
Link
Layer
25uS
hibernate
150nA
No
No
POR,
BOD
No
GPIO
2mS
stop
60nA
No
No
No
No
WAKEUP
,XRES
2mS
Table 5 RF specification
Table 6 Work Mode and System Status
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 14
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
Parameter
Description
Min.
value
Typ.
value
Max
value
Unit
Remark
A_RES
Resolution
- - 12
bits
-
A_CHNIS_S
Number of channels
– single-ended
- - 1 - 1 full speed
A-MONO
Monotonicity
- - - - YES
A_ISAR
Current
consumption
- - 1
mA
A_VINS
Input voltage range
– single-ended
VSS
-
VDDA
V
A_INRES
Input resistance
- - 2.2
kΩ
A_INCAP
Input capacitance
- - 10
pF
VREFSAR
Trimmed internal
reference to SAR
-1 - 1 % Percentage of Vbg
(1.024 V)
Table 7 AD Convertor Module DC Parameter Map
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 15
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
2.3. Mechanical size
HF-BL100-CU physical size (unit: mm)as below:
Module pad:size 22.8mm X 15.4mm ,pad space 1mm。
Figure 3. HF-BL100-CU Mechanical size
2.4. Antenna Layout
HF-BL100-CU support internal antenna. Antenna layout refer to Figure 4. Customer need to
obey following antenna design rules and module location suggestions:
For user PCB, place module on the edge area of the PCB as possible, or suspend the
antenna area.
Module antenna(22.8mmx7mm)correspondent area can‟t put components or paste
GND, the surrounding components or GND should be as far as possible from antenna
place.
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 16
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
Antenna must away from high components at least 10mm
Antenna can‟t be shielded by any metal enclosure.
Figure 4.HF-BL100-CU PCB antenna position
High Flying suggest to locate HF-BL100-CU as Figure 5 shown to reduce the influence to
antenna and wireless signal as much as possible, or contact High Flying technique people for
support
Figure 5.HF-BL100-CU Module Reference Placement
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 17
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
3. UART TRANSPARENT TRANSMIT
MODE
3.1. Transparent Transmit Mode
Transparent Transmit means the two way communication between device and mobile terminal
via the connecting with serial interface and device MCU. Device can set HF-BL100-CU baud
rate and connect interval via AT command through serial interface (refer to “ Serial AT
command Description” for details). Target different baud rate and BLE connect interval or
different packet sending interval, module would have different data handling capacity. The
default baud rate of HF-BL100-CU is 115200bps, it is recommended to set baud rate at
115200bps when transmitting big data or in highly real-time application. Baud rate support
save after power off.
Module BLE connect interval is 20ms, and able to send utmost 200 byte data one time via
serial interface. Theoretically module able to send data up to 4KB/S. Below is the detail
description about transparent transmit.
Module can receive utmost 200 byte data from serial interface one time. Module will
automatically send sub-packet according to data size, each packet limit is 20 bytes. The data
packet sending from mobile device to module must separated to sub-packet(1-20 byte each).
After receive the sub-packets, module will send to MCU in proper order.
Serial hardware protocol::115200 bps , 8, non-parity,1 stop bit 。
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 18
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
After receive data from MCU serial, module will judge if it is AT command, if it is, module
will execute the command, if not, module will transmit the data to APP under BLE connection and
notify mode enabled status.
After module receive APP data, output the data to MCU via serial interface.
If module system status changed, module will send status notification character to MCU,
such as disconnect, connect, broadcast.
Bluetooth protocol require that the minimum connect interval is 7.5ms. Default connect
interval is 20ms (comply with IOS regulation), if need to save power and apply low speed
transmit mode, user can adjust connect interval through AT command ( the maximum connect
interval is 2000ms, comply with IOS regulation)
The calculation of transmit speed : the data packet of each connect interval from APP to
module is 1 packet, max 4 packet can be transmit from module to APP in each interval (the
packet qty is related to module CPU capacity) . There is max 20 bytes in each packet, if connect
interval is T (unit :ms), then max transmit speed V (unit is byte/s) is :
Vmodule = 20*4*1000/T (V only related T )
Vapp=20*1000/T (V only related T )
Vapp: if module connect interval is 20ms, then each interval can transmit max 20 bytes, so
theoretically the max speed is 20x50 =1k byte/s. Test shows the transmit from APP to
module is stable and reliable.
Vmodule: if module connect interval is 20ms, then each interval can transmit max 80 bytes,
so theoretically the max speed is 80x 50=4k byte/s. Test shows that if transmit speed under
2kbyte/s, there is few chances of leaking packet. For safety consideration, it is recommended
to do verification and re-transmit at up level whatever it is low speed or high speed application.
In Android application, it is recommended to lower connect interval to increase speed.
Below is the example of 20ms connect interval communication mode, user can self-configure.
The lower the Speed, the lower the packet lost ratio.
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 19
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
Table 8 Module connect interval 20ms communication mode example
Remark: user can set particular communication mode according to actual application, packet
length can be set between 80byte < L < 200byte ,the relationship as below as per BLE
protocol:
If L<80 ,TS >= T ;
If 80<L<160 ,TS >= T*2 ;
If 160<L<200 ,TS >= T*3 ;
All transmit mode is safe as long as meet above conditions, TS=T is recommended,
TS=T*2,TS=T*3 is ok but the packet lost ratio is high, must add verification and re-transmit
mechanism. In another words, if apply 80byte < L < 200byte ,serial data can transmit to module
in one time, but need to reserve time for sending data from module to Bluetooth, or there will
occur rear-end. E.g. Set connect interval T=20ms, if data length is L=200, TS must over T*3 =
60ms , TS=70ms is a reasonable choice.
Serial data length can be any value under 200 byte. In order to achieve the best efficiency
and avoid full load operation , it is recommended to use 20,40,60 byte serial data packet, set
packet interval over 20ms.
Remark:in IOS, the function used to call Characteristic is:
BCharacteristicWriteWithRespons
e parameter, “write with response” mode would lower transmit efficiency to ensure the
accuracy of each packet, use “ CBCharacteristicWriteWithoutResponse” ; “write without
response” mode would promote transmit efficiency , but the accuracy of packet need to be
verified by APP up level.
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 20
-
HF-BL100-CU Low Energy Bluetooh(BLE 4.0)Module User Manual
3.2. Transparent Transmit Mode Pin Description
All pins of Transparent Transmit :UART_TX、UART_RX、WAKEUP、BCTS、XRES、
MANUFACTURE
Min. pins of Transparent Transmit:UART_TX、UART_RX、WAKEUP
Details refer to 《Appendix A》
WEAKEUP: inside high impedance, pin must be connected, pull up to stop UART receive
function. UART unable to receive data (UART able to send data), pull down to enable UART to
receive data.
MANUFACTURE: pull down inside ,can be no connection, pull up outside and power on or
reset, keep high level MANUFACTURE at least 5 second, module restore factory setting
XRES: pull up inside, can be no connection
BCTS: in normal time, output low level; BCTS output high level before sending data from
module, after sending , BCTS output low level.
3.3. Factory Default Parameter
3.3.1. Device Name
Device NAME:”HF-BL100-CU”
3.3.2. Broadcast Parameter
Broadcast Min. interval:“0800”, means 500ms
Broadcast Max. interval::“0800”, means 500ms
Broadcast type:“0”, means public
Broadcast channel :“7”,means apply channel index 37 38 39
3.3.3. Transmit Power
Broadcast transmit power :”8”, means 0dbm
Connect transmit power:”8” means 0dbm
Shanghai High Flying Electronics Technology Co., Ltdwww.hi-flying.com - 21
-
Loading...
+ 46 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.