Technical Reference Manual: (Hardware Version: 2.1)
Technical Reference Manual: (Hardware Version: 2.1)
Technical Reference Manual: (Hardware Version: 2.1)
1)
TECHNICAL REFERENCE
MANUAL
Prepared by
IoT Group
Document History
Revision History
Version Description Date Modified by Approved by
1.0 Initial Document 10-04-2016 Kaushik, Thajudheen
Contents
Contents ............................................................................................. 2
1. Introduction ................................................................................ 4
2. Definitions ................................................................................... 4
3. Literature .................................................................................... 4
4. Components required for minimal network setup ............................. 5
5. Hardware Architecture .................................................................. 5
Component Description ...................................................................... 6
Connectors ....................................................................................... 7
USB Connector ............................................................................... 7
Li-Po/Li-Ion Battery Connector ......................................................... 7
Expansion Header (UbiSense/UbiDAC Header) .................................... 8
Debug Header ................................................................................ 8
Antenna Connector ......................................................................... 9
Switches ........................................................................................... 9
RESET Switch ................................................................................ 10
USER Switch ................................................................................. 10
Power Switch................................................................................. 10
Indicator LEDs .................................................................................. 10
Power Indicators ............................................................................ 11
User LEDs ..................................................................................... 11
Crystals ........................................................................................... 12
16MHz Crystal Oscillator (HFCLK Clock) ............................................ 12
32.768 KHz Crystal Oscillator (LFCLK Clock) ...................................... 12
Major ICs ......................................................................................... 12
Hardware Description ........................................................................ 13
Power Management ........................................................................ 13
Battery Charger ............................................................................. 13
Power (LDO) Regulator ...................................................................... 14
Microcontroller & Peripherals .............................................................. 14
Bluetooth Low Energy SoC (nRF51822) ............................................... 14
1. Introduction
The BLE-Mote is a low power WPAN (Wireless Personal Area Network) Node
complaint to Bluetooth 4.0 standards with support for Low Energy Profile.
The device is suitable for various WPAN application developments including
Health/fitness monitoring, Wireless remote, Beacon Tag etc.
The robust RF front end with state of the art Security Engines and efficient
power management system makes it suitable for various practical
deployments.
This User manual gives an overview of the hardware architecture & a detailed
description of its operations. Each segment of the document refers to specific
hardware component or subsystem which may not include all the technical
information. Further information can be found in the corresponding
component datasheets and the documents mentioned in Literature section.
2. Definitions
3. Literature
nRF51822Information–
https://www.nordicsemi.com/eng/Products/Bluetooth-low-energy/nRF51822
CP2102 Information-
https://www.silabs.com/products/mcu/Pages/USBtoUARTBridgeVCPDrivers.a
spx
Bluetooth Low Energy- https://www.bluetooth.com/what-is-bluetooth-
technology/bluetooth-technology-basics/low-energy
5. Hardware Architecture
This section includes overall technical details of BLE Mote Hardware. The
Figure-1 below shows the main components on the device.
Component Description
This section contains a brief description about various hardware components
of BLE Mote. Figure-2 shows the location of various elements and are
described in the following section.
Connectors
Switches
Indicator LEDs
Configuration Setups
Major ICs
Connectors
USB Connector
This standard Micro USB connector (P3) can be used for connecting the Mote
with PC for supplying power & data transfer. The USB interface can be used
to transfer data between the mote & the Computer (using virtual com port)
with the help of onboard USB-UART BridgeIC (CP2102). Figure-3 shows the
position of USB connector.
Debug Header
A 10pin Male Box header (P1) has been provided as a hardware debug
interface for the nRF51822 BLE SoC. This header contains theSWD (Serial
Wire Debug) interface and the location of this headeris shown in figure-6
below. The pin out is compatible to the standard ARM 10 Pin connector
(Ulink2 Type). This 10 pin header can be connected to a standard 20Pin JTAG
header of aUlink (or similar debugger) with the help of an external 10Pin to
20 Pin Adaptor. The BLE Mote can be connected to a SWD ARM Debugger
through a 10-to-20 Pin adaptor and the debugger can be connected to a host
PC through USB as shown in Figure-7.
Antenna Connector
The BLE Mote hastwo options for antenna. Either an onboard ceramic chip
antenna which can be directly soldered to the PCB or an external Antenna
which can be connected with the uFL connector. The external antenna should
bea 2.4GHz 50OhmsuFL antenna. If a suitable uFL antenna is not available, a
SMA type antenna can also be connected using a uFL to SMA cable. Figure-8
shows the location of the eternal antenna connector.
Switches
Two (Stacked) push-button tactile switches (SW1) have been provided on the
BLE Mote.One for the Microcontroller RESET and the other for User Key.Both
the switches are stacked as shown in Figure- 9 below.
RESET Switch
The BLE Mote has a dedicated reset button for nRF51SoC Hardware Reset.
The Upper button of SW1 is connected to the low active SWDIO/nRESET (Pin
23) signal of the SoC with a pull-up and series resistor. The default state of
this signal is high. Pressing push button S2 drives the reset signal low to
hardware reset the BLE SoC and the USB-UART Bridge IC. The BLE SoC (and
USB-UART bridge) remains in power down/reset mode until S2 is released.
After releasing SW1, the BLE SoC follows the power on reset sequence. If the
user does not want to reset the USB-UART bridge IC when the SW1 is
pressed, they can remove R14.
USER Switch
The Lower button of the Push button switch SW1 is connected to a GPIO pin
(P0.07/PUSH_BUTTON) of the BLE SoC. This is a user configurable switch,
which can be used as an external hardware input to the BLE SoC. This is
connected to Pin11 of the SoC with a pull up resistor. The default state is
high for this Pin, upon pressing User Key drives the signal low.
Power Switch
There is a power switch provided in BLE Mote to switch ON/OFF the power
supply to the device. This switch is a 6Pin SPDT push button switch which
opens/closes the power supply from the LDO to the ICs. Power supply to the
Li-Ion battery charger is not controlled by this switch (which allows battery
charging even while the device is OFF)
Indicator LEDs
There are 4LED indicators present on BLE Mote to indicate various events
related to power & application status. The locations of the LEDs are shown in
Figure-10 below.
Power Indicators
Two LED indicators are mounted on BLE Mote for indicating Power status.
The Table-3 below gives the details about LED indication.
User LEDs
Two user LEDs (D1 &D2) have been provided for configurable output
indication from the BLE SoC. These LEDs are connected to the GPIO pins of
the BLE Soc as shown in Table-4 below. Driving these Pins low through
program enables the LEDs to Glow. These LEDs can be used for any
application as per user requirement.
Crystals
The BLE SoC nRf51822 requires two external clock inputs i.e. a High
frequency clock and a low frequency clock. To provide the clocks, two
crystals X1 &X2 are available on BLE Mote. These are required for proper
operations of the SoC. Location of the crystals are shown in Figure-11 below.
When the external 32.768 KHz crystal is not available the internal RC
oscillator is automatically activated. This clock can be used when accuracy is
not important.
Major ICs
The BLE Mote is based on nRF51822 SoC. It also has some associated ICs for
Power Management, RF & Peripheral related functions. The Table-5 given
below describes about each of the IC functionality.
BLE-Mote_2V1: Technical Reference Manual v1.0 Page 12
CDAC-Bangalore
Hardware Description
This section of the document describes the various operations related to BLE
Mote and the corresponding ICs. Each functional module has been described
separately.
Power Management
The BLE Mote has smart power management system for efficiently powering
various components of the mote. This mote can be powered through USB or
Li-Po/Li-Ion Battery.
Battery Charger
The power obtained from the sources is fed to the Battery Charger IC
through diodes. The battery charger IC AAT3681Ais a Li-Ion / Li-Polymer
Battery Charge Management Controller with programmable maximum charge
current. In BLE mote design this has been programed for 450mA. This
charger IC can take a voltage upto7.5V and supply to the Li-Ion battery for
bridge IC has both USB & UART controllers, which converts the USB data to
UART and Vice versa. The USB signals are connected to the USB Port (P3)
and the UART signals are connected to the BLE SoC as shown in below Table-
6. The CTS and RTS signals have been provided for hardware flow control,
but this is optional. User can operate the device in software flow control
modealso. When P3 is connected to a PC it appears as a virtual COM port in
the PC which can be accessed with a terminal (hyper terminal/ Putty,
Minicom etc.) with proper settings.
Debug Interface
The BLE SoC supports ARM Serial Wire Programming& Debug interface. The
ARM-SWD compatible 10pin interface P1provides connection to the
Programmer hardware (e.g. uLInk, J-Link, ST-Link). An external 10 to 20 Pin
adaptors may be required for connecting P1 to a standard debugger.
RF Interface
In BLE Mote, the radio frequency transceiver is built in to the SoC. The RF
signal out from the SoC is differential 2.4 GHz modulated signal. This
differential signal required to be converted to a single ended signal with the
help of a BALUN (Balancing-Unbalancing) circuit. In BLE mote a chip BALUN
has been used for better performance and robustness.
The Input differential impedance of the BALUN is matched with the complex
conjugate output impedance of the SoC. The output impedance of the BALUN
is matched with the antenna of 50Ohms.
6. Basic Operations
When the BLE Mote is programmed (for serial data) and operational, the
above mentioned method can be followed to connect it to a host PC. In the
host PC, a serial terminal application such as Putty, Hyper terminal (for
Windows) or Minicom (for Linux) can be used for monitoring data. The serial
terminal can be configured for the same baud rate as programmed in the BLE
mote and other settings accordingly.
Steps:
3. During installation you will be prompted to select the IDE that should
be updated with the latest SEGGER DLLs. Check the box for Keil MDK and
any other IDEs you want to use with SEGGER.
8. Connect the JTAG debugger and Micro USB to BLE-Mote and power
ON the device.
10. In Debug menu, Select Port as SW, Max Clock as 20KHz. Device
will appear on the SW Device menu.
11. Got to Flash Download menu, select Program, Verify, Reset and
Run. And click OK.
12. Now click on Download button to flash the code into BLE Mote and
the User LEDs will start blinking now.
While working with Bluetooth application, need to flash SoftDevice .hex file
before flashing the application code. To flash SoftDevice use J-Flash Lite
application. Instructions as follows.