background image

HF-BL200A Low Energy Bluetooh

BLE 4.1

Module User Manual 

 

Shanghai High Flying Electronics Technology Co., Ltd     www.hi-flying.com

 

  -  12 

2.2.

  Electrical Specification 

Table 3  Limited Specification 

Parameter 

Description 

Min 
Value 

Typ. 
Value 

Max 
value 

Unit  

VPIN 

Pin voltage limit 

-0.1 

VDD 

T_VRISE 

Power up time 

100 

mS 

ESD_HBM 

 

 

 

4000 

ESD_MM 

 

 

 

100 

ESD_CDM 

 

 

 

500 

Storage temperature 
range 

 

-50 

 

150 

°C  

    Table 4  Electrical Specification   

Parameter 

Condition 

Min 
Value 

Typ. 
Value 

Max 
Value 

Unit  

Work voltage 

 

2.7 

3.3 

3.6 

Work temperature 

 

-40 

 

85 

°C  

I_DORM 

Dormant status 

 

 

uA 

I_SLEEP 

Sleep status 

 

 

uA 

I_TX0DBM 

TX Mode 0dBm 

 

23 

 

mA 

I_TX10DBM 

TX Mode, 10dBm 

 

45 

 

mA 

I_TXN20DBM 

TX Mode -20dBm 

 

15 

 

mA 

I_RX 

RX default 

 

20 

 

mA 

 

System clock =24Mhz 

 

7.1 

 

mA 

 

System clock =12Mhz 

 

 

mA 

 

System clock =6Mhz 

 

2.5 

 

mA 

 

System clock =3Mhz 

 

1.7 

 

mA 

Sleep mode 

Operating 3Mhz 

 

1.1 

 

mA 

Deep sleep mode 

ECO Stop

WCO work 

 

1.3 

 

uA 

Stop mode 

ECO Stop

WCO work 

 

60 

 

nA 

  

   Table 5  RF specification  

Parameter 

Condition 

Min value 

Typ. Value  Max value 

Unit 

Receiving 
sensitivity 

 

 

-93 

 

dBm 

Operating 
frequency range 

 

2400 

 

2483 

MHz 

Frequency 
deviation 

 

225 

250 

275 

KHz 

Output Power 

 

 

19 

 

dBm 

Frequency 
tolerance 

 

 

±

50 

 

Ppm 

Summary of Contents for HF-BL200A-0

Page 1: ...teristic Support IEEE 802 15 1 BT4 1 Wireless Standard Support wireless upgrade OTA UART Transparent Transmit Module Supper low sleep mode power 3 5uA excellence power save scheme suitable for battery powered applications Support internal external antenna options Single 2 7V 3 6V power supply Smallest size internal antenna 12 7mm x 12mm x 2mm external antenna 9 5mm x 12mm x 2mm SIG QDID 91979 ROHS...

Page 2: ...parent Transmit Mode 16 3 2 Transparent Transmit Mode Pin Description 18 3 3 Factory Default Parameter 19 3 3 1 Device Name 19 3 3 2 Broadcast Parameter 19 3 3 3 Transmit Power 19 3 3 4 Connect Parameter 19 3 3 5 Baud rate 19 3 3 6 Send Latency Parameter 19 4 UART AT COMMAND DEFINITION 20 4 1 Module Operation Mode Configure 20 4 2 AT Command Overview 20 4 2 1 Command Format 21 4 2 2 Command List 2...

Page 3: ...on 39 4 3 30 Restore Factory Setting via At Command 39 4 3 31 Enable Module Deep Sleep 39 4 3 32 Restore Factory Setting via Hardware Method 40 5 APP COMMAND 41 5 1 Channel and Data Description 41 5 2 Data Format 41 5 3 Command Content 42 5 3 1 Command Type 0x0E 42 5 3 2 Command Type 0x0F 42 6 BASIC COMMUNICATION MECHANISIM 44 6 1 Application Service Data Channel user define application service UU...

Page 4: ...HF BL200A Low Energy Bluetooh BLE 4 1 Module User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 4 APPENDIX D CONTACT INFORMATION 51 ...

Page 5: ...Function Definition 10 Table 3 Limited Specification 12 Table 4 Electrical Specification 12 Table 5 RF specification 12 Table 8 Module connect interval 20ms communication mode example 17 Table 9 Error Code list 22 Table 10 AT Command List 22 Table 11 Command Data from APP to Module 41 Table 12 Feedback Data from Module to APP 41 Table 13 Command Type 0x0F command list 42 Table 14 Command Type 0x0F...

