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
42
© Copyright 2016 Laird. All Rights Reserved
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610
Note: J3 and J4 (on the DVK-BL652-xx development board allows Laird on-board JTAG J-link programmer
signals to be routed off the development board by fitting jumpers in the J3 pins (2-3) and J4 pins (2-3).
BL652 Wakeup
5.14.1 Waking Up BL652 from Host
Wake the BL652 from the host using wake-up pins (any SIO pin). Refer to the smartBASIC user guide for details.
You may configure the BL652’s wakeup pins via smartBASIC to do any of the following:
Wake up when signal is low
Wake up when signal is high
Wake up when signal changes
Refer to the smartBASIC user guide for details. You can access this guide from the Laird BL652 product page.
Low Power Modes
The BL652 has three power modes: Run, Standby Doze, and Deep Sleep.
The module is placed automatically in Standby Doze if there are no pending events (when WAITEVENT statement
is encountered within a customer’s smartBASIC script). The module wakes from Standby Doze via any interrupt
(such as a received character on the UART Rx line). If the module receives a UART character from either the
external UART or the radio, it wakes up.
Deep sleep is the lowest power mode. Once awakened, the system goes through a system reset.
Temperature Sensor
The on-silicon temperature sensor has a temperature range greater than or equal to the operating temperature
of the device. Resolution is 0.25 degrees.
To read temperature from on-silicon temperature sensor (in tenth of centigrade, so 23.4°C is output as 234):
In command mode, use ATI2024
or
From running from a running smartBASIC application script, use SYSINFO(2024)
Random Number Generator
Exposed via an API in smartBASIC (see smartBASIC documentation available from the BL652 product page).
The rand() function from a running smartBASIC application returns a value.
AES Encryption/Decryption
Exposed via an API in smartBASIC (see smartBASIC documentation available from the BL652 product page).
Function called aesencrypt and aesdecrypt.