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
14
© Copyright 2016 Laird. All Rights Reserved
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610
Pin Definition Notes:
SIO_02 is an input set with internal pull-down (in the firmware). It is used for OTA downloading
of smartBASIC applications. Refer to the latest firmware release documentation for details.
Note 14
Not required for BL652 module normal operation. If you fit an external serial (SPI) flash for data
logging purposes, then that external serial (SPI) flash must connect to BL652 module pins SIO_12
(SFLASH_CS), SIO_14 (SFLASH_MISO), SIO_16 (SFLASH_CLK), and SIO_20 (SFLASH_MOSI); in that
case, a high level API in smartBASIC can be used for fast access using open/close/read/write API
functions.
By default, these are GPIO pins. Only when in their FlashOpen() smartBASIC app are these lines
dedicated to SPI and for talking to the off-board flash.
If you decide to use an external serial (SPI) flash with BL652-SX-xx, then ONLY the manufacturer part
numbers below MUST be used:
4 Mbit Macronix MX25R4035F
http://www.macronix.com/Lists/DataSheet/Attachments/3288/MX25R4035F,%20Wide%20Ran
ge,%204Mb,%20v1.2.pdf
8 Mbit Macronix MX25R8035F
http://www.macronix.com/Lists/DataSheet/Attachments/3532/MX25R8035F,%20Wide%20Ran
ge,%208Mb,%20v1.2.pdf
smartBASIC does not provide access to any external serial (SPI) flash other than these part numbers.
Note 15
Not required for BL652 module normal operation. The on-chip 32.768kHz RC oscillator provides the
standard accuracy of ±250 ppm, with calibration required every 8seconds (default) to stay within
±250 ppm.
BL652 also allows as an option to connect an external higher accuracy (±20 ppm) 32.768 kHz crystal
to the BL652-SX-xx pins SIO_01/XL2 (pin 24) and SIO_00/XL1 (pin 25). This provides higher accuracy
protocol timing and helps with radio power consumption in the system standby doze/deep sleep
modes by reducing the time that the Rx window must be open.
The BL652 module is delivered with the integrated smartBASIC runtime engine firmware loaded (but no onboard
smartBASIC application script). Therefore it boots into AT command mode by default.
At reset, all SIO lines are configured as the defaults shown above.
SIO lines can be configured through the smartBASIC application script to be either inputs or outputs with pull-ups
or pull-downs. When an alternative SIO function is selected (such as I2C or SPI), the firmware does not allow the
setup of internal pull-up/pull-down. Therefore, when I2C interface is selected, pull-up resistors on I2C SDA and
I2C SCL must be connected externally as per I2C standard.
UART_RX, UART_TX, and UART_CTS are 3.3 V level logic (if VCC is 3.3 V; such as SIO pin I/O levels track VCC). For
example, when Rx and Tx are idle, they sit at 3.3 V (if VCC is 3.3 V). Conversely, handshaking pins CTS and RTS at
0V are treated as assertions.