Page 6: ...HF BL200A Low Energy Bluetooh BLE 4 1 Module User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 6 History V1 0 02 02 2018 First Version ...

Page 7: ...le customer have more flexibility on software and product structure and solve the RF hardware design and debug issue 1 2 Device Feature 2 7 3 6V Single power supply Smallest size internal antenna 12 7mm x 12mm x 2mm external antenna 9 5mm x 12mm x 2mm With 32 bit high performance RISC 48MHz ARM M0 MCU MCU build in 12KB SRAM and 512KB Flash Support low power multiple level power management mode Ful...

Page 8: ...reless paramete r Certificate BQB Wireless standard 802 15 1 Frequency range 2 402GHz 2 480GHz Data rate 1Mbps 2 4GHz Tx power Max 10 dBm Rx sensitivity 93 dBm Hardware paramete r Data interface UART SPI I2C PWM Operating voltage 2 7 3 6V Power consumption Dormant 2uA Sleep 3 11uA DIG Active 5mA RF Active 20mA Average power consumption 20ms broadcast 3 2mA 0 5ms broadcast 130uA 4s broadcast 1 3uA ...

Page 9: ...Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 9 HF BL200A X Model 1 Built in PCB antenna 0 External pad antenna Module Version BL200A Bluetooth BLE Single mode Company name HF Hi Flying Figure 1 HF BL200A order information ...

Page 10: ...Definition Table 2 HF BL200A Pin Function Definition Pin Net name Features Description 1 2 13 19 21 GND Power Ground 3 VEQ Power e fuse parameter programming pin please leave it blank 4 IO23 D A I O GPIO AIO 1 5 IO24 D A I O Add 4 7K resister external GPIO PWM0 AIO2 6 IO01 D A I O GPIO SPI M CLK PWM1 AIO3 7 IO02 D A I O GPIO SPI M MISO PWM2 AIO4 8 MANUFACTURE DIG I O Add 4 7K resister external ...

Page 11: ... used to wake up the MCU the data is sent after the output low IO05 I2C M 11 IO06 DIG I O GPIO I2C M 12 VDD Power Power input 2 7V 3 6V 14 UART_TX DIG I O 3 3V TTL IO09 15 UART_RX DIG I O 3 3V TTL IO10 16 RESET DIG I Hardware reset active low 17 UART_DEB_TX DIG I O Debug UART_TX IO15 18 UART_DEB_RX DIG I O Debug UART_TX IO16 20 RF RF RF antenna pin note 1 In normal startup IO03 and IO24 must be co...

Page 12: ...alue Unit Work voltage 2 7 3 3 3 6 V Work temperature 40 85 C I_DORM Dormant status 2 uA I_SLEEP Sleep status 3 uA I_TX0DBM TX Mode 0dBm 23 mA I_TX10DBM TX Mode 10dBm 45 mA I_TXN20DBM TX Mode 20dBm 15 mA I_RX RX default 20 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 Operating 3Mhz 1 1 mA Deep sleep mode ECO Stop WCO work 1 3 uA ...

Page 13: ...echnology Co Ltd www hi flying com 13 Signal strength accuracy 5 dBm Signal accuracy 1 dBm 2 3 Mechanical size HF BL200A physical size unit mm as below HF BL200A 0 Pads Size 9 5mm X 12mm pad pitch 1 27mm Figure 3 HF BL200A 0 Mechanical size HF BL200A 1 Pads Size 12 7mm X 12mm pad pitch 1 27mm ...

Page 14: ...lace module on the edge area of the PCB as possible or suspend the antenna area Module antenna 5mmx12mm correspondent area can t put components or paste GND the surrounding components or GND should be as far as possible from antenna place Antenna must be away from high components at least 10mm Antenna can t be shielded by any metal enclosure High Flying suggests to locate HF BL200A as Figure 5 to ...

Page 15: ...HF BL200A Low Energy Bluetooh BLE 4 1 Module User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 15 Figure 5 HF BL200A Module Reference Placement ...

Page 16: ...ort save after power off Figure 6 Basic HF BL200A wireless network structure Module BLE connect interval is 20ms and it is able to send almost 200 byte data one time via serial interface Theoretically module is able to send data up to 4KB S Below is the detail description about transparent transmit Module can receive almost 200 byte data from serial interface one time Module will automatically sen...

Page 17: ...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 the...

