csr101x product family overview - mobile development · csr101x product family overview ......
TRANSCRIPT
CSR101x Product Family Overview
July 2016
2
CSR101x Overview
CSR101x Hardware and Software Architecture
Qualcomm® µEnergy™ SDK
Developer resources
Agenda
CSR101x and Qualcomm µEnergy are products of Qualcomm Technologies International, Ltd
CSR101x Overview
4
Single mode, Bluetooth® low energy chip
16MHz 16MIPS XAP application processor
(RISC) with hardware link controller
64KBytes ROM with Bluetooth v4.1 listed
firmware
64KBytes RAM for user application, patches
and additional firmware features
Overview
What is CSR101x?
CSR101x is a product of Qualcomm Technologies International, Ltd
CSR101x
XAP
16MHz RISC
64KBRAM
64KBROM
LINK CONTROLLER
PERIPHERALS
I²C MASTER SPI FLASH
UART
4× PWM
2×
QUADRATURE
DECODERS
GPIO
EDGE
CAPTURE
PIO
CONTROLLER
AIO
CLOCK
OUTPUT
TEMPERATURE
BATTERY
MONITOR
5
Runs on 1x coin cell CR2032 or 2×AA(A) batteries
Operating voltage: 1.8V - 4.3V• Can be directly powered from Li-Ion rechargeable batteries
Direct 50Ω RF output (integrated balun)
Max RF transmit power +9.5dBm, receive sensitivity
-93dBm
Less than 20mA peak current• 5µA in deep sleep• 900nA in dormant mode
Power supply and radio
What is CSR101x?
CSR101x is a product of Qualcomm Technologies International, Ltd
CSR101x
XAP
16MHz RISC
64KBRAM
64KBROM
LINK CONTROLLER
PERIPHERALS
I²C MASTER SPI FLASH
UART
4× PWM
2×
QUADRATURE
DECODERS
GPIO
EDGE
CAPTURE
PIO
CONTROLLER
AIO
CLOCK
OUTPUT
TEMPERATURE
BATTERY
MONITOR
6
Package variants
CSR101x family
CSR1010 CS1011 CSR1012 CSR1013 CSRB31010
All-purpose general platform
12 GPIO
3 AIO
QFN 32 lead
5×5×0.6mm
0.5mm pitch
High I/O count variant
32 GPIO
3 AIO
QFN 56 lead
8×8×0.9mm
0.5mm pitch
Small package for wearables
12 GPIO
3 AIO
QFN 32 lead
4×4×0.6mm
0.4mm pitch
Smallest & thinnest solution in CSR101x family
12 GPIO
1 AIO
UT-WLCSP 34 bump
2.43×2.56×0.35 mm
0.4mm pitch
Automotive-grade solution
12 GPIO
3 AIO
QFN 32 lead
5×5×0.6mm
0.5mm pitch
AEC-Q100 qualified
Security tag,
mouse, medical
Keyboard, smart
remote control
Wearables,
modules, health
and fitness
Wearables, modules,
health and fitness
Keyfob, steering wheel,
pressure sensor
CSR1010, CSR1011, CSR1012, CSR1013 and CSRB31010 are products of Qualcomm Technologies International, Ltd
7
I²C master hardware block
UART
12 or 32 digital PIOs plus dedicated WAKE pin• All can generate interrupts to the application
4 PWM hardware blocks for LED patterns and motor
control
2 hardware quadrature decoders
Time-stamping hardware
Peripherals
What is CSR101x?
CSR101x is a product of Qualcomm Technologies International, Ltd
CSR101x
XAP
16MHz RISC
64KBRAM
64KBROM
LINK CONTROLLER
PERIPHERALS
I²C MASTER SPI FLASH
UART
4× PWM
2×
QUADRATURE
DECODERS
GPIO
EDGE
CAPTURE
PIO
CONTROLLER
AIO
CLOCK
OUTPUT
TEMPERATURE
BATTERY
MONITOR
8
PIO controller (8051-based coprocessor)
10-bit ADC/DAC with 3 AIO
32kHz or 16MHz clock output
On-chip temperature monitoring
On-chip battery monitoring
Peripherals
What is CSR101x?
CSR101x is a product of Qualcomm Technologies International, Ltd
CSR101x
XAP
16MHz RISC
64KBRAM
64KBROM
LINK CONTROLLER
PERIPHERALS
I²C MASTER SPI FLASH
UART
4× PWM
2×
QUADRATURE
DECODERS
GPIO
EDGE
CAPTURE
PIO
CONTROLLER
AIO
CLOCK
OUTPUT
TEMPERATURE
BATTERY
MONITOR
CSR101x Hardware and Software Architecture
10
CSR101x architecture
FIRMWARE
ATT SMP GAP
L2CAP
APPLICATION
GA
P S
ERV
ICE
GA
TT
SER
VIC
E
AP
PLI
CA
TIO
N
PR
OFI
LE
AP
PLI
CA
TIO
N
PR
OFI
LE
...
HCI
HARDWARE
LINK LAYER
PHYSICAL LAYER
GATT
Hardware MAC• Firmware or application are not
involved in the radio timings• Can be patched if changes required• Upper stack up to GATT is
implemented in firmware
Application is compiled against the
firmware library• Code executes from ROM and RAM• Most of the firmware (apart from
optional features) is in ROM• The available application size is up to
50KBytes
11
CSR101x architecture
FIRMWARE
ATT SMP GAP
L2CAP
APPLICATION
GA
P S
ERV
ICE
GA
TT
SER
VIC
E
AP
PLI
CA
TIO
N
PR
OFI
LE
AP
PLI
CA
TIO
N
PR
OFI
LE
...
HCI
HARDWARE
LINK LAYER
PHYSICAL LAYER
GATT
Application runs in a safe
sandboxed environment with
access to hardware through
firmware API• Application executes at the same
priority as firmware library at full 16 MIPS
• Time-critical, isolated execution is available for subroutines running on PIO controller
• The application cannot interfere with the radio events and timing
12
Qualcomm® µEnergy™ software architecture
User application is linked with the
firmware library to produce a final
image
Event-driven architecture• User application has to implement
firmware callbacks for various events in the application life cycle
• Application communicates with firmware using firmware API calls
13
AppPowerOnReset
Called on the cold boot and before
any other application callbacks
14
AppInit
Called on every boot
Should contain application
initialisation• Hardware setup• Upper stack initialisation (e.g. setting
up GATT Server database)
15
AppProcessSystemEvent
Called by firmware to process
system-level events• Low battery• Input PIO level change (e.g. to handle
buttons, external signals etc.)• WAKE pin level change• Interrupt from PIO controller
16
AppProcessLmEvent
Handles communication link-
related events from firmware• GAP and (G)ATT messages• Security Manager messages• Low-level link layer messages• Radio events
17
Timers
Run on top of the hardware timer
with microsecond accuracy
Qualcomm®
µEnergy™ SDK
19
Glucose MeterHeart RateKeyboardMousePhone Alert StatusProximity TagRunning Speed and CadenceSecurity TagSPP-over-GATTThermometerTime Client (Watch)WatchWeight Scale
Qualcomm® µEnergy™ SDK 2.6 Profiles
Alert TagANCSApple Notification Center ServiceAutomotive
• Keyless Entry System
• Multifunction Steering Wheel
• Temperature and Pressure Sensor
BeaconBlood PressureCycling Speed and CadenceEnvironmental SensorGATT ClientGATT Server
Documented Bluetooth Profiles – Example Code in µEnergy SDK
20
Qualcomm® µEnergy™ SDK 2.6 Applications
A4WP Receiving Unit (PRU)A4WP Transferring Unit (PTU)OTAU BootloaderOTAU ExampleOTAU LibraryDirect TestGATT ClientGATT ServerLarge NVMLibrary ExampleSerial over GATT ClientSerial over GATT ServerSPI masterSPI slave
AIO ExamplePIO ExamplePWM ExampleQuadrature Encoder ExampleTimer ExampleUART IO Example
NOTE
Example code is located in the “apps” directory
Detailed Application Note located within each project folder
Documented Peripheral Applications provided in µEnergy SDK
21
Designed for sensor plug-in board for starter development kit or
CSR1011 development board• Six sensors
• Accelerometer
• Gyro
• Magnetometer
• Temperature
• Barometric Pressure
• Humidity
Environmental Sensor profile
22
Vendor-specific profile
Master and slave applications
Data pipe over UART• Two baud rates: 2400 and 115200• No hardware flow control• Software flow control will be described with application note
Auto reconnection
Status indication with LED
Designed for module manufacturers
SPP-over-GATT
23
Allows host application remove pairing information on the connected
peripheral
Support in Profile Demonstrator
Added to HID applications• Mouse• Keyboard
Bond Management service
Thank you
Follow us on:
For more information, visit us at:
www.qualcomm.com & www.qualcomm.com/blog
Nothing in these materials is an offer to sell any of the components or devices referenced herein.
©2016 Qualcomm Technologies, Inc. and/or its affiliated companies. All Rights Reserved.
Qualcomm is a trademark of Qualcomm Incorporated, registered in the United States and other countries. Other products and brand names may be trademarks or registered trademarks of their respective owners.
References in this presentation to “Qualcomm” may mean Qualcomm Incorporated, Qualcomm Technologies, Inc., and/or other subsidiaries or business units within the Qualcomm corporate structure, as applicable. Qualcomm Incorporated includes Qualcomm’s licensing business, QTL, and the vast majority of its patent portfolio. Qualcomm Technologies, Inc., a wholly-owned subsidiary of Qualcomm Incorporated, operates, along with its subsidiaries, substantially all of Qualcomm’s engineering, research and development functions, and substantially all of its product and services businesses, including its semiconductor business, QCT.