STMicroelectronics Bluetooth Low Energy Expansion Board User Guide
ಜಾಹಿರಾತು
ಜಾಹಿರಾತು
Quick Start Guide
Bluetooth Low Energy expansion board based on SPBTLE-RF module for STM32 Nucleo
(X-NUCLEO-IDB05A1)
Version 1.3 (November 3, 2015)
Overview
2
1
Introduction to the STM32 Open Development Environment
2
STM32 Nucleo Bluetooth Low Energy expansion board
•
Hardware overview
•
Software overview
3
Documents & related resources
4
Setup & demo examples
Overview
3
1
Introduction to the STM32 Open Development Environment
2
STM32 Nucleo Bluetooth Low Energy expansion board
•
Hardware overview
•
Software overview
3
Documents & related resources
4
Setup & demo examples
STM32 Open Development Environment
Fast, affordable Prototyping and Development
•
The STM32 Open Development Environment (ODE) consists of a set of stackable boards and a modular open SW environment designed around the STM32 microcontroller family.
4
STM32Cube development software
STM32 Nucleo expansion boards
STM32 Nucleo development boards
STM32Cube expansion software
Compatibility with multiple Development environments
www.st.com/stm32ode
STM32 Nucleo
Development Boards (NUCLEO)
•
A comprehensive range of affordable development boards for all the STM32 microcontroller series, with unlimited unified expansion capabilities and integrated debugger/programmer functionality.
5
Power supply through USB or external source
STM32 microcontroller
Integrated debugging and programming
ST-LINK probe
Complete product range from ultra-low power to high-performance
ST morpho extension header
Arduino™ UNO R3 extension headers www.st.com/stm32nucleo
STM32 Nucleo
Expansion Boards (X-NUCLEO)
•
Boards with additional functionality that can be plugged directly on top of the STM32
Nucleo development board directly or stacked on another expansion board.
6
Connect Power Move/Actuate Interact
Sense
Motion MEMS sensors
DIL24 support for new devices
Environmental sensors
Example of STM32 expansion board (X-NUCLEO-IKS01A1) www.st.com/x-nucleo
STM32 Open Development Environment
Software components
•
STM32Cube software (CUBE) -
A set of free tools and embedded software bricks to enable fast and easy development on the STM32, including a Hardware
Abstraction Layer and middleware bricks.
Tools & IDEs
Applications
IAR EWARM,Keil MDK-ARM, GCC-based IDEs
(e.g. Ac6 System Workbench for STM32)
Sample applications
Application examples
(e.g. based on STOpenSoftwareX)
Upper level middleware
(e.g. STOpenSoftwareX)
•
STM32Cube expansion software
(X-CUBE) -
Expansion software provided free for use with the STM32 Nucleo expansion board and fully compatible with the STM32Cube software framework. It provides abstracted access to expansion board functionality through high-level APIs and sample applications.
Middleware
Hardware
Abstraction
Hardware
STM32Cube middleware
STM32Cubeexpansion middleware
STM32CubeHardware Abstraction Layer (HAL)
STM32 Nucleo expansion boards (X-NUCLEO)
STM32 Nucleo developer boards
7
•
Compatibility with multiple Development Environments -
The STM32 Open Development
Environment is compatible with a number of IDEs including IAR EWARM, Keil MDK, and GCC-based environments. Users can choose from three IDEs from leading vendors, which are free of charge and deployed in close cooperation with ST. These include Eclipse-based IDEs such as Ac6 System
Workbench for STM32 and the MDK-ARM environment.
OPEN LICENSE MODELS:
STM32Cube software and sample applications are covered by a mix of fully open source BSD license and ST licenses with very permissive terms.
www.st.com/stm32cube
The building blocks
Accelerometer, gyroscope
Inertial modules, magnetometer
Pressure, temperature, humidity
Proximity, microphone
Bluetooth LE, Sub-GHz radio
NFC, Wi-Fi, GNSS
Sense
Connect
Audio amplifier
Touch controller
Operation Amplifier
Translate
Stepper motor driver
DC & BLDC motor driver
Industrial input / output
Move /
Actuate
Energy management & battery
Power
General-purpose microcontrollers
Secure microcontrollers
Process
Software
STM32 Open Development Environment
Building block approach
8
Your need
COLLECT
Our answer
TRANSMIT
ACCESS
CREATE
POWER
PROCESS
www.st.com/stm32ode
Overview
9
1
Introduction to the STM32 Open Development Environment
2
STM32 Nucleo Bluetooth Low Energy expansion board
•
Hardware overview
•
Software overview
3
Documents & related resources
4
Setup & demo examples
Bluetooth Low Energy expansion board
Hardware overview
X-NUCLEO-IDB05A1 hardware description
•
The X-NUCLEO-IDB05A1 is a Bluetooth Low Energy
(BLE) evaluation and development board system, designed around
ST’s SPBTLE-RF Bluetooth Low
Energy module based on BlueNRG-MS.
•
The BlueNRG-MS processor hosted in the SPBTLE-RF module communicates with the STM32 Nucleo developer board host microcontroller though an SPI link available on the Arduino UNO R3 connector.
Key products on board
SPBTLE-RF
Bluetooth Low Energy, FCC and IC certified, module based on Bluetooth® Low Energy wireless network processor BlueNRG-MS, BLE4.1 compliant.
SPBTLE-RF integrates a BALF-NRG-01D3 balun and a chip antenna. It embeds 32 MHz and 32.768 kHz crystal oscillators for the BlueNRG-MS.
M95640-R
64-Kbit serial SPI bus EEPROM with high-speed clock interface
Arduino UNO R3 connector
SPBTLE-RF M95640-R
Order code: X-NUCLEO-IDB05A1
Latest info available at
X-NUCLEO-IDB05A1
10
Bluetooth Low Energy expansion board
Software overview
X-CUBE-BLE1 software description
•
The X-CUBE-BLE1 is a software package which provides STM32 drivers running for the BlueNRG /
BlueNRG-MS Bluetooth Low Energy device. It is an STM32Cube expansion software package that eases portability across different STM32 MCU families.
•
Implementation examples are available for the STM32 Nucleo Bluetooth Low Energy expansion board
(X-NUCLEO-IDB04A1, X-NUCLEO-IDB05A1) plugged on top of an STM32 Nucleo board
(NUCLEO-L053R8, NUCLEO-L476RG, NUCLEO-F401RE or NUCLEO-F411RE)
Key features
•
Complete middleware to build applications using the BlueNRG / BlueNRG-MS network processor
•
Easy portability across different MCU families thanks to the STM32Cube
•
Sample applications that the developer can use to start experimenting with the code
•
References to free Android and iOS apps that can be used along with the sample applications
•
Free, user-friendly license terms
Latest software available at
X-CUBE-BLE1
Utilities
Overall system architecture
STM32 Nucleo development board
Board demonstrations
X-NUCLEO-IDB04A1, X-NUCLEO-IDB04A1 expansion boards
Sample Applications
Applications
– based on Bluetooth LE middleware
CMSIS
Bluetooth LE
Middleware
Hardware Abstraction Layer API
Drivers
STM32
Hardware components
BlueNRG / BlueNRG-MS
Boards Support Packages
11
OSXSmartConnPS
Software add-on for X-CUBE-BLE1
OSXSmartConnPS software description
•
OSXSmartConnPS is an add-on for the X-CUBE-BLE1 providing an implementation for Bluetooth Low
Energy slave & central profiles and sample applications running on the STM32 for the BlueNRG /
BlueNRG-MS Bluetooth Low Energy device
•
Implementation examples are available for the STM32 Nucleo Bluetooth Low Energy expansion board
(X-NUCLEO-IDB04A1, X-NUCLEO-IDB05A1) plugged on top of an STM32 Nucleo board
(NUCLEO-L053R8, NUCLEO-L476RG, NUCLEO-F401RE or NUCLEO-F411RE)
Overall system architecture
Key features
•
Support for Bluetooth Low Energy profiles using the BlueNRG / BlueNRG-MS network processor:
STM32 Nucleo development board
Development boards
Bluetooth LE expansion boards
X-NUCLEO-IDB05A1, X-NUCLEO-IDB04A1
Alert notification client, blood pressure sensor, find-me locator, find-me target, glucose sensor, health thermometer, heart rate, phone alert client, proximity monitor, proximity reporter, time client, and time server.
•
Low power optimization
Utilities
Profiles App
Applications
–
Based on Bluetooth LE and Profile Framework middleware
Bluetooth LE
Middleware
Profile framework
CMSIS
•
Examples for easier evaluation and development
Hardware Abstraction
Layer API
Drivers
Board support packages
Latest software available at
OSXSmartConnPS
Hardware components
STM32 BlueNRG / BlueNRG-MS
12
Overview
13
1
Introduction to the STM32 Open Development Environment
2
STM32 Nucleo Bluetooth Low Energy expansion board
•
Hardware overview
•
Software overview
3
Documents & related resources
4
Setup & demo examples
Documents & related design resources
14
All documents are available in the Design Resources tab of the
Bluetooth Low Energy expansion board webpage
X-NUCLEO-IDB05A1: Product Webpage ( Link )
• Gerber files, BOM, Schematic
• DB2592: Bluetooth Low Energy expansion board based on SPBTLE-RF module for
STM32 Nucleo - data brief
• UM1912: Getting started with X-NUCLEO-IDB05A1 Bluetooth low energy expansion board based on SPBTLE-RF module for STM32 Nucleo - user manual
X-CUBE-BLE1: Product webpage ( Link )
• DB2461: Bluetooth Low Energy software expansion for STM32Cube – Databrief
• AN4642: Overview of the BLE Profiles application for X-CUBE-BLE1 expansion for
STM32Cube
– Application Note
• UM1873: Getting started with the X-CUBE-BLE1 Bluetooth Low Energy software expansion for STM32Cube
– User Manual
• Software setup file
OSXSmartConnPS: Product webpage ( Link )
• DB2479: Bluetooth Low Energy profiles for the X-CUBE-BLE1 expansion for STM32Cube –
Databrief
• AN4642: Overview of the BLE profiles application for X-CUBE-BLE1, expansion for
STM32Cube
– Application Note
• Software setup file
X-NUCLEO-IDB05A1
Product webpage
Design Resources tab
Overview
15
1
Introduction to the STM32 Open Development Environment
2
STM32 Nucleo Bluetooth Low Energy expansion board
•
Hardware overview
•
Software overview
3
Documents & related resources
4
Setup & demo examples
•
STM32 Nucleo Bluetooth Low Energy expansion board (
X-NUCLEO-IDB05A1
)
Setup & demo examples
Hardware prerequisites
•
STM32 Nucleo development board
(
NUCLEO-L053R8
,
NUCLEO-L476RG
,
NUCLEO-F401RE
or
NUCLEO-F411RE
)
•
BLE-enabled smartphone and associated apps
Smartphone requirements App for Demo App for Hands-on
https://play.
.com/store/apps/details?id
=com.st.bluenrg
Android - BLE scanner
Android
KitKat OS phone https://play.google.com/store/apps/detail s?id=com.macdom.ble.blescanner
16 iOS device
(starting from
iPhone 4S) https://itunes.
apple
.com/fr/app/bluenrg/id7058
73549 iOS - Light Blue https://itunes.apple.com/fr/app/lightbluebluetooth-low-energy/id557428110?mt=8
Setup & demo examples
Software prerequisites
•
ST-LINK/V2-1 USB driver ( Link )
•
ST-LINK/V2-1 firmware upgrade ( Link )
•
X-CUBE-BLE1 ( Link )
• Copy the .zip file content into: “c:\Program Files (x86)\STMicroelectronics\” folder on your PC.
• The package contains a source code example (Keil, IAR EWARM, System Workbench for STM32) based on NUCLEO-L053R8 , NUCLEO-L476RG , NUCLEO-F401RE or NUCLEO-F411RE
17
•
OSXSmartConnPS ( Link )
• The package is an add-on for X-CUBE-BLE1 providing Bluetooth Low Energy slave profiles
•
BlueNRG DK ( Link )
• The package contains the BlueNRG GUI.
Bluetooth Low Energy expansion board
Start coding in just a few minutes with X-CUBE-BLE1
18
1
Go to www.st.com/x-nucleo
2
Select
X-NUCLEO-IDB05A1
3
Download and unpack
X-CUBE-BLE1
X-CUBE-BLE1 package
Generic Nucleo docs & BLE porting
BlueNRG SPI driver
Bluetooth LE HCI stack
Application examples
6
Modify and build application
4
Download and install STM32
Nucleo ST-LINK/V2-1 USB driver
5
Open project example
SensorDemo
Bluetooth Low Energy expansion board
Evaluate using X-CUBE-BLE1 (1/2)
19
1
From X-CUBE-BLE1 software resource package
Drag and drop
SensorDemo.bin
on Nucleo drive
2
Download and install the ST BlueNRG application on your smarpthone from Google
Play or App Store
Bluetooth Low Energy expansion board
Evaluate using X-CUBE-BLE1 (2/2)
20
3
Connect your smartphone application to the BlueNRG device and control the cube on the smartphone app
4
Press the user button on the STM32 Nucleo board to rotate the cube on the smartphone app
Bluetooth Low Energy expansion board
Evaluate BlueNRG using a GUI
21
Drag and drop
Virtual_COM_Port.bin
on Nucleo drive
1
2
Install BlueNRG GUI from existing BlueNRG DK
3
Bluetooth Low Energy expansion board
Evaluate using OSXSmartConnPS
Add-on for X-CUBE-BLE1 software expansion providing Bluetooth Low Energy slave profiles. The package contents must be merged with X-CUBE-BLE1 before use.
1
Go to www.st.com/x-nucleo
2
Select
X-NUCLEO-IDB05A1
3
X-CUBE-BLE1 package
Generic Nucleo docs & BLE porting
BlueNRG SPI driver
Bluetooth LE HCI stack
Application examples
Download and unpack
X-CUBE-BLE1
4
Download and unpack
OSXSmartConnPS
5
Merge these two folders
OSXSmartConnPS package
Info about Profile Framework API
Profile Framework implementation
Profile application examples
Android toolbox for the profiles
22
Bluetooth Low Energy expansion board
Evaluate using OSXSmartConnPS (1/2)
23
1
From OSXSmartConnPS software resource package,
drag and drop
HRM-Profile.bin
on Nucleo drive
2
Install the STM32 BLE Toolbox application on your Android smarpthone
Install
STM32_BLE_Toolbox.apk
on your smartphone
Bluetooth Low Energy expansion board
Evaluate using OSXSmartConnPS (2/2)
24
3
Connect your smartphone application to the BlueNRG device and read the simulated Heart Rate measurements on the smartphone display.
4
Press Heart Rate on the app to start reading simulated Heart Rate measurements (sent from the BlueNRG device) on the phone display.
4
Simulated Heart Rate measurements are sent over the air.
www.st.com/stm32ode
ಡೌನ್ಲೋಡ್ ಮಾಡಿ
ಜಾಹಿರಾತು