Page 18: ...ded to use 20 40 60 byte serial data packet set packet interval over 20ms Remark in IOS the function is used to call Characteristic is BCharacteristicWriteWithRespons e parameter write with response mode would lower transmit efficiency to ensure the accuracy of each packet Using CBCharacteristicWriteWithoutResponse write without response mode would promote transmit efficiency but the accuracy of p...

Page 19: ...00ms 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 3 3 4 Connect Parameter Min interval 0016 means 20ms Max interval 0032 means 40ms Slave Latency 0 means 0 Connect timeout 0200 means 2000ms 3 3 5 Baud rate Baud rate 115200 3 ...

Page 20: ...00A Default UART Parameter User can configure the module via AT command through UART or use Evaluation Kit to test Evaluation kit refer to Appendix B Description AT command debug tool recommend use friend serial debug assistant and SecureCRT tool which can be download from company website 4 2 AT Command Overview AT command can be inputted via serial debug tool or compile as below photo shows AT HE...

Page 21: ...e format as below Format description mean the part must include mean optional part Command message AT CMD op para 1 para 2 para 3 para 4 CR LF AT command message prefix CMD command character string op command operate character can be parameter setting or query means parameter setting means query para n parameter setting code if query it is not required CR end ASCII code 0x0d LF return ASCII code 0...

Page 22: ...ASCII code 0x0d LF ASCII code 0x0a Error code Table 9 Error Code list Error code Descritpion ERP Invalid command WRONG Invalid parameter DENY Operation denied 4 2 2 Command List Table 10 AT Command List Command Type Data transmit direction Save or not Function description Comman d detail AT HELP MCU Module No Helo command 4 3 1 AT REN Name MCU Module Yes Set module NAME 4 3 2 AT REN MCU Module Que...

Page 23: ...U Module Yes Set auto broadcast switch 4 3 17 AT ADVAL MCU Module Query Query auto broadcast switch 4 3 18 AT ADVSTART MCU Module No Start broadcast 4 3 19 AT ADVSTOP MCU Module No Stop broadcast 4 3 20 AT CNN MCU Module Query Query current BLE subsystem status 4 3 21 AT CNN D MCU Module No Disconnect 4 3 22 AT PID Data APP MCU Module Yes Ser device verify code 4 3 23 AT PID APP MCU Module Query Q...

Page 24: ...parameter via hardware 4 3 37 remark UART serial interface command must end with CR LF feedback must end with CR LF remark APP means the command is also applicable to APP command APP command no need CR LF 4 3 AT Command 4 3 1 Help command Function display all command description Effective time effective immediately Command AT HELP CR LF feedback AT OK CR LF data mean command success feedback descr...

Page 25: ...cter default factory name is HF BL200A AT ERP r n 0 means invalid command failed 4 3 4 Set Connect Parameter Function set BLE connect parameter Effective time effect immediately at connection status or effective after connection Command AT CIT IntervalMin IntervalMax Slave Latency connSupervision Timeout CR LF IntervalMin 4 character means HighByte LowByte 0 9 means 0 9 0200 decimal 200 1 25ms Int...

Page 26: ...ailed 4 3 5 Query Connect Parameter Function Query module connect parameter Effective time immediately Command AT CIT CR LF Feedback AT CIT IntervalMin IntervalMax Slave Latency connSupervision Timeout CR LF IntervalMin 4 character means HighByte LowByte 0 9 means 0 9 0200 decimal 200 1 25ms IntervalMax 4 character means HighByte LowByte 0 9 means 0 9 1000 decimal1000 1 25ms Slave Latency 1 charac...

Page 27: ... Command AT BPS baud rate CR LF Baudrate 6 character 0 9 means 0 9 115200 decimal 115200 Feedback AT OK r n means success AT WRONG r n means invalid parameter modify failed AT ERP r n means invalid command modify failed Remark only apply regular baud rate 4800 9600 19200 38400 57600 115200 other parameter would be consider invalid 4 3 7 Query Baud rate Function query current baud rate Effective ti...

Page 28: ...byte e g 123456789012 0x12 0x34 0x56 0x78 0x90 0x12 character can only be 0 9 A F APP Command do not need CR LF 4 3 9 Query Software Version function Query device current software version Effective time immediately Command AT VER CR LF APP Command do not need CR LF Feedback AT VER version CR LF means query success APP Command do not need CR LF Version character string e g 100 CU V AT ERP r n means...

