User's Manual

Table Of Contents
BL652
Datasheet
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/bluetooth
13
© Copyright 2016 Laird. All Rights Reserved
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610
Pin Definition Notes:
Note 2
DIO = Digital Input or Output.
I/O voltage level tracks VCC.
Note 3
AIN = Analog Input
Note 4
DIO or AIN functionality is selected using the GpioSetFunc() function in smartBASIC.
Note 5
AIN configuration selected using GpioSetFunc() function.
Note 6
I2C, UART, SPI controlled by xxxOPEN() functions in smartBASIC.
Note 7
SIO_5 to SIO_8 are DIO by default when $autorun$ app runs on power-up.
Note 8
JTAG (two-wire SWD interface), pin 5 (SWDIO) and pin 6 (SWDCLK).
JTAG is NOT required for customer use. Upgrading smartBASIC runtime engine firmware or loading
the smartBASIC applications is done using the UART interface.
Note 9
Pull the nRESET pin (pin 7) low for minimum 100 milliseconds to reset the BL652.
Note 10
SPI CS is created by using any spare SIO pin within their smartBASIC application script allowing multi-
dropping.
Note 11
The SIO_02 pin must be pulled high externally to enable an OTA (over-the-air) smartBASIC
application download. Refer to the latest firmware release documentation for details.
Note 12
Ensure that SIO_02 (pin 23) and AutoRUN (pin 28) are not both high (externally), in that state, the
UART is bridged to Virtual Serial Port service; the BL652 module does not respond to AT commands
and cannot load smartBASIC application scripts.
Note 13
The smartBASIC runtime engine has DIO (Default Function) INPUT pins, which are set PULL-UP by
default. This avoids floating inputs (which can cause current consumption to drive with time in low
power modes (such as StandbyDoze). You can disable the PULL-UP through your smartBASIC
application.
All of the SIO pins (with a default function of DIO) are inputs (apart from SIO_05 and SIO_08, which
are outputs):
SIO_06 (alternative function UART_TX) is an output, set High (in the firmware).
SIO_05 (alternative function UART_RTS) is an output, set Low (in the firmware).
SIO_08 (alternative function UART_RX) is an input, set with internal pull-up (in the firmware).
SIO_07 (alternative function UART_CTS) is an input, set with internal pull-down (in the
firmware).