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
18
© Copyright 2016 Laird. All Rights Reserved
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610
3.3.3 nAutoRUN Pin and Operating Modes
Operating modes (refer to the smartBASIC guide for details):
Self-contained mode
Interactive/Development mode
Table 7: nAutoRUN pin
Signal Name
Pin #
I/O
Comments
nAutoRUN /(SIO_13)
28
I
Input with active low logic. Internal pull down (default).
Operating mode selected by nAutoRun pin status:
If Low (0V), runs $autorun$ if it exists
If High (VCC), runs via at+run (and file name of application)
Pin 28 (nAutoRUN) is an input, with active low logic. In the development board (DVK-BL652-xx) it is connected so
that the state is driven by the host’s DTR output line. nAutoRUN pin needs to be externally held high or low to
select between the two BL652 operating modes:
Self-contained Run mode (nAutoRUN pin held at 0V).
Interactive/Development mode (nAutoRUN pin held at VCC).
smartBASIC runtime engine firmware checks for the status of nAutoRUN during power-up or reset. If it is low
AND if there is a smartBASIC application named $autorun$, the smartBASIC runtime engine executes the
application automatically; hence the name self-contained run mode.
3.3.4 OTA (Over-the-Air) smartBASIC Application Download
Refer to latest firmware release documentation (firmware release notes and smartBASIC user guide) for details.
Table 8: OTA mode
Signal Name
Pin #
I/O
Comments
SIO_02
23
I
Internal pull down (default).
OTA mode selected by externally pulling-up SIO_02 pin:
High (VCC), then OTA smart BASIC application download is possible.
The OTA smartBASIC application download feature can be useful for production because it allows the module to
be soldered into an end product without pre-configuration; the application can then be downloaded over-the-air
once the product has been pre-tested.
Note: It is the smartBASIC application that is downloaded over-the-air and NOT the firmware. Since this is
principally designed for use in production with multiple programming stations in a locality, the
transmit power is limited (to lower Tx power). See the smartBASIC user guide for more details.