Page 29: ...k AT OK r n means command successfully received AT WRONG r n means invalid parameter modify failed if not 1 8 then it is invalid parameter AT ERP r n means invalid command modify failed 4 3 11 Query Transmit Power Function query device current transmit power broadcast power connect power Effective time immediately Command AT TPL CR LF means query command Feedback AT TPL Data0 Data1 CR LF Data0 bro...

Page 30: ...el 1 character Min interval HighByte LowByte 0 9 means 0 9 100 decimal 100 unit 0 625ms Max interval HighByte LowByte 0 9 means 0 9 1200 decimal 1200 unit 0 625ms Broadcast type 0 1 means 0 1 0 public 1 random only public type available temporarily Broadcast channel 1 7 means 1 7 the three bit in low order correspond each channel index bit0 channel37 bit1 channel 38 bit2 channel39 the setting can ...

Page 31: ...it in low order correspond each channel index bit0 channel37 bit1 channel 38 bit2 channel39 the setting can be combined AT ERP r n means invalid command query failed 4 3 14 Set User define Broadcast Data Function set the user define data in broadcast the max data length is 11 bytes Effective time effective in next broadcast Command AT ADV Data CR LF Data max length is 11 bytes data format must fol...

Page 32: ...d disconnection Effective time effective when disconnect Command AT ADVAL data CR LF Data 0 disable 1 means enable Feedback AT OK r n means command successfully received AT WRONG r n means invalid parameter command failed AT ERP r n means invalid command command failed 4 3 17 Query Auto broadcast Switch Function query the functions status of auto broadcast Effective time immediately Command AT ADV...

Page 33: ...t broadcast AT ADVSTART status CR LF means command successfully received but status incorrect Status each character indicate a status 0 CYBLE_CNN_INITIALIZING 1 CYBLE_CNN_ADVERTISING 2 CYBLE_CNN_CONNECTED 3 CYBLE_CNN_DISCONNECTED 4 CYBLE_CNN_STOPPED 5 CYBLE_CNN_CONNECTING AT ERP r n means invalid command command failed 4 3 19 Stop Broadcast Function stop broadcast Effective time execute immediatel...

Page 34: ...ery Current BLE Subsystem Status Function query current device status Effective time immediately Command AT CNN CR LF Feedback AT CNN status CR LF means query success Status each character indicate a status 0 CYBLE_CNN_INITIALIZING 1 CYBLE_CNN_ADVERTISING 2 CYBLE_CNN_CONNECTED 3 CYBLE_CNN_DISCONNECTED 4 CYBLE_CNN_STOPPED 5 CYBLE_CNN_CONNECTING AT ERP r n means invalid command query failed 4 3 21 D...

Page 35: ...TING AT ERP r n means invalid command change failed 4 3 22 Set Device Verify Code Function change device verify code all 0 means no verify code Effective time effective in next Bluetooth connection Command AT PID Data CR LF APP command no need CR LF Data 4 character means 1 hexadecimal data 0 9 A F means 0 9 A F 12AD hexadecimal 0x12AD Feedback AT OK r n means command successfully received AT WRON...

Page 36: ...during sending BCTS keep low level until sending finished set BCTS high level AT command feedback data from UART is not effected by this Effective time immediately AT CDL X CR LF X 2 character means 1 byte 10 decimal 10 unit ms max 10ms Feedback AT OK r n means command successfully received AT WRONG r n means invalid parameter change failed AT ERP r n means invalid command change failed In order t...

Page 37: ...ore Effective time immediately save will stop BLE function and other interrupt after save system will restore Command AT SAVE CR LF APP command no need CR LF Feedback AT OK r n means command correct AT ERP r n means invalid command command failed APP Command no need r n 4 3 26 Module Restore Function module restore system software restore Effective time stop BLE function execute immediately Comman...

Page 38: ...op wake up through wake up pin only 3 force CPU stop BLE subsystem must stop restore via wake up pin and xres only Feedback AT OK r n 0 means command success AT WRONG r n means invalid parameter command failed AT ERP r n means invalid command command failed 4 3 28 Module BLE subsystem Status Notification Function module provide MCU the current BLE subsystem status variation Notify time notify when...

Page 39: ...At Command function all changeable parameter restore to factory setting include baud rate device name transmit power user define broadcast data UART data latency data verify code broadcast parameter connect parameter Effective time immediately system compulsory restore Command AT RELD CR LF Feedback AT OK r n means command success system restore AT ERP r n means invalid command restore failed 4 3 ...

