ALPW-BLEEASY Kit User Guide 1.0 Bluetooth Low Energy Easy Kit FEATURES The module adaptation board provides fast and easy way to control the ALPW-BLEM003. The module adaptation board is delivered with integrated stack, sample application, which provides a complete development platform. Used together with the ALPW-BLESDE® products, provides a complete evaluation platform Easy connection to application daughter or mother boards thanks to the pin headers Dimensions 35mm x 50 mm Module footprint is compatible with all Alpwise modules Power supplied though USB Equipped with a JTAG connector for Debug and firmware Programming U.FL Connector for an external antenna APPLICATIONS Medical Devices Mobile Accessories Sport and Fitness Entertainment Devices Wireless Sensors Consumer Electronics Monitoring and Control Industrial Building Automation DESCRIPTION The Alpwise Bluetooth® low energy easy kit is an ultra low power platform for rapid prototyping and evaluating of your Bluetooth® low energy solutions, thus facilitates the complete development of your wireless product. KIT CONTENTS A Debug standard connector (20 pins) allows ALPW-MAB003 Adaptation Board ALPW-BLEM003, Bluetooth® low energy programming and debugging the embedded module mounted on the adaptation board module. ALPW-MAB003 User Guide www.alpwise.com ALPW-BLEEASYKIT User’s Guide Table of contents 1 2 3 4 5 6 7 Overview ........................................................................................................ 2 Product Description ......................................................................................... 2 2.1 Module ..................................................................................................... 2 2.2 Easy Kit overview ...................................................................................... 3 Detailed Description ......................................................................................... 5 3.1 Kit Side Connectors Pinout ......................................................................... 5 3.2 Power Supply ............................................................................................ 6 3.3 Kit Configuration ....................................................................................... 7 3.3.1 Jumper Configuration .......................................................................... 7 Firmware development ..................................................................................... 9 4.1 Hardware setup ........................................................................................ 9 4.2 ALPWISE Bluetooth Low Energy SDK ........................................................... 9 4.3 ALPW-BLESDK® for BLEM003 architecture Overview ....................................11 4.4 Application development ...........................................................................12 4.5 Software resources ...................................................................................12 Device operating requirements .........................................................................13 5.1 Absolute Maximum Ratings ........................................................................13 5.2 Recommended operating conditions ............................................................13 5.3 Electrical Characteristics............................................................................13 Packaging ......................................................................................................14 User Guide Resources .....................................................................................14 7.1 Related Documents ..................................................................................14 7.2 Support...................................................................................................14 7.3 Sales ......................................................................................................14 7.4 Contact information ..................................................................................14 Table of figures Figure1.: Figure2.: Figure3.: Figure4.: Figure5.: Figure6.: Figure7.: ALPW-BLEEASYKIT ALPW-BLEEASYKIT ALPW-BLEEASYKIT ALPW-BLEEASYKIT ALPW-BLEEASYKIT ALPW-BLEEASYKIT ALPW-BLEEASYKIT block diagram .............................................................. 3 kit description .............................................................. 3 pin description ............................................................. 5 pinout ......................................................................... 6 power supply tree ......................................................... 6 default jumper configuration .......................................... 7 jumper configuration for external 3V aplciation ................ 7 ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 1 ALPW-BLEEASYKIT User’s Guide 1 Overview Below is an overview on the Alpwise Bluetooth Low Energy development kit. Adaptation board : ALPW-MAB003 Bluetooth Module : ALPW-BLEM003 Optional development board: ALPW-DVBBLE The optional ALPW-DVBBLE board can be connected on the ALPW-DVKCM3. This board integrates an accelerometer, a temperature sensor and user interfaces (LEDs, switches and buzzer). Furthermore, the board can be powered by a super capacitor, thus allowing an autonomous demonstration of the Bluetooth Low Energy possibilities. 2 2.1 Product Description Module The ALPW-BLEM003 is a complete Bluetooth Low Energy module, designed around an energy efficient Cortex M0 microcontroller. The module exports several interfaces, such as 1 UART, 4 ADCs, an I2C bus, a Debug interface and general purpose I/Os. The module is soldered on the adaptation board ALPW-MAB003. ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 2 ALPW-BLEEASYKIT User’s Guide 2.2 Easy Kit overview Figure1.: ALPW-BLEEASYKIT block diagram Figure2.: ALPW-BLEEASYKIT kit description ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 3 ALPW-BLEEASYKIT User’s Guide Kit side Connectors USB Connector SWD Connector ALPW-BLEM003 Modul LEDs Jumpers 18 pins, 1 row header connectors (2.54mm pitch). Used to connect the optional development board, or for user application. Used as main power source Standard 20-pin connector for MCU programming and debug. Alpwise Bluetooth Low Energy Embedded module, soldered on the board MCU I/O can be connected to the kit LEDs, or left unconnected for user application. ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 4 ALPW-BLEEASYKIT User’s Guide 3 Detailed Description 3.1 Kit Side Connectors Pinout Pin N° Signal Name 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 VIN_EXT_5V VIN_EXT_3V GND VOUT_3V RST BOOT USART_RX NC NC ADC4/DAC ADC3 NC GND ADC2 I2C_SMBA USART_TX NC USART_CTS 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 NC NC IO1 IO2 NC NC USART_CLK I2C_SDA I2C_SCL ADC1 GND USART_RTS VDDA NC GND NC NC GND Description J70 Connector External 5V Input External 3V Input Ground 3V power supply output MCU RESET signal MCU BOOT Signal USART Receive Data Analogue Converter Input Analogue Converter Input Ground Analogue Converter Input I2C SMBus Alert USART Transmit Data USART Clear To Send J71 Connector General Purpose I/O 1 General Purpose I/O 2 USART Clock I2C Data I2C Clock Analogue Converter Input Ground USART Request to Send Analogue Power supply Ground Ground Figure3.: ALPW-BLEEASYKIT pin description Note : - The connector pin number 1 is square. - The NC pins are Not Connected to any components ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 5 ALPW-BLEEASYKIT User’s Guide Figure4.: ALPW-BLEEASYKIT pinout 3.2 Power Supply The ALPW-BLEM003 requires a 3.0V stable power supply. It can be powered through an internal power supply regulator, or using the external 3V input (refer to the kit pinout). Note that the external 3.0V input is protected against over voltages, but one should ensure a proper filtering and decoupling when using it. Figure5.: ALPW-BLEEASYKIT power supply tree Refer to the jumper configuration chapter to get the right configuration, depending on your application. ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 6 ALPW-BLEEASYKIT User’s Guide 3.3 Kit Configuration 3.3.1 Jumper Configuration Figure6.: ALPW-BLEEASYKIT default jumper configuration When delivered the jumper are placed as described above. The kit is intended to operate when connected to a powered USB port, the module is supplied using the internal regulator. The module I/Os are connected to the on-board LEDs. Application from an external 3V Supply If you are using a 3V external power supply, the following jumper configuration applies: Figure7.: ALPW-BLEEASYKIT jumper configuration for external 3V aplciation Application from an external 5V Supply ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 7 ALPW-BLEEASYKIT User’s Guide The 5V is provided by the USB J3 5V power source selection The 5V is provided externally, on J70.1. The 3V is created the the internal regulator. In this configuration it is necessary to provide a 5V power source. J4/J1 3V power source selection The 3V source is provided externally, on J70.2. In this configuration, no 5V power source is necessary. J3 can be removed. J7 Module Power Supply J81 Module Power Supply If J7 is set, the module is powered with 3V. Do not connect J8 at the same time. If J8 is set, the module is power with 1.8V. Do not connect J7 at the same time. The module exports two general-purpose I/Os. By default they are connected to two LEDs on the board. Remove the jumpers to disconnect J2/J5 the I/Os from the LEDs and use it for your applciation. They are available on J71.3 & J71.4. 1 On new kits, the J8 connector is no longer provided as long as the 1.8V power supply chain. LEDs connection ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 8 ALPW-BLEEASYKIT User’s Guide 4 Firmware development 4.1 Hardware setup In order to download and debug embedded applications, the ALPW-BLEEASY Kit must be powered using the USB connector (or an external input power) and a compliant SWD hardware debugger (JLINK, ULINK, …) must be connected to the ALPW-BLEEASY Kit standard JTAG connector. Please refer to the jumper configuration chapter in order to setup the kit properly. The ALPW-BLEEASY KIT uses a standard 20-pin connector for MCU programming and debug. The software can be downloaded using any SWD compliant tool (for example KEIL toolchain or the GCC/ECLIPSE toolchain), please refer to the “ALPWISE BLE SDK for BLEM003 Overview” documentation, part of the ALPW-BLESDKBLEM003 for more information to setup KEIL or GCC/ECLIPSE 4.2 ALPWISE Bluetooth Low Energy SDK The ALPW-BLEEASYKIT is delivered with the ALPW-BLEEASYSDE. The ALPW-BLEEASYSDE is a software development kit containing the software and tool to exploit the ALPW-BLEEASY Kit. The ALPWISE Bluetooth® low energy SDK (ALPW-BLESDK) suite is a Software Development Kit which enables developers to easily develop Bluetooth® low energy applications and provides facilities and services to characterize the technology capability. Used together with the ALPWISE Development Kits, developers get an easy way to develop, test and validate their application on PC and on the embedded dedicated application microcontroller. The ALPW-BLESDK ® for BLEM003 targets the ALPWISE Bluetooth® low energy module ALPWBLEM003. It allows an integrator to focus developing embedded Bluetooth® low energy applications. ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 9 ALPW-BLEEASYKIT User’s Guide The ALPW-BLESDK® for BLEM003 already includes and implements all the porting and integration layers needed by the ALPW-BLEM003 in order to let the developer focus on the application development. Allow with the SDK, ALPWISE is providing a set of tools allowing the developer to quickly setup its application. Note: The ALPWISE SDK for BLEM003 is currently in BETA version and source code, libraries and documentation will change since release. ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 10 ALPW-BLEEASYKIT User’s Guide 4.3 ALPW-BLESDK® for BLEM003 architecture Overview The ALPWISE Bluetooth® Low Energy core stack libraries ( BLESW_CoreStack_BLEM003 or BLESW_CoreStack_Monitor_BLEM003 ) includes the core stack component which implements the defined Bluetooth® specification version 4.0 protocols and profiles: - HCI : the Host controller Interface layer L2CAP : Logical Link Control and adaptation Protocol SMP : The Security manager Protocol GAP : The generic Access Profile. ATT : the Attribute protocol GATT : the Attribute Profile ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 11 ALPW-BLEEASYKIT User’s Guide The core stack library also includes all the Core stack required resources and HARDWARE management and interaction, including ALPW-BLEM003 integration. As well, Bluetooth® Low Energy Services and Profiles are available as libraries. Application may access to the ALPWISE Bluetooth® Low Energy core stack API, GAP API, SMP API or profile API to build a Bluetooth® Low Energy enabled Application. 4.4 Application development The ALPWISE Software Development Kit includes high-level libraries, exposing easy to use and comprehensive Application Programming Interfaces (API). The libraries are targeted for Cortex-M0 microprocessors; It exist two libraries for the core stack, and one library per service and per Profile. Profile library will depend on service and core stack libraries. The libraries are built with/for the free Gnu Compiler (gcc) toolchain and for the KEIL toolchain. The ALPWISE Software Development Kit for BLEM003 includes as well sample application for some of the profiles available, provided in source code 4.5 Software resources Please refer to the “ALPWISE BLE SDK for BLEM003 Overview” documentation, this documentation is part of the SDK and contain useful information to setup the development tools. As well the Stack and profile documentation folder provides API guide and application notes to start developing Low Energy enabled application. ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 12 ALPW-BLEEASYKIT User’s Guide 5 Device operating requirements 5.1 Absolute Maximum Ratings The absolute maximum ratings listed below have not been tested, and correspond to the main components specifications. Stresses beyond those limits may cause permanent damage to the module. Symbol Vext_3V Vin |Vssx – Vss| 1 VESD(HBM) VRF_IN Tstorage Description External Supply Voltage Input Voltage on any pin Voltage difference between all power or ground pins Electrostatic discharge (Human Body Model) Input RMS voltage to uFL Connector 1 Storage temperature range Value -0.3 to 3.5 -0.3 to 4.0 Unit V V 50 mV 2000 -0.5 to 2.1 -65°C to +150 V V °C In order to use the uFL connector, the ALPW-BLEM003 needs to be able to output the RF signal. Refer to the ALPWBLEM003 datasheet . 5.2 Recommended operating conditions Symbol VUSB Vbat Imax Isupply T° 1 Description USB Supply Voltage Battery Voltage Overall maximum USB Input current Supply Current for external application Operational Temperature Range Note USB 2.0 USB 3.0 Min 4.75 2.5 - Typical 5.0 3.0 - Max 5.25 3.2 500 900 Unit V V - - 800 mA -10 - +85 °C mA Using USB 2.0. 5.3 Electrical Characteristics Please refer to the ALPW-BLEM003 REV. B module datasheet for detailed electrical characteristics (power consumption, RF performances, requirements). ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 13 ALPW-BLEEASYKIT User’s Guide 6 Packaging The ALPW-BLEEASY kit package contains: ALPW-MAB003 Adaptation Board ALPW-BLEM003, Bluetooth® low energy module mounted on the adaptation board ALPWMAB003 A User’s guide 7 7.1 User Guide Resources Related Documents ALPW-BLEM003 Bluetooth Low Energy Module Datasheet ALPW-BLESDK documentation 7.2 Support For any technical questions regarding usage of this BLE Evaluation Kit, please consider the following Email address: [email protected] 7.3 Sales For any commercial questions regarding access of this BLE Evaluation Kit, please consider the following Email address: [email protected] 7.4 Contact information ALPWISE S.A.S LE PULSAR 4 Avenue Doyen Louis Weil 38000 GRENOBLE FRANCE http://www.alpwise.com/ ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 14 ALPW-BLEEASYKIT User’s Guide Legal notices Information provided in this document is believed to be accurate and reliable. However, ALPWISE assumes no responsibility for the consequences of misused of such information, nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of ALPWISE. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. ALPWISE products are not authorized for use as critical components in life support devices or systems without express written approval of ALPWISE. The ALPWISE logo is a registered trademark of ALPWISE SAS. The Bluetooth® word mark and logos are registered trademarks owned by Bluetooth SIG, Inc. and any use of such marks by Alpwise is under license. All other names are the property of their respective owners. ©2013 ALPWISE – All rights reserved www.alpwise.com ALPWISE S.A.S. – LE PULSAR, 4 Avenue Doyen Louis Weil, 38000 GRENOBLE, France Tel: +33 4 76 22 02 24– Email: [email protected] – www.alpwise.com Revision 1.0 15