O BlueNRG-LP é uma solução de SoC sem fio Bluetooth® Low Energy programável de ultrabaixa energia. Ele incorpora os IPs de rádio RF de 2,4 GHz de última geração da STMicroelectronics combinando desempenho incomparável com vida útil de bateria extremamente longa. É compatível com a especificação de núcleo Bluetooth® Low Energy SIG versão 5.2 endereçando conectividade ponto a ponto e rede Bluetooth Mesh e permite que redes de dispositivos em grande escala sejam estabelecidas de maneira confiável. O BlueNRG-LP também é adequado para comunicação sem fio de rádio proprietária de 2,4 GHz para lidar com aplicações de latência ultrabaixa.
Assista a gravação em: https://www.embarcados.com.br/webinars/webinar-bluenrg-lp-bluetooth-5-2-de-longo-alcance-para-aplicacoes-industriais/
4. BlueNRG family value
4
Various topology capabilities from add on BLE (NP,DP) to SoC (AP)
Portfolio to fit application and associated technical requirements
Evaluation and demonstration kits
Powerful SDK with SW examples and smart phone app
Hardware and software design checks and guidance
Training, recommendations, bring up, pre-cert, on-line/site support
Flexibility
Simplicity
Customer support
STMicroelectronics Low Power RF
5. 2.4GHz Wireless portfolio
3Bluetooth LE CONNECTIVITY
FEATURES
BlueNRG-MS
Bluetooth LE 4.1
Network processor
QFN32, WLCSP34
ST: the most complete Bluetooth ® LE + 802.15.4 portfolio in the market!
Single-Core
Dual-Core
ULTRA-LOW POWER
BlueNRG-2N
Bluetooth LE 5
Network processor
QFN32, WLCSP34
BlueNRG-2
Bluetooth LE 5.0
Application processor
Cortex-M0 32MHz,
256KB QFN32,
QFN48, WLCSP34
BlueNRG-LP
Bluetooth LE 5.2
Application processor
Cortex-M0+ 64MHz,
Industry leading
security features
Flash: 256KB Flash
RAM: up to 64KB
up to 32 GPIOs
QFN, WLCSP49
BlueNRG-1
Bluetooth LE 5.0
Application processor
Cortex-M0 32MHz,
160KB QFN32,
WLCSP34
STM32WBx0
Bluetooth LE 5.0
Zigbee, Thread
Application processor
Dual core Cortex-M4,
64MHz / M0+, 32MHz
Advanced Security
Flash: 320K up to 1MB
RAM: 48K up to 128K
UQFN48 (30 GPIOs)
ADVANCED CONNECTIVTY - MULTI-PROTOCOL
STM32WBx5
Bluetooth LE 5.0
802.15.4, Zigbee 3.0 Thread
Application processor
Dual core Cortex-M4, 64MHz
/ M0+, 32MHz
Advanced Security
Rich Analog
Rich peripherals (USB,
LCD, Q-SPI, SAI)
Flash: 256K up to 1MB
RAM: 48K up to 256K
Up to 72 GPIOs,
UQFN48, VQFN68,
WLCSP49, WLCSP100,
BGA129
STM32WB
6. BlueNRG topologies
6
Network Processor Data Pump Application ProcessorNP DP AP
BLE stack
Application
+
BLE Application
(middleware and
BlueNRG driver,
~15kB)
BlueNRG-2N,
-MS, -M0
MCU
SPI /
UART SPP like *
app +
BLE stack
Application
+
SPI / UART
parser
BlueNRG-1, -2,
-LP, -M2
MCU
SPI /
UART
SoC peripherals
available
Ful app +
BLE stack
BlueNRG-1, -2,
-LP, -M2
SoC peripherals
available
SPP like * = Built-in application enabling UART/SPI to BLE bridge. Available in ST DK.
“Application is running over a dedicated
MCU, and I need to add BLE“
+ Device delivered with stack image pre-
programmed
- Host side driver & middleware needed
“Application is running over a dedicated
MCU, and I need to add BLE with
flexibility & simplicity”
+ Easy UART/SPI BLE comms addition
while offloading host processor
- BLE image build and loading needed
“Application and BLE running on same
SoC for most optimized solution“
+ BlueNRG core handling BLE stack and
application
+ Easy and simple implementation with
to DK tool & examples
BlueNRG-2N -MS, -M0..
7. BlueNRG key performance indicators
BlueNRG-1 BlueNRG-2
BlueNRG-M2
Chipset
Module
Network co-processor Wireless Programmable SoC
BlueNRG-2N BlueNRG-LPBlueNRG-MS
BlueNRG-M0
RF range *
Data rate
Power **
consumption
BLE cert /
BLE feat
96 dB 96 dB 96 dB 96 dB 105 / 111 dB
200 kbs 700 kbps 250 kbps 700 kbps 1200 kbps
9.7 uA 8.5 uA 8.5 uA 8.5 uA <6 uA
4.2 / 4.1 5.0 / 4.2 5.0 / 4.2 5.0 / 4.2 5.2 / 5.0+
DR LE1M / LR
*) Bluetooth SiG range estimator tool : https://bluetooth.com/learn-about-bluetooth/bluetooth-technology/range#estimator
**) With beacon average power cons : adv conn 31 bytes, 3secs, +5dbm
LE Data Len excluded
7
9. BlueNRG-LP
Bluetooth® Low Energy 5.2 Certified SoC
9
BLE Features
• High speed 2 Mbps for faster data transfer
• Long Range (125/500kbps) connectivity
• Advertisement Extension and Dataset
• Improved channel selection and mapping
• GATT Caching for energy-efficiency improvements
Go faster, go further!
Low-Power
BLE programmable SoC
10. • High Throughput: 2Mbps Data Rate
• Distance Robustness: Long-range 125kbps or 500kbps
• Advertisement Extension: 255 bytes Advertising data,
Advertising Data Set and Periodic Advertising Sync Tranfer
• Frequency Hopping Robustness: Channel Selection Algorithm
#2
• GATT caching
• ARM Cortex-M0+, 64 MHz
• 256-Kbyte Flash, 64-Kbyte (32-KByte) SRAM , MPU
• Extensive peripheral set: 2 x SPI / I2S, 1x SPI, 2 x I²C, 1 x
USART, 1 x UART, 6 x PWM, 1 x PDM, 1 x 12-bit ADC SAR
• Analog microphone i/f with PGA
• True Random Number Generator (RNG)
• Hardware encryption AES maximum 128-bit security co-
processor
• HW public key accelerator (PKA)
• CRC calculation unit
• 48-bit unique ID
• Operating supply voltage: from 1.7 to 3.6 V
• Operating temperature: from -40 up to 85 ‘C or -40 up to 105 ‘C
• Package available: QFN32 (20 GPIOs), QFN48 (32 GPIOs),
WLCSP49 (26 GPIOs)
Bluetooth LE 5.2 certified
Radio performances
• RX Sensitivity level
• -97dBm @ 1Mbps
• -104 dBm @ 125bps
• Up to +8 dBm output power
level.
• 4.3 mA TX current
• 3.4 mA RX current
Reduced BOM cost
• Integrated Balun
• Capacitor-less 32MHz crystal.
Advanced security set
• Flash read/write protection.
• Secure bootloader
• SWD access can be disabled
BlueNRG-LP
Bluetooth Low Energy 5.2 Certified SoC
10
Key Highlights Device informationBlock Diagram
11. BlueNRG-LP
Key benefits and enhancements
1 Power & RF performances
HW flexibility2
BLE 5.0 full feature set3
BLE stack flexibilty4
Device security6
Core & Peripheral enhancement5
12. The lowest average power consumption
12
5.8uA average power consumption (advertising 31 bytes, every 3secs, 3V, +0dbm)
sleeping : 1µA
• RAM retention
• Wake up from RTC,
stack and Ios capable
Tx phase : 4.3mA Rx phase : 3.35mA
BlueNRG-LP is offering one of the best power efficient solution on the market
1uA sleep current : best on the market.
Outstanding active Rx and Tx current
BlueNRG-LP designed for ultra low power
applications
13. Easily estimate & measure power consumption
13
sleeping : 1µA
• RAM retention
• Wake up from RTC,
stack and Ios capable
Tx phase : 4.3mA
STSW-BNRG001
sleeping : 1µA
• RAM retention
• Wake up from RTC,
stack and Ios capable
Dedicated example in STSW-NRGLP-DK
App note available (rf-support-emea@st.com)
estimate the average current consumption and the battery
lifetime in the applicative cases using PC tool
Estimate power consumption
Perform real measurements using our evaluation kit, dedicated
SW and documentation
Measure Power Consumption
14. The best range
14
BlueNRG-LP offers one of the best budget link on the market, extending range and user experience.
On top of it, Long Range feature allows extra range enhancement.
Long Range provides sensitivity improvement
Range improvement depending antenna &
environment
Sensitivity -97dbm @1Mbps
Sensitivity - 104 dBm @ LE S=8 (Long range)
Max output power up to +8dbm (PA extension possible)
The best dynamic range : 105dB (1Mbps)
https://www.bluetooth.com/learn-about-
bluetooth/bluetooth-technology/range/#estimator
15. BlueNRG-LP
Flexible & integrated
15
15
BlueNRG-LP offers flexibility with cost and size integrated solution
Integrated
Integrated balun - 50Ω single ended output
Only few discretes matching/filtering needed
Integrated High Speed Oscillator capacitor
2 layers PCB possible
Size and cost efficient
Flexible
Internal SMPS or internal LDO
External 32kHz or internal RO
QFN32, QFN48 and WCSP49 package available
Adapt HW size and cost versus application need
Flexible Cortex-M0+ Core speed
Processing power on demand
Integrated
Integrated balun - 50Ω single ended output
Only few discretes matching/filtering needed
Integrated High Speed Oscillator capacitor
2 layers PCB possible
Size and cost efficient
Flexible
Internal SMPS or internal LDO
External 32kHz or internal RO
QFN32, QFN48 and WCSP49 package available
Adapt HW size and cost versus application need
Flexible Cortex-M0+ Core speed
Processing power on demand
16. BLE 5.0 Full Feature set
16
Significant advancement in the Bluetooth standard
5
2Mbps
Faster data rate
2Mpbs over the air, allows to enable data
transfert up to 1.2Mbps at application
Long Range
Extend range application
Associating to lower bit rate (125kbps & 500kbps) the
Forward Error Correction (FEC) allows to improve and
extend the range (sensitivity improvement)
Advertising extension
Increase broadcast capability Flexibility to extend beacon data payload (up to 255 bytes
vs. 37 bytes over 4.x) on non advertising channel
2 X Speed
8 X Increase broadcast
2 X Range
17. BlueNRG-LP BLE 5.x stack flexibility
full mode
client & slave roles
2Mbps, Advertising Extension
Long Range (CODED PHY)
~100KB
basic mode
slave
1Mbps only
~62KB
2M & Long Range mode
slave
2Mbps, Advertising Extension
Long Range (CODED PHY)
~70KB
BlueNRG-LP stack modular approach – Optimize your Application footprint
Refer to stack release note part of
STSW-BNRGLP-DK
17
18. BlueNRG-LP BLE 5.x stack flexibility
OTA capability (1/2)
Full stack100KB
256KB
156KB for
Application
Application without FOTA Application with FOTA
FOTA
Application*70KB
100KB
stack full mode
~80KB
free for my App
256KB
* FOTA Application = FOTA Application built with stack in 2Mbits mode
The modular approach allows to offer from 80KB up to 120KB to your Application
and capability to enable FOTA at the best performances
BlueNRG-LP flash
Application
stack in full
stack
18
19. BlueNRG-LP BLE 5.x stack flexibility
OTA capability (2/2)
Firmware upgrade - ST BLE Sensor App protocol
upgrade of a Sensor BLE typical application
~80KB (stack included)
BlueNRG-1
65secs
BlueNRG-2
12 secs
BlueNRG-LP
5 secs
ST BLE Sensor App
19
20. BlueNRG-LP
Peripherals enhancement
2
Enhanced set of Standard peripherals
• USART, LPUART, I2S/SPI (x3) , I²C (x2)
• PDM, 16-bit 6 channel advanced timer
• Independent RTC with capabilities to wake-up system.
• Independent WDG, Independent SysTick, …
• 12bits ADC – 8 channels, analog µPhone input, PGA,…
• Battery monitoring
• …
Comprehensive and easy to use APIs
Based on ST HAL or LL APIs
Multiple code Examples for each peripherals
Covering multiple customer use case
21. BlueNRG-LP
Core & MIPS enhancement
2
Opening to more demanding application
Easy integration of any ST MEMS sensors
portfolio, thanks to drivers available @GitHub
and fully compatible with BlueNRG-LP DK
Capability to run advanced SW algorithm
Thanks to enhancement
BlueNRG-LP customers taking
benefits from wide in-house
product portfolio
Improving MIPS X 2
M0+ Cortex up to 64Mhz
Extended RAM
Up to 64KB RAM
Motion Algorithms
Gesture and Activity recognition
Voice over BLE
MIPS improvement allowing more performant algorithm
integration (OPUS)
22. For secure applications
Protect your Firmware
22
Flash protection : disabling SWD & UART access (refer RM0479)
UART bootloader
SWD available
Application &
stack
Secure
bootloader
ROM
OTP
FlashOTP
Level#0 : None
UART bootloader
Read/Write disable
mass erase only
SWD disabled
No more access to
RAM/FLASH Application &
stack
Secure
bootloader
ROM
OTP
FlashOTP
X
Level#1 : Readout
X UART bootloader
disabled
SWD disabled
No more access to
RAM/FLASH Application &
stack
Secure
bootloader
ROM
OTP
FlashOTP
X
Level#2 : Maximum
X
3 level of Protection preventing application cloning & modification
Full memory access Reversible through masse erase Irreversible
Secure OTA still available
23. Authentication based on asymmetric algorithm.
• Keys pair (public, private); (RSA-2048, 256 bytes public key
• Device OTP section is used to store the generated Public Key.
• Application FW is signed by owner using the Private Key and the generated sign is
appended to the application FW (Digital Sign 2048 bits).
• Private Key is never shared or stored inside the device
For secure applications
Protect your HW
23
Application & stack
+
Signature
Secure bootloader
ROM
OTP
Flash
Public Key
’Private Key’
stored in secure place
outside of the device.
Used for signature
generation
OTP
Secure boot : FW image authentication (refer AN5471)
Firmware image authentification before execution
Insure that only a firmware image signed with a correct Private Key
is executable
Secure bootloader in ROM
25. BlueNRG-LP evaluation boards
25
BlueNRG-LP evaluation kit - Available & orderable !
QFN48 - STEVAL-IDB011V1
WCSP49 - STEVAL-IDB010V1 (end Q4 20)
QFN32 - No dedicated kit – reference HW available (rf-support-emea@st.com)
Integrating various MEMS sensors
Pressure LPS22HH, Audio MP34DT05A & IMU LSM6DSOX
Power, Flash & debug through USB
CMSIS DAP debugger/programmer – drag & drop FW
Button and LEDs for prototyping and debug
Evaluate and prototype
Reference schematics and layout
PCB design guideline : AN5526
Bring up the BlueNRG-LP : AN5503
Full documentation
26. BlueNRG-LP
Development flow
1 SW DK package & associated protocol
2
3
4
6
BLE key SW examples & docs
Peripheral examples & docs
DK tools : BLE out of the box
Development flow
5 BueNRG-LP software architecture
27. BlueNRG-LP
SW Development Kit
27
SW Development KitHW Evaluation Kit Tackle your market!
Free of charge Certified Stack: BLE and Mesh
STEVAL-IDB010V1 (WLCSP)
STEVAL-IDB011V1 (QFN48)
STSW-BNRGLP-DK
STSW-BNRG-MESH1
2.4Ghz proprietary protocol
BLE
BLE Mesh
28. • Built-in acknowledge mechanism
• Proprietary implementation possible
• Improved data rate (~1.6 Mbps)
• Small memory footprint (~5 Kbyte)
• Encryption feature supported
2.4GHz wireless SoC solution
wireless link through a proven 2.4 GHz proprietary radio
28
Ultra-low latency RF link (~ 100µs) for HID and gaming solutions
Same BlueNRG device can be used for both Bluetooth Low Energy & 2.4GHz proprietary communication
Out-of-the-box examples available with the BlueNRG Navigator package
29. BlueNRG-Mesh
brings smart-home to your fingertip
Available across full BlueNRG* portfolio – iOS and Android SDK
Available over BlueNRG-LP in January 2021
Easily connecting appliances to iOS/Android, out-of-the-box
• Bluetooth Mesh 1.0.1 certified Profile Library, Server and Client
Model, and Bluetooth LE stack
• Two-layer security (128-bit AES-CCM and 256-bit ECDH protocol)
• Low-power and Friendship supported
• Provisioned node database transfer among smartphones via Email
and Cloud application
• Embedded and Mobile SDK to build both your Android and iOS Apps
• Reduces development costs and accelerates time-to-market
29
30. 30
How to benefit and use BLE 5.0 features
BLE Software Development Kit
STSW-BNRGLP-DK : rich set of BLE examples
BLE_Beacon
Enable a Beacon Application, enable
Advertsing Extension
BLE_RemoteControl
Play with CODED PHY and enable a Long
Range communication
BLE_Thoughput
How to increase your application data rate by
enabling some BLE keys tips (connection
interval , MTU) and the 2Mps over the air
2 X Speed
8 X
Increase
broadcast
2 X Range
31. 31
BLE Key Application examples
BLE Software Development Kit
STSW-BNRGLP-DK : rich set of BLE examples
BLE_SensorDemo_BlueMSapp
Connected and share data sensor with ST BLE Sensor App
Perform FOTA and reuse code example for your own FOTA
BLE_SerialPort - SPP
Serial Port Profile over BLE (data pump ) implementation
Simplicity and time to market : reuse ST image
FOTA FW & Smartphone App code available in source
LPS22HH
LSM6DS0X
32. 32BLE Software Development Kit
STSW-BNRGLP-DK : BLE key documentation
PM0269
Bluetooth LE stack v3.x programming
guidelines
AN5466
BlueNRG-LP power save modes
AN5463
The BlueNRG-LP OTA (over-the-air) firmware
upgrade
UM2735
BlueNRG-LP development kits
Getting started with the package
BLE concepts & API usage over
BlueNRG-LP stack
Understand low power available and
associated stack management
FOTA application description, associated
procedure compatible with the ST BLE Sensor
App)
33. 33BLE Software Development Kit
STSW-BNRGLP-DK : rich set of Peripheral examples
Peripherals examples based on ST HAL or LL APIs
34. 34BLE Software Development Kit
STSW-BNRGLP-DK : Peripheral Key documentation
RM0479
BlueNRG-LP ARM Cortex-M0+based
Reference Manual describing all HW
block and associated registers
36. 36BLE Software Development Kit
BlueNRG-LP PC tools
BlueNRG-X Flasher Utility
BlueNRG GUI
BlueNRG-LP Radio Init Wizard
Navigator
BlueNRG-LP out of the
box
Flash device over
UART, CMSIS-DAP and
ST LINK
Configure your
stack settings from
PC tool
connect your board and
play with BLE
STSW-BNRGLP-DK
STSW-BNRGLP-DK
37. 37
BLE Software Development Kit
Navigator Tool – BlueNRG-LP out of the box
Graphical user interface (GUI) that provides simple and user-friendly interface to browse, flash, and run
application examples included in the SDK package. It also allows to explore STEVAL KIT in each and all of its
features.
38. 38
BLE Software Development Kit
BlueNRG GUI – Prototype your Application from PC
Didactive GUI that allows demystify BLE concepts and to understand associated API
click to enable connection
understand associated flow chart
replicate in your code / generate
associated codeHands-On available
@rf-support-emea@st.com
39. 39
BlueNRG-LP
Hands On session
1
2 Open Navigator from Windows Start Panel
3
Flash ST BLE Sensor app
Plug to laptop over USB
4 Connect to ST BLE Sensor App
40. BlueNRG-LP
SW Application – simplicity
Bluetooth Mesh stack
Simple Architecture
• Free RTOS not required (code example available)
• BLE stack schedule thanks to a dedicated state machine
• Application do not require any resource manager (stack and application running on same core)
• Automatic efficient power (sleep mode) management
• RF HW block is not preempting any system (MIPS, peripherals) resources to process RF activities (advertising,
connected events)
• BLE events (connect, disconnect) handle over basic SW interrupts
Application simplicity
41. BlueNRG-LP
BLE Application code archicture
Bluetooth Mesh stack1 init the system & Initialize the BLE stack
2 create your application BLE profile : services & characteristics programming Guide
GUI tool
Code example
Help ?
3 enter into discoveralbe mode
4 schedule overall activity (application & stack) in a main
loop through specific state machine process
• connection, disconnection events
• incoming applicative data
• application timer elapsing
• ……
SW event will be raised in case of
incoming data
41
42. BlueNRG-LP
BLE Application main loop
while(1)
{
ModulesTick();
/* Application Tick */
APP_Tick();
/* Power Save Request */
HAL_PWR_MNGR_Request
}
BLE state machine > ModulesTick();
Insure BLE stack scheduling
Insure Virtual Timer scheduling
Application state machine > APP_Tick()
Insure BLE stack scheduling
Virtual Timer
• manage by the HW RF block
• offer flexibility at application vs. standard
peripheral timers
AN5469
The BlueNRG-LP
timer module
HAL_PWR_MNGR_Request
Application Sleep mode request send to the
stack to
AN5466
BlueNRG-LP power
save modes
• Application sending request, the power
mode that will be enable is at the end
under stack control 42
43. BlueNRG-LP
BLE HW resources - autonomous
The BueNRG FSM engine provide all needed resources to sustain
BLE advertising & connection without preempting any Core resources
The BLE stack need to be schedule (ModulesTick) to poll HW registers and check if
any incoming data are available (events or data)
A too long execution within the App_Tick processing, delaying ble stack scheduling
will so not impact the RF link however however will lead to latency (missing data,
events)
BlueNRG-LP HW block
43
45. BLUENRG-LP order Code and availability
45
ORDERING CODES
SoC 256/64KB:
• BlueNRG-355AC (QFN32)
• BlueNRG-355MC (QFN48)
• BlueNRG-355VC (WLCSP)
SoC 256/32KB:
• BlueNRG-345AC (QFN32)
• BlueNRG-345MC (QFN48)
• BlueNRG-345VC (WLCSP)
EVALUATION BOARDS
• QFN48, BlueNRG-355MC
(STEVAL-IDB011V1)
• online Sep ‘20
• WLCSP, BlueNRG-355VC
(STEVAL-IDB010V1)
• online Dec ‘20
CP ES availability MP
BlueNRG-355A (QFN32) September ‘20 November ’20
BlueNRG-345A (QFN32) October ‘20 December ’20
BlueNRG-355MC/T (QFN48) NOW!
BlueNRG-345M (QFN48) October ’20 November ’20
BlueNRG-355V (WLCSP49) October ‘20 February ’21
BlueNRG-345V (WLCSP49) Tba Tba
The same package and
RAM options exist for the
T version (up to 105o C)
46. Takeaways
1
46
BlueNRG family step up
2
3
Power & RF best in class performances
BLE 5.0 full feature set : 2Mpbs, AE, Long Range
Security & Peripheral enhancements
BLE Low cost SOC for Low to mid end applications
BlueNRG-LP available @st.com
ST’s 2.4GHz wireless portfolio is form by two major Bluetooth LE product family's. We are one of the few manufacturers today with such an extensive portfolio of Bluetooth LE devices
These two families are our STM32WB with our dual core SoC’s based on a cortexM4 meant for the application and a cortexM0+ running the stack with upto 1M of flash and 256k of RAM supporting multiple protocols such as zigbee or thread.
Then we have our BlueNRG product family which bring flexibility and performance to our customers Bluetooth LE designs, With in this family we have our network coprocessors offering with the BlueNRG-MS which is a cost effective solution compliant with Bluetooth LE 4.1 spects. We also have our BlueNRG-2N which we receltly added to our portfolio which is Bluetooth LE 5.0 fully compliant with LE Data extension length bing able to transfer more information in a connection environment. We have them available in QFN32 and WLCSP34
On the application processor side we also have the BlueNRG-1 and -2 product families based on single core SoC’s with a Cortex-M0 with up to 256k of flash and 24k of RAM and rich peripheral offering. It is Certified Bluetooth LE 5.0 complying with the LE data extension length in the case of the BlueNRG-2. We have them available in QFN32, QFN48 and WLCSP34.
With in this product offering we also have our BlueNRG-LP family of devices which is the most recent addition to our Bluetooth LE product portfolio. As we will see through out this presentation the LP is a high performance ultra low power Bluetooth LE SoC certified 5.2 based on a CortexM0+ with up to 256K of flash and 64Kof RAM with a rich peripheral set and available in different packages from QFN32 or QFN48 to WLCSP49.