Page 40: ...w level after sending finished and must waiting another 50 us to set low level to high level Figure 10 Module UART Receive Enable Signal Map Feedback null 4 3 32 Restore Factory Setting via Hardware Method Function all changeable parameter restore to factory setting include baud rate device name transmit power user define broadcast data UART data latency data verify code broadcast parameter connec...

Page 41: ... 11 Command Data from APP to Module Byte length Data 0 1 byte Include all byte of command type and command content Command type Data 1 1 byte 0x0E almost 18 bytes in one group AT command 0x0F send verify code Command content Data 2 d ata 19 18 bytes Details refer to command list command type APP MODULE Table 12 Feedback Data from Module to APP Byte length Data 0 1 byte Including all bytes from com...

Page 42: ...d refer to AT command 4 3 10 5 3 2 Command Type 0x0F Command Function send verify code from APP to module if no verification after connection module will not execute any other command from APP if module self verification is null or 0000 then verify code is no needed Verify code have time limit if no verification within 10 seconds module will disconnect with APP Command Content Table 13 Command Typ...

Page 43: ...td www hi flying com 43 Table 14 Command Type 0x0F Feedback List Byte length Data 0 1 byte 2 Include all bytes from command type and command content comman dtype Data 1 1 byte 0x0F Verified and feedback Command content Data 2 1 byte Data 2 Verification feedback 0x00 success 0x01 failed 0x02 no verify code ...

Page 44: ...thResponse APP send OTA mode switch command 0x2B13 Notify WriteWithResponse APP command 6 1 1 Module APP UART Data Channel feature UUID 0x2B10 Table 16 0x2B10 feature UART Module APP Channel Description UUID Executable operation Bytes Default value Remark 0x2B10 Notify WriteWithRespons e 20 Null Module receive data from UART RX and notify APP via notify channel Remark data input from UART and outp...

Page 45: ...ID Executable operation Byte Default value remark 0x2B12 WriteWitho utRespons e 20 Null Mode switch switch from application mode to OTA status command data is bootloader 6 1 4 APP Module APP Command Channel Feature UUID 0x2B13 Table 19 0x2B13 Feature APP Command Channel Description Feature value UUID Executable operation Byte Default value remark 0x2B13 Notify Writ eWithResp onse 20 null APP comma...

Page 46: ...mV 6 3 OTA Service Data Channel OTA service UUID 00060000 F8CE 11E4 ABF4 0002A5D5C51B Table 22 Description of OTA Service of All Channel UUID Channel arritbute function 00060001 F8CE 11E4 ABF4 0002A5D5C51B WriteWithResponse OTA data transmit 6 3 1 APP Module OTA Data Channel Table 23 Feature OTA Data Channel Feature Description Feature value UUID Executable operation byte Default value remark 0006...

Page 47: ...bag opened device need to be re baked if window time over 168 hours 3 Recommended to over bake with N2 supplied 4 Recommended to reflow oven with N2 supplied 5 Bake required with 24 hours at 125 5 6 Recommended to store at 10 RH with vacuum packing 7 If SMT process needs twice reflow 1 TOP side side Case 1 BLE module mounted on PCB TOP need to bake TOP side after BOT side processed 168 hours windo...

Page 48: ...nergy Bluetooh BLE 4 1 Module User Manual Shanghai High Flying Electronics Technology Co Ltd www hi flying com 48 7 3 Shipping Information Tape reel Carton Size TBD mm size TBD mm inside Figure 12 Package Information ...

Page 49: ...ll reset the module pull down at least 10 ms then pull up BCTS Module UART output notify signal output wakeup external MCU remind MCU there is data output Module will pull down BCTS and delay Xms before output data X set by external MCU via At command in default there is no latency After sending data BCTS pull up if there is new data sending BCTS will pull up after sending all the new data WAKEUP ...

Page 50: ...U to module need to pull down WAKEUP pin after sending finished pull up WAKEUP to lower the power There must be a latency from WAKEUP pull down to MCU sending data the time is no less 拉低 than 2ms Stop Mode Wakeup WAKEUP pull down AT command send out Stop command when system enter into STOP mode can be wakeup through pull up WAKEUP UART_TX RX UART data send receive signal Manufacture RELD restore f...

Page 51: ... Copyright High Flying May 2011 The information disclosed herein is proprietary to High Flying and is not to be used by or disclosed to unauthorized persons without the written consent of High Flying The recipient of this document shall respect the security status of the information The master of this document is stored on an electronic database and is write protected and may be altered only by au...

Reviews: