Laird BL652 User Manual
Hide thumbs Also See for BL652:

Advertisement

Quick Links

A
User Guide
BL652 Development Kit
Version 1.4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BL652 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Laird BL652

  • Page 1 User Guide BL652 Development Kit Version 1.4...
  • Page 2 (Virtual Serial Port) Modes and OTA 15 Nov 2016 (Over the Air) smart BASIC Application Download Raj Khatri section. Americas: +1-800-492-2320 Embedded Wireless Solutions Support Center: Europe: +44-1628-858-940 http://ews-support.lairdtech.com Hong Kong: +852 2923 0610 www.lairdtech.com/bluetooth © Copyright 2016 Laird. All Rights Reserved...
  • Page 3: Table Of Contents

    BL652 Default Configuration and Jumper Settings ................10 Functional Blocks .............................. 11 Power Supply ............................12 6.1.1 Additional Power Option (for BL652 only) – Coin Cell ............13 Reset Button ............................14 SWD (JTAG) Interface ........................... 14 Four-wire UART Serial Interface ......................15 UART Mapping .............................
  • Page 4 10.1 Coin Cell Insertion ..........................36 10.2 Coin Cell Removal ..........................36 11 Additional Documentation ..........................37 Americas: +1-800-492-2320 Embedded Wireless Solutions Support Center: Europe: +44-1628-858-940 http://ews-support.lairdtech.com Hong Kong: +852 2923 0610 www.lairdtech.com/bluetooth © Copyright 2016 Laird. All Rights Reserved...
  • Page 5: Overview

    Bluetooth Low Energy (BLE) plus Near Field Communication (NFC) applications. The Laird BLE development kit is designed to support the rapid development of applications and software for the BL652 series of BLE modules featuring Laird’s innovative event driven programming language – smartBASIC.
  • Page 6: Bl652 Development Kit - Main Development Board

    The development board also has support for plugging in 3rd party Arduino Shield boards. The development board allows the BL652 series module to physically connect to a PC via the supplied USB cable for development purposes. The development board provides USB-to-Virtual COM port conversion through a FTDI chip –...
  • Page 7  IO break-out 2.54 mm pitch pin header connectors (plated through-holes) that bring out all interfaces of the BL652 module – UART, SPI, I2C, SIO [DIO or AIN (ADCs)], PWM, FREQ, NFC – and allow for plugging in external modules/sensors.
  • Page 8: Understanding The Development Board

    USB2 connector Points PTH Test USB-SWD interface Points EEPROM Figure 1: Dev board contents and locations device Americas: +1-800-492-2320 Embedded Wireless Solutions Support Center: Europe: +44-1628-858-940 http://ews-support.lairdtech.com Hong Kong: +852 2923 0610 www.lairdtech.com/bluetooth © Copyright 2016 Laird. All Rights Reserved...
  • Page 9 BL652 Development Kit User Guide Figure 2: Development board DVK- BL652 (fitted with BL652-SA module for example) Americas: +1-800-492-2320 Embedded Wireless Solutions Support Center: Europe: +44-1628-858-940 http://ews-support.lairdtech.com Hong Kong: +852 2923 0610 www.lairdtech.com/bluetooth © Copyright 2016 Laird. All Rights Reserved...
  • Page 10: Bl652 Default Configuration And Jumper Settings

    BL652 Development Kit User Guide 5.1 BL652 Default Configuration and Jumper Settings Important! To ensure correct out-of-the-box configuration, the BL652 development board must be set according to Figure J12 Fit Jumper on Pins 2 & 3 SW6 Switch to 3v3...
  • Page 11: Functional Blocks

    BL652 Development Kit User Guide UNCTIONAL LOCKS The BL652 development board is formed by the major functional blocks shown in Figure PSU Block and Current Measurement Block Figure 4: DVK- BL652 block diagram Americas: +1-800-492-2320 Embedded Wireless Solutions Support Center: Europe: +44-1628-858-940 http://ews-support.lairdtech.com...
  • Page 12: Power Supply

    The 5V from the USB or the 5V from DCDC output/AAA batteries is regulated down to 3.3 V with an on-board regulator (U6) on the development board. The development board also has a 1.8V regulator allowing for the possibility to power the BL652 module from a 1.8V rail.
  • Page 13: Additional Power Option (For Bl652 Only) - Coin Cell

    VCC_Radio) and optionally (through 46, fitted by default) provides power to domain VCC_IO. Jumpers J3 and J4 MUST both be fitted between pins 2 and 3 for coin cell operation of the BL652. Leaving J3 and J4 jumpers fitted between pins 1 and 2 connects the DVK-BL652 on-board SWD (JTAG) circuitry to the BL652, holding the BL652 in SWD (JTAG) mode and increasing the current drawn by the BL652 by ~20uA.
  • Page 14: Reset Button

    SWD (JTAG), J3 and J4 (three-pin headers) jumpers MUST be fitted between pins 1 and 2 for both J3 and J4. This is required to connect the two-wire SWD (JTAG) interface from U14 to the BL652 SWD (JTAG) interface.
  • Page 15: Four-Wire Uart Serial Interface

    SIO_18 (pin 9) Via Fitted (default) series resistor R121 SIO_18 is a Trace output (called SWO, Serial Wire Output) and is not necessary for programming BL652 over the SWD interface. nReset_BLE is not necessary for programming BL652 over the SWD interface.
  • Page 16: Uart Mapping

    UART Interface Driven by External UART Source: The BL652 module UART interface (TX, RX, CTS, RTS) is presented at a 2.54 mm (0.1”) pitch header (J1). To allow the BL652 UART interface to be driven from the breakout header connector (J1), the following must be configured: –...
  • Page 17 Figure 9: J1 wiring to match FTDI USB-UART cable (TTL-232R-3V3 cable) Fit a jumper in J35 (to switch the Analog switch U15 and route BL652 UART to J1) when connecting an external FTDI USB-UART TTL (3.3V) converter cable using J1.
  • Page 18: Nautorun Pin And Operating Modes

    The J12 header connector allows the USB_DTR signal from the FTDI chip to be disconnected from the BL652. To connect the BL652 nAutoRUN pin SIO_13 (pin 28) to PC FTDI USB_DTR line via the J12 header connector, do the following: ...
  • Page 19: Vsp (Virtual Serial Port) Modes And Ota (Over The Air) Smart Basic Application Download

     VSP Bridge to UART mode takes data sent from phone or tablet (over BLE) and sends to BL652 to be sent out of the BL652 UART (therefore data not stored on BL652).
  • Page 20: Software

    (or tablet). 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).
  • Page 21: Breakout Connector Pinouts

    8.1 J40, J44, J29, J41, J1, J5 SIO (Special Input/Output Sockets) Breakout Connectors Access to all 32 BL652 series module signal pins (SIO’s = Signal Input /Output) is available on header connectors J40, J44, J29, J41, J1, J5 (2.54 mm pitch headers).
  • Page 22 10pF,50V SIO_1 SIO_1_Header via 0R resistors R127 and R128. R128 By default, the optional external 32.768 kHz crystal circuit is not connected to BL652 as SB8 and SB9 are open. BL652 pin plated holes for SIO_13 access SIO_15 SI0_ 13...
  • Page 23 Input SIO_5 Module_RTS Output SIO_7 Module_CTS Input Jumper in J35 selects between VCC_IO_UART VCC_IO_UART BL652 UART routed to FTDI or Arduino: Module_RTS No Jumper on J35 (default) USB_CTS R6 0R 1Y 0 SIO_5 NOPOP (TH_TEST_POINT) TP10 Routes SIO_5 (RTS) to FTDI CTS...
  • Page 24: Arduino Connector For Plugging In An Arduino Shields

    Shields or others as DVK-BL652 does not have level translators. If accidently a shield with 5V IO were plugged in, there are series resistors on the DVK-BL652 on all Shield IO lines to provide very limited protection against an inappropriate logic level (something greater than 3.3V).
  • Page 25 Arduino D2 pin wired out from Arduino connector J32 to plated through holes on J22, which is next to the Arduino shield connector J32. Arduino D2 pin is not wired to BL652 (SIO_13) as series resistor R97 is not fitted.
  • Page 26: Analog Input Buffer And Attenuator Circuit (U3)

    IN A+ IN B- IN B+ 100K Dual OP,5V 3.3K,1% R28 1K Analog 5V to 1.2V level translator Americas: +1-800-492-2320 Embedded Wireless Solutions Support Center: Europe: +44-1628-858-940 http://ews-support.lairdtech.com Hong Kong: +852 2923 0610 www.lairdtech.com/bluetooth © Copyright 2016 Laird. All Rights Reserved...
  • Page 27: Additional Peripherals/Sensors

    For more information on these sample applications, see GitHub smartBASIC sample applications repository on the BL652 product page at https://github.com/LairdCP/BL652-Applications 8.3.1 Temperature Sensor The temperature sensor (U1) by default is connected to the BL652 module as jumper on J6 pin 2-1, bridges TEMP_SENS and SIO_3. Analog output temp sensor VCC_3V3 V+ 2.4V-3.6V...
  • Page 28: I2C Sensor (Rtc Chip)

    8.3.2 I2C Sensor (RTC Chip) The I2C RTC chip (U16) allows the BL652 I2C interface to be tested. The output of the RTC chip (U16) is on the I2C bus and is by default connected to the BL652 module via jumpers on J13 pins 2-3 and J14 pins 2-3.
  • Page 29: Spi Device Eeprom

    The SPI EEPROM device (U2) is connected to the BL652 SPI pins directly. The 3-pin header J18 connects SIO_4 (SPI SS) to EEPROM (U2) or to the Arduino D10 (for use as SPI Slave Select). By default, the BL652 Module SIO_22 (used as the SPI_CS) is connected to EEPROM (U2) slave select line via J8 header with a jumper fitted on J18 pins 2-3.
  • Page 30: Push Button And Led Connected To Bl652

    Figure 14: SPI EEPROM schematic and PCB For a working example of the BL652 SPI interface using the SPI EEPROM (U2), a smartBASIC application for this will be available in the future in the GitHub smartBASIC sample application repository on the BL652 product page at https://github.com/LairdCP/BL652-Applications...
  • Page 31: Nfc External Antenna Connector And Nfc Antenna Rf Matching Circuit

    BL652 module NFC circuit uses two pins, pin 15 (NFC1/SIO_9) and pin 16 (NFC2/SIO_10) to connect the antenna. These pins are shared with GPIOs (SIO.09 and SIO.10). BL652 NFC pins are enabled by default. NFC can be disabled via smartBASIC application. Pin 15 (NFC1/SIO_9) and pin 16 (NFC2/SIO_10) are configured by default on the development board schematic to use NFC antenna, but if pin 15 (NFC1/SIO_9) and pin 16 (NFC2/SIO_10) are needed as normal GPIO’s, R98 and R99 must be removed and R100 and R101 must be...
  • Page 32: Optional External Serial Spi Flash Ic

    BL652 NFC:  On Android NFC enabled devices – Opens the Laird toolkit application or shows it in the Google Playstore if it's not installed  On Windows NFC enabled devices – Opens the calculator ...
  • Page 33: Optional 32.76 Khz Crystal

    8 seconds (default) to stay within ±250 ppm. The 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 improved 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.
  • Page 34: Other Features

    BL652 product page at https://github.com/LairdCP/BL652-Applications. Note: This measures the current consumption of the BL652 series module ONLY. The current drawn by the BL652 series module can be monitored on the development board. Figure 19 shows the schematic and location of measuring points on the PCB related to current measurements.
  • Page 35 BL652 radio operates. This can provide insight into power optimization. Current consumed by the BL652 series module is measured as a voltage (that is proportional to the current) using the current shunt monitor (U7). This is performed by connecting a voltmeter or oscilloscope to TP6 and the ground to TP7.
  • Page 36: Appendix

    2. Use a screwdriver in the position shown in picture below, to gently remove the coin cell from the coin cell holder (J34), This is the correct method to remove coin-cell from holder (J34). Americas: +1-800-492-2320 Embedded Wireless Solutions Support Center: Europe: +44-1628-858-940 http://ews-support.lairdtech.com Hong Kong: +852 2923 0610 www.lairdtech.com/bluetooth © Copyright 2016 Laird. All Rights Reserved...
  • Page 37: Additional Documentation

    All Laird products are sold pursuant to the Laird Terms and Conditions of Sale in effect from time to time, a copy of which will be furnished upon request. When used as a tradename herein, Laird means Laird PLC or one or more subsidiaries of Laird PLC.
  • Page 38 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Laird DVK-BL652-SC DVK-BL652-SA DVK-BL652-SA-01...

This manual is also suitable for:

Dvk-bl652-sa

Table of Contents