background image

BL652 Development Kit 

User Guide 

Embedded Wireless Solutions Support Center: 
http://ews-support.lairdtech.com 
www.lairdtech.com/bluetooth 

© Copyright 2016 Laird. All Rights Reserved 

Americas: +1-800-492-2320 

Europe: +44-1628-858-940 

Hong Kong: +852 2923 0610

 

 

9.1

 

Current Consumption Measurement ................................................................................................... 34

 

10

 

Appendix ........................................................................................................................................................... 36

 

10.1

 

Coin Cell Insertion ................................................................................................................................ 36

 

10.2

 

Coin Cell Removal ................................................................................................................................ 36

 

11

 

Additional Documentation ................................................................................................................................ 37

 

 

 

 

Summary of Contents for BL652

Page 1: ...A User Guide BL652 Development Kit Version 1 4 ...

Page 2: ...8 940 Hong Kong 852 2923 0610 REVISION HISTORY Version Date Notes Approver 1 0 12 Aug 2016 Initial Release Jonathan Kaye 1 1 19 Aug 2016 Updates to J12 and J6 pins Raj Khatri 1 2 6 Sept 2016 Updates to nAutorun settings Raj Khatri 1 3 14 Oct 2016 Updates to JTAG Signals and wiring Raj Khatri 1 4 15 Nov 2016 Fixes to vSP Virtual Serial Port Modes and OTA Over the Air smart BASIC Application Downloa...

Page 3: ...ire UART Serial Interface 15 6 5 UART Mapping 16 6 5 1 UART Interface Driven by USB 16 6 5 2 UART Interface Driven by External Source 16 6 6 nAutoRUN Pin and Operating Modes 18 6 7 vSP Virtual Serial Port Modes and OTA Over the Air smart BASIC Application Download 19 7 Software 20 8 Breakout Connector Pinouts 21 8 1 J40 J44 J29 J41 J1 J5 SIO Special Input Output Sockets Breakout Connectors 21 8 2 ...

Page 4: ...lairdtech com www lairdtech com bluetooth 4 Copyright 2016 Laird All Rights Reserved Americas 1 800 492 2320 Europe 44 1628 858 940 Hong Kong 852 2923 0610 9 1 Current Consumption Measurement 34 10 Appendix 36 10 1 Coin Cell Insertion 36 10 2 Coin Cell Removal 36 11 Additional Documentation 37 ...

Page 5: ...in the following items Development Board The development board has the required BL652 module soldered onto it and exposes all available hardware interfaces Power Options USB cable Type A to micro type B The cable also provides serial communications via the FTDI USB RS232 converter chip on the development board DC barrel plug with clips for connection to external power supply 7 12Vdc 3x AAA battery...

Page 6: ... header connectors that help isolate on board sensors and UART from the BL652 module to create different configurations This allows you to test different operating scenarios 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 ...

Page 7: ...ation of the BL652 is disconnected by open solder bridges by default One analog buffer provides a 3 3 1 attenuation used when an analog source is at 5 volts into development board Arduino connectors Allow for plugging of Arduino shield boards Note The DVK BL652 development board is not an Arduino shield but is an Arduino base board similar to the Arduino UNO Arduino connector test points All Ardui...

Page 8: ...ck 7 12V Input CON1 Arduino connecters PTH Test Points J23 J16 Arduino connecters J33 J31 Arduino connecters J32 J30 Arduino connectors PTH Test Points J22 J14 SPI EEPROM device USB2 connector USB SWD interface On board SWD interface and programmer circuitry J3 and J4 I2C device U16 TP6 Current Measurement output of Current Shunt Monitor U7 J29 PTH FTDI FT232R DC USB Power Source Switch SW4 Header...

Page 9: ...upport Center http ews support lairdtech com www lairdtech com bluetooth 9 Copyright 2016 Laird All Rights Reserved Americas 1 800 492 2320 Europe 44 1628 858 940 Hong Kong 852 2923 0610 Figure 2 Development board DVK BL652 fitted with BL652 SA module for example ...

Page 10: ...and Jumper Settings Important To ensure correct out of the box configuration the BL652 development board must be set according to Figure 3 Figure 3 Correct DVK BL652 development board jumper and switch settings J12 Fit Jumper on Pins 2 3 SW5 Switch to 3v3 SW6 Switch to 3v3 TP14 Black Test Hook J37 Fit Jumper J26 Fit Jumper J6 Jumper on Pins 1 2 J7 Fit Jumper J13 Fit Jumper on pins 2 3 J14 Fit Jump...

Page 11: ...rdtech com bluetooth 11 Copyright 2016 Laird All Rights Reserved Americas 1 800 492 2320 Europe 44 1628 858 940 Hong Kong 852 2923 0610 6 FUNCTIONAL BLOCKS The BL652 development board is formed by the major functional blocks shown in Figure 4 PSU Block and Current Measurement Block Figure 4 DVK BL652 block diagram ...

