BL652 Development Kit
User Guide
Embedded Wireless Solutions Support Center:
http://ews-support.lairdtech.com
www.lairdtech.com/bluetooth
20
© Copyright 2016 Laird. All Rights Reserved
Americas: +1-800-492-2320
Europe: +44-1628-858-940
Hong Kong: +852 2923 0610
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).
7
S
OFTWARE
The development board connects the BL652 module to a virtual COM port of a PC or other device. From a PC,
you can communicate with the module using Laird’s UwTerminal application (version 7.20 or newer for
Windows) or UwTerminalX (a cross platform equivalent of UwTerminal available for Windows, Mac, and Linux).
Both utilities allow connection to serial devices using any combination of the communications parameters listed
in
Table 6
.
Table 6: UwTerminal/UwTerminalX communication parameters for BL652
Port (Windows)
1 to 255
Port (Mac/Linux)
Any /dev/tty device
(UwTerminalX only)
Baud Rate
1200 to 921,600
Note: Baud rate default is 115200 for BL652.
Parity
None
Data Bits
8
Stop Bits
1
Handshaking
None or CTS/RTS
Note:
Baud rates higher than 115200 depend on the COM port capabilities of the host PC and may require
an external USB – RS232 adapter or
ExpressCard – RS232 card
The benefits of using UwTerminal/UwTerminalX include the following:
Continually displayed status of DSR, CTS, DCD, and RI
Direct control of DTR on the host PC via a check box
Direct control of RTS, if CTS / RTS Handshaking is disabled when UWTerminal is launched
Sending UART BREAK signals. Following provides explanation UART Break.
(
https://en.wikipedia.org/wiki/Universal_asynchronous_receiver/transmitter#Break_condition
)
BASIC tab provides standalone testing and development of smartBASIC applications and allows UwTerminal
operation to be automated (UwTerminal only)
Additional built-in features (right click in Terminal tab screen) to accelerate development including
Automation and various XCompile / Load / Run options for downloading smartBASIC applications into the
BL652.
Note: Full details on smartBASIC are available in the smartBASIC User Guide available at the Laird product
page for BL652 (
http://www.lairdtech.com/products/bl652-ble-module
) along with a document giving
a basic introduction to UwTerminal. A help file is included with UwTerminalX that gives an overview
of the program.