https://www.lairdconnect.com/wireless-
modules/bluetooth-modules
20
© Copyright 2019 Laird. All Rights Reserved
Americas
: +1-800-492-2320
Europe
: +44-1628-858-940
Hong Kong
: +852 2923 0610
The Over-the-Air (OTA) feature makes it possible to download
smart
BASIC applications over the air to the BL654PA. To
enable this feature, SIO_02 must be pulled high externally.
On the development board, header connector J5-pin1 brings out the BL654PA SIO_02; J5-pin 2 brings out VCC_nRF_SW. To
pull BL654PA SIO_02 high (to net name VCC_nRF_SW on devboard), fit jumper into header J5.
Note:
When SIO_02 is high, ensure that SIO_35 (nAutoRun) is NOT high at same time, otherwise you cannot load the
smart
BASIC application script.
This section discusses Virtual Serial Port (VSP) Command mode through pulling SIO_02 high and nAutoRUN (SIO_35) low.
Refer to the documentation tab of the
BL654PA product page:
https://www.lairdconnect.com/wireless-modules/bluetooth-modules/bluetooth-5-modules/bl654-pa-series
shows the difference between VSP Bridge to UART mode and VSP Command mode and how SIO
_02
and
nAutoRUN (SIO_35) must be configured to select between these two modes.
▪
VSP Bridge to UART mode
takes data sent from phone or tablet (over BLE) and sends to BL654PA to be sent out of
the BL654PA UART (therefore data not stored on BL654PA).
▪
VSP Command mode
takes data sent from phone or tablet and sends it to the BL654PA. This interprets as an AT
command and the response is sent back. The OTA Android or iOS application can be used to download any
smart
BASIC
application script over-the-air to the BL654PA, since a
smart
BASIC application is downloaded using AT commands.
Figure 14: Differences between VSP bridge to UART mode and VSP Command mode
Table 6: vSP modes
Mode
SIO
_02 and Jumper position J5
nAutoRUN (SIO_35) and Jumper position J12
VSP Bridge to
UART mode
High by fitting jumper in J5
High by fitting jumper in J12 pin 2-1 and untick DTR box in
UwTerminalX (the DTR box is ticked by default in
UwTerminalX)
VSP Command
mode
High by fitting jumper in J5
Low by fitting jumper in J12 pin 2-3
SIO_02 High (externally) selects the VSP service. When SIO_02 is High and nAutoRUN (SIO_35) is Low (externally), this
selects VSP Command mode. When SIO_02 is High and nAutoRUN is High (externally), this selects VSP Bridge to UART
mode.
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 (SIO_35) set to Low, the
device enters VSP Command mode and you can then download the
smart
BASIC application onto the module over the air from
the phone (or tablet).
BL654PA
Summary of Contents for BL654PA
Page 1: ...Version 1 0 ...