Page 12: ... or the DC jack 5V regulated AAA 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 Switch SW5 selects between the regulated 3 3V and regulated 1 8V Default position of SW5 is to select re...

Page 13: ...the I2C RTC chip U16 The use case for powering this is The RTC chip can be configured so that after the pre determined time the RTC chip outputs via RTC_ALARM pin a transition level that can be used to wake up the BL652 module up from deep sleep VCC_Radio Supplies the BL652 series module only Current measuring block the current shunt monitor IC U7 on the development board only measures the current...

Page 14: ... lines should be wired out namely SWDIO SWDCLK GND and VCC Firmware upgrades can still be performed over the BL652 UART interface but this is slower 60 seconds using UART vs 10 seconds when using JTAG than using the BL652 JTAG 2 wire interface Upgrading smartBASIC runtime engine firmware or loading smartBASIC applications also can be done using the UART interface For those customers using Nordic S...

Page 15: ...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 6 4 Four wire UART Serial Interface The development board provides access to the BL652 module four wire UART interface TX RX CTS RTS either through USB via UT10...

Page 16: ... position USB UART The development kit is fitted with a U10 FTDI FT232R USB to UART converter which provides USB to Virtual COM port on any Windows PC XP or later Upon connection Windows auto installs the required drivers For more details and driver downloads visit the following website http www ftdichip com Products FT232R htm UART Interface Driven by USB FTDI Chip In normal operation the BL652 U...

Page 17: ...ecting an external FTDI USB UART TTL 3 3V converter cable using J1 Fitting a jumper in J35 also allows the BL652 UART to be routed to Arduino connector J30 GND C8 0 1uF 16V GND VCC_IO_UART VCC_IO_UART USB_CTS R8 10K R6 0R R9 0R R12 0R R21 0R USB_RX PIN HEADER 2 54mm 1X2P J35 1 1 2 2 R19 10K VCC_IO_UART VCC_IO_UART Module_RX D1_TX Module_CTS TP11 NOPOP TH_TEST_POINT 1 SIO_8 VCC_IO_UART SIO_5 SIO_6 ...

Page 18: ...ve to using USB_DTR the J12 three pin header allows a jumper to be fitted to select between the two operating modes Table 4 BL652 nAutoRUN header nAutoRUN Pin BL652 Operating Mode pin28 nAutoRUN Mode SIO_13 Interactive Development Mode SIO_13 set High Externally Self contained Run Mode nAutoRUN mode SIO_13 Low Internally Circuit J12 Jumper Position Develop Jumper on J12 pins 2 1 nAutoRUN default J...

Page 19: ...d VSP Command mode and how SIO_02 and nAutoRUN 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 BL652 to be sent out of the BL652 UART therefore data not stored on BL652 VSP Command mode takes data sent from phone or tablet and sends to BL652 which will interpret as an AT command and response will be sent back T...

Page 20: ...alX 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 D...

Page 21: ...designation SIO Signal Input Output DEFAULT type is DIO Digital Input or Output or UART on fixed pins ALTERNATE type is either AIN Analog Input ADC I2C SPI DIO on fixed pins PWM FREQ and NFC DIO or AIN functionality is selected using the GpioSetFunc function in smartBASIC I2C UART SPI controlled by xxxOPEN functions in smartBASIC SIO_5 to SIO_8 are DIO by default when autorun app runs on power up ...

Page 22: ...ects SIO_17 to LED1 J26 jumper fitted default J37 Connects SIO_17 to LED2 J37 jumper fitted default J41 BL652 pin plated holes for access SI0_ 24 SI0_ 23 SI0_ 22 SI0_ 20 SI0_ 18 SI0_ 16 SI0_ 14 SI0_ 12 SI0_ 11 GND R127 0R R128 0R SIO_0_Header GND Y3 32 768KHz 20ppm 9pF 1 2 SIO_0 XL1 SIO_1 C70 10pF 50V C71 12pF 50V XL2 SIO_1_Header SB8 NOPOP Solderbridge_Open 1 1 2 2 SB9 NOPOP Solderbridge_Open 1 1...

Page 23: ...sed to pull up SIO_2 to VCC_IO Default No Jumper fitted on J5 SIO_2 SIO_6 R1 NOPOP 0R SIO_7 Module pin BL652 UART Data Flow SIO_6 Module_TX Output SIO_8 Module_RX Input SIO_5 Module_RTS Output SIO_7 Module_CTS Input VCC_IO_UART SIO_8 SIO_5 FTDI USB to TTL 232 Cable GND RTS VCC RX TX CTS GND USB_CTS VCC USB_TX USB_RX USB_RTS J1 NOPOP PIN HEADER 2 54mm 1X6P 1 1 2 2 3 3 4 4 5 5 6 6 GND GND C8 0 1uF 1...

