User's Manual
Table Of Contents
- 1 Overview and Key Features
- 2 Specification
- 2.1 Specification Summary
- 3 Hardware Specifications
- 3.3.4 OTA (Over-the-Air) smartBASIC Application Download
- 4 Power Consumption
- 5 Functional Description
- 5.1 Power Management (includes Brown-out and Power on Reset)
- 5.2 Clocks and Timers
- 5.3 Memory for smartBASIC Application Code
- 5.4 Radio Frequency (RF)
- 5.5 NFC
- 5.6 UART Interface
- 5.7 SPI Bus
- 5.8 I2C Interface
- 5.9 General Purpose I/O, ADC, PWM and FREQ
- 5.10 nRESET pin
- 5.11 nAutoRUN pin
- 5.12 vSP Command Mode
- 5.13 Two-wire Interface JTAG
- 5.14 BL652 Wakeup
- 5.15 Low Power Modes
- 5.16 Temperature Sensor
- 5.17 Random Number Generator
- 5.18 AES Encryption/Decryption
- 5.19 Optional External Serial (SPI) Flash
- 5.20 Optional External 32.768 kHz crystal
- 5.21 BL652-SA On-board Chip Antenna Characteristics
- 6 Hardware Integration Suggestions
- 7 Mechanical Details
- 8 Application Note for Surface Mount Modules
- 9 FCC and IC Regulatory Statements
- 10 Japan (MIC) Regulatory
- 11 CE Regulatory
- 12 EU Declarations of Conformity
- 13 Ordering Information
- 14 Bluetooth SIG Qualification
BL652
Datasheet
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/bluetooth
40
© Copyright 2016 Laird. All Rights Reserved
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610
Figure 7: Differences between VSP bridge to UART mode and VSP Command mode
Table 25: vSP modes
Mode
SIO_02
nAutoRUN
VSP Bridge to UART Mode
High
High
VSP Command Mode
High
Low
SIO_02 High (externally) selects the VSP service. When SIO_02 is High and nAutoRUN is Low (externally), this
selects VSP Command mode. When SIO_12 is High and nAutoRUN is High (externally), this selects VSP Bridge to
UART mode.
When SIO_02 on module is set HIGH (externally), VSP is enabled and auto-bridged to UART when connected.
However, for VSP Command mode, auto-bridge to UART is not required. With SIO_02 set to High and nAutoRUN
set to Low, the device enters VSP Command mode and you can then download the smartBASIC application onto
the module over the air from the phone (or tablet).
Two-wire Interface JTAG
The BL652 Firmware hex file consists of four elements:
smartBASIC runtime engine
Softdevice
Master Bootloader
Laird BL652 smartBASIC firmware (FW) image part numbers are referenced as w.x.y.z (ex. v28.x.y.z). The
BL652smartBASIC runtime engine and Softdevice combined image can be upgraded by the customer over the
UART interface.
You also have the option to use the two-wire (JTAG) interface, during production, to clone the file system of a
Golden preconfigured BL652 to others using the Flash Cloning process. This is described in the app note Flash
Cloning for the BL652. In this case the file system is also part of the .hex file.
Signal Name
Pin No
I/O
Comments
SWDIO
5
I/O
Internal pull-up resistor
SWDCLK
6
I
Internal pull-down resistor