Bluetooth Smart product line overview
Transcription
Bluetooth Smart product line overview
Qualcomm Technologies International, Ltd. Confidential and Proprietary – Qualcomm Technologies International, Ltd. (formerly known as Cambridge Silicon Radio Ltd.) NO PUBLIC DISCLOSURE PERMITTED: Please report postings of this document on public servers or websites to: [email protected]. Restricted Distribution: Not to be distributed to anyone who is not an employee of either Qualcomm Technologies International, Ltd.or its affiliated companies without the express approval of Qualcomm Configuration Management. Not to be used, copied, reproduced, or modified in whole or in part, nor its contents revealed in any manner to others without the express written permission of Qualcomm Technologies International, Ltd. Any software provided with this notice is governed by the Qualcomm Technologies International, Ltd. Terms of Supply or the applicable license agreement at https://www.csrsupport.com/CSRTermsandConditions. Qualcomm is a trademark of Qualcomm Incorporated, registered in the United States and other countries. All Qualcomm Incorporated trademarks are used with permission. Other product and brand names may be trademarks or registered trademarks of their respective owners. This technical data may be subject to U.S. and international export, re-export, or transfer (“export”) laws. Diversion contrary to U.S. and international law is strictly prohibited. © 2015 Qualcomm Technologies International, Ltd. All rights reserved. Qualcomm Technologies International, Ltd. Churchill House Cambridge Business Park Cambridge, CB4 0WZ United Kingdom CSR CSR Bluetooth Smart product line overview This Session • CSR µEnergy product line overview − CSR1010, CSR1011, CSR1012 • CSR101x hardware and software architecture • Developer resources − Development kits − Available information Confidential © Cambridge Silicon Radio Limited 2015 2 CSR Bluetooth Smart product line overview What is CSR101x? • Single mode, Bluetooth Smart chip • Three chip variants − CSR1010:12 GPIOs, 32 lead 5×5×0.6mm QFN − CSR1011: 32 GPIOs, 56 lead 8×8×0.9mm QFN − CSR1012:12 GPIOs, 32 lead 4×4×0.6mm QFN • 16MHz 16MIPS XAP application processor (RISC) with hardware link controllers • 64KBytes ROM with BT SIG listed firmware • 64KBytes RAM for user application, patches and additional firmware features Confidential © Cambridge Silicon Radio Limited 2015 4 What is CSR101x? • Runs on a single coin cell CR2032 or 2×AAA batteries − Operating voltage: 1.8..4.3V − Can be directly powered from Li-Ion rechargeable batteries • Direct 50Ω RF output (integrated balun) − No matching network required • Less than 16mA peak current − 5µA in deep sleep − 900nA in dormant mode Confidential © Cambridge Silicon Radio Limited 2015 5 CSR101x peripherals • UART • I²C master hardware block • 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 • PIO controller (8051-based coprocessor) Confidential © Cambridge Silicon Radio Limited 2015 6 CSR101x peripherals • 10-bit ADC/DAC with 3 AIO • 32kHz or 16MHz clock output • On-chip temperature monitoring • On-chip battery monitoring Confidential © Cambridge Silicon Radio Limited 2015 7 CSR1012 - targeted for compact wearables • CSR1012 4x4mm QFN 0.4mm pitch • Operating voltage range 1.8 – 4.3V − No external regulator from Li battery • All I/O can be escaped within device footprint using drilled vias • Up to 50KBytes of on-chip application space using compact external Flash or EEPROM − 16, 32 or 64KB EEPROM supported − Over-the-air application update Confidential © Cambridge Silicon Radio Limited 2015 8 CSR101x hardware and software architecture CSR101x architecture ... APPLICATION PROFILE APPLICATION PROFILE GATT SERVICE GAP SERVICE APPLICATION FIRMWARE GATT ATT SMP GAP L2CAP HCI HARDWARE LINK LAYER • 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 PHYSICAL LAYER Confidential © Cambridge Silicon Radio Limited 2015 10 CSR101x architecture ... APPLICATION PROFILE APPLICATION PROFILE GATT SERVICE GAP SERVICE APPLICATION FIRMWARE GATT ATT SMP GAP L2CAP • 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 HCI HARDWARE LINK LAYER PHYSICAL LAYER Confidential © Cambridge Silicon Radio Limited 2015 11 CSR µ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 Confidential © Cambridge Silicon Radio Limited 2015 12 AppPowerOnReset • Called on the cold boot and before any other application callbacks Confidential © Cambridge Silicon Radio Limited 2015 13 AppInit • Called on every boot • Should contain application initialisation − Hardware setup − Upper stack initialisation (e.g. setting up GATT Server database) Confidential © Cambridge Silicon Radio Limited 2015 14 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 Confidential © Cambridge Silicon Radio Limited 2015 15 AppProcessLmEvent • Handles communication linkrelated events from firmware − − − − Confidential © Cambridge Silicon Radio Limited 2015 GAP and (G)ATT messages Security Manager messages Low-level link layer messages Radio events 16 Timers • Run on top of the hardware timer with microsecond accuracy Confidential © Cambridge Silicon Radio Limited 2015 17 CSR µEnergy SDK CSR µEnergy SDK 2.4 Applications and Profiles Example applications • Heart Rate • Glucose Meter • Blood Pressure • Thermometer • Proximity Tag • Phone Alert Status • Mouse • Keyboard • GATT Client • GATT Server • Apple Notification Center Service Confidential © Cambridge Silicon Radio Limited 2015 • Watch • Cycling Speed and Cadence • Running Speed and Cadence • Environmental Sensor • Beacon • Weight Scale • SPP-over-GATT • Automotive-related − Temperature and Pressure Sensor − Keyless Entry System − Multi-Function Steering Wheel Automotive-related development boards will be available later in this year 19 CSR µEnergy SDK 2.4 Applications • Example profiles − Documented on-chip example code − PC Host tool support for all examples − Detailed application note for each implementation − Battery and information service in all examples • More peripheral example applications − Now cover all hardware blocks − SPI slave and SPI master • Demonstrates out-of-band pairing − Long-term key could be pre-programmed to applications for better security Confidential © Cambridge Silicon Radio Limited 2015 20 CSR µEnergy SDK 2.4 Applications • Now cover all peripherals − − − − − − − AIO UART PWM Quadrature decoders Timers PIO SPI Confidential © Cambridge Silicon Radio Limited 2015 21 CSR µEnergy SDK 2.4 new features • Support for Over-the-air update in all example profile applications − Over-the-air update tools are now part of the SDK tools − New version of the OTA update bootloader − New OTA update host tools • Adds support to the mass production tools • New example applications − Environmental Sensor application − SPP-over-GATT • Support for Bond Management Service − Implemented in HID applications Confidential © Cambridge Silicon Radio Limited 2015 22 Environmental Sensor profile • Designed for sensor plug-in board for Starter development kit or CSR1011 development board − Six sensors • • • • • • Accelerometer Gyro Magnetometer Temperature Barometric Pressure Humidity Confidential © Cambridge Silicon Radio Limited 2015 23 SPP-over-GATT • 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 Confidential © Cambridge Silicon Radio Limited 2015 24 Bond Management service • Allows host application remove pairing information on the connected peripheral • Support in Profile Demonstrator • Added to HID applications − Mouse − Keyboard Confidential © Cambridge Silicon Radio Limited 2015 25 Automotive-related Applications • Keyless entry system − Automotive host − Key fob • Multi-function steering wheel • Temperature and pressure monitor • Development boards will be available later this year Confidential © Cambridge Silicon Radio Limited 2015 26 Keyless Entry System • Control car lock from the key fob Confidential © Cambridge Silicon Radio Limited 2015 27 Keyless Entry System • Store personal information on the key fob and pass it between phone and car Confidential © Cambridge Silicon Radio Limited 2015 28 Keyless Entry System • In-car application − automotive_host − connected to the PC demo application over UART • Key fob − automotive_keyfob Confidential © Cambridge Silicon Radio Limited 2015 29 Keyless Entry System: bridge • Key fob − automotive_keyfob • Phone − Profile Demonstrator − Phone applications to be developed Confidential © Cambridge Silicon Radio Limited 2015 30 Keyless Entry System: factory pairing • Pairing information is passed to devices over UART Confidential © Cambridge Silicon Radio Limited 2015 31 Multi-Function Steering Wheel • mfsw − HID-over-GATT profile − No key scanning – buttons are directly connected to PIOs − Sends button presses to the automotive host (profile demonstrator) Confidential © Cambridge Silicon Radio Limited 2015 32 Temperature and Pressure Sensor • tp_sensor − Designed to work with add-on board − Measures temperature and pressure from the external sensor and reports it to the connected host − Raises alarm when certain threshold reached Confidential © Cambridge Silicon Radio Limited 2015 33 Peripheral example applications • SPI master − Uses PIO controller to implement SPI interface − Supports SPI Modes 0, 1, 2 and 3 − SPI clock 1.3MHz • SPI slave − Uses PIO controller to implement SPI interface − Supports SPI modes 0, 1, 2 and 3 − Up to 1MHz SPI clock is supported Confidential © Cambridge Silicon Radio Limited 2015 34 Developer resources CSR101x starter kit • CSR1010 module on module carrier board − USB-SPI programmer − Landing sites for CSR1011 and CSR1012 modules • CD-ROM with CSR µEnergy SDK − − − − Confidential © Cambridge Silicon Radio Limited 2015 Compiler toolchain Full IDE with debugger Tools Documentation and application notes 36 CSR101x development kit • CSR1010 tag or CSR1011 development board − CSR1010 tag board includes 2 LEDs, button and buzzer • CSR µEnergy programmer board − USB-SPI programmer − USB UART • CSR8510 Bluetooth 4.0 dual mode USB dongle • CD-ROM with CSR µEnergy SDK − Compiler toolchain − IDE with debugger − Tools Confidential © Cambridge Silicon Radio Limited 2015 37 Developer support: forum Confidential © Cambridge Silicon Radio Limited 2015 http://forum.csr.com/ 38 Developer support: wiki Confidential © Cambridge Silicon Radio Limited 2015 http://wiki.csr.com/ 39 Developer support: webinars Confidential © Cambridge Silicon Radio Limited 2015 http://www.csr.com/bluetooth-smart-webinars 40 Video channel: YouTube Confidential © Cambridge Silicon Radio Limited 2015 http://www.youtube.com/user/CSRplc 41 Video channel Confidential © Cambridge Silicon Radio Limited 2015 http://i.youku.com/CSRChina 42 Video channel Confidential © Cambridge Silicon Radio Limited 2015 YouTube and Youku 43 Still have questions? [email protected] Confidential © Cambridge Silicon Radio Limited 2015 44 Confidential © Cambridge Silicon Radio Limited 2015 45