Page 24: ...sistors 560R allowing easy disconnection Table 6 shows the Arduino connector signals and mapping to BL652 module SIO pins Arduino connectors orientation are at 90 degrees perpendicular to the long dimension allowing larger Arduino Shields to hang off side of the board without interfering with a mounted external antenna or the BL652 module the BLE chip antenna There are Arduino pins that may be use...

Page 25: ...n to Analog Input Buffer U3 J17 jumper NOT fitted default J32 J22 J18 J43 J24 J21 Arduino female header J32 J22 is plated through holes for accessing signals on J30 J18 Connects SIO_22 SPI CS to EEPROM U2 or to Arduino D10 for use as SPI Slave Select J18 jumper NOT fitted default J43 Connects SIO_23 SPI MOSI to Arduino D11 J43 Jumper NOT fitted default D4 SIO_18 SIO_14 SIO_16 D5 D0_RX D6 D1_TX D7 ...

Page 26: ...accepts a 0V to 5V analog input signal from Arduino shield pin A0 and scales it down to an acceptable range of 0V to 1 2V set by potential divider R26 3 3 kOhms and R28 1 KOhms with a gain of 0 23 1 1 3 3 Max Input Volts A0_5V_IN R26 kOhm R28 kOhm Output Volts A0_divided 5 3 3 1 1 16 GND VIN GND GND 5 0V 3 3V nRESET IOREF SPARE VIN_12V_ARD VCC_3V3_ARD nRESET GND VCC_5V_ARD J23 NOPOP PIN HEADER 2 5...

Page 27: ...nable a developer to test functionality straight out of the box In the smartBASIC application code written to use sensors on the development board including the Temperature sensor U1 analog output Analog Input Buffer U3 analog output SPI EEPROM U2 I2C RTC chip U16 LED1 D1 LED2 D2 Button1 SW1 and Button2 SW2 the SIO pins direction and type must be set in the smartBASIC application to override the d...

Page 28: ...C max Accuracy at 40ºC to 85ºC approx 2 5ºC 5ºC max Power supply voltage range 2 4 V to 5 5 V Current Drain 10 uA max Output impedance 160 Ohms max The LM20BIM7 datasheet states the relationship of Temperature T to Voltage output Vo can be approximated as a linear equation for temperature range of 40ºC to 85ºC Vo mV 11 67mV ºC x T 1858 3 gives the following calculated Vo versus temperature Table 1...

Page 29: ...rver sb is a BLE RTC server and it advertises the current time which it gets from the I2C RTC chip U4 8 3 3 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 v...

Page 30: ... 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 8 3 4 Push Button and LED Connected to BL652 The two push buttons and two LED s on the DVK BL652 are connected to dedicated SIO s of the BL652 module Table 13 LED s and Buttons to BL652 SIO signal mappings Part SIO Com...

Page 31: ...o the output pin illuminates the LED One example of when push buttons can be used is when a smartBASIC application is written to simulate a generic data profile Push buttons can then be pressed to increment and decrement such as a heart rate 8 3 5 NFC External Antenna Connector and NFC Antenna RF Matching Circuit The NFC antenna input connector CON2 allows the Laird supplied flex PCB NFC antenna t...

Page 32: ... at https github com LairdCP BL652 Applications exercises the following over the 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 On other NFC enabled devices Shows the Laird website or text saying this is a BL652 8 3 6 Optional External Serial SPI Flash IC Ther...

Page 33: ...ws 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 To connect the optional external 32 76kHz crystal oscillator circuit to the BL65...

Page 34: ... be fitted and is fitted by default IMPORTANT To achieve the optimal power consumption of the BL652 series module on the development board see the LowPower sb file in the GitHub smartBASIC sample application repository on the 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 se...

Page 35: ...oltage drop is proportional with current consumption The 10 Ohm resistor is chosen 10 mV equals 10mA There is also a third way to measure current Using Current Shunt Monitor The current drawn by the BL652 module can be monitored using the Current Shunt Monitor CSM INA216 U7 The gain of INA216 is 200 V V for the lowest possible drop voltage Note Using the current shunt monitor method allows the dyn...

Page 36: ...against positive contact spring of holder J34 Note The coin cell sits below the positive contact spring as shown with arrow Figure 20 Inserting the coin cell step 1 2 Push the coin cell down into the holder J34 Figure 21 Inserting the coin cell step 2 10 2 Coin Cell Removal To remove the coin cell follow these steps 1 Hold down the coin cell holder J34 at the corners 2 Use a screwdriver in the pos...

Page 37: ...ights Reserved Patent pending Any information furnished by Laird and its agents is believed to be accurate and reliable All specifications are subject to change without notice Responsibility for the use and application of Laird materials or products rests with the end user since Laird and its agents cannot be aware of all potential uses Laird makes no warranties as to non infringement nor as to th...

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 ...

Reviews: