Developing on the DragonBoard Platform & Internet of Things Development Kit
-
Upload
qualcomm-developer-network -
Category
Technology
-
view
822 -
download
3
description
Transcript of Developing on the DragonBoard Platform & Internet of Things Development Kit
SESSION NO: 29 DEVELOPING ON THE DRAGONBOARDTM PLATFORM & INTERNET OF THINGS (IOT) DEVELOPMENT KIT
18 September 2014
1
Victor Gonzalez
Introduction
The purpose of this presentation is to provide an overview of Qualcomm® Snapdragon™ processors, the Dragonboard development platforms and tools based on the Snapdragon 800 processor, including the development environments for application developers and embedded device developers.
© 2014 Intrinsyc Technologies Corporation Qualcomm Snapdragon is a product of Qualcomm Technologies, Inc.
2
Agenda 3
o Snapdragon processor
o Dragonboard Overview
o Dragonboard and the Internet of Things
o Developing on the Dragonboard Platform & Internet of Things Development Kit
© 2014 Intrinsyc Technologies Corporation
Why Snapdragon Processors? For application developers;
Snapdragon processors power many of today’s most popular mobile devices
For embedded device developers; Snapdragon processors provide a feature rich, high performance, platform in a power efficient package
4
© 2014 Intrinsyc Technologies Corporation
What is the Snapdragon SoC? 5
Memory
GNSS
Snapdragon Processors
6
•Quad Core ARM A15 Class -2.5 GHz Clock •Qualcomm® AdrenoTM 420 GPU •Up to 4K capture and display (H265) •3 * MIPI CSI, USB3.0, USB2.0, 4xSDIO, HDMI, plus PCIe •MDP available now & development platform available in early Q3 2014
Snapdragon 805 APQ8084
Premium Tier Quad Core
•Quad Core ARM A15 Class -2.15 GHz Clock •Adreno 330 GPU •Up to 4K capture and display (H264) •3 * MIPI CSI, USB3.0, USB2.0, 4xSDIO, HDMI •Dragonboard development kit available now
Snapdragon 800 APQ8074
Premium Tier Quad Core
•Quad Core ARM A15 Class - 1.7 GHz Clock •Adreno 320 Graphics •1080P display @ 30Hz •USB 2.0, 4xSDIO, HDMI, SATA, PCIe, etc • Reference design available now
Snapdragon 600 APQ8064
High Tier Quad Core
•Dual Core ARM A15 Class - 1.5 GHz Clock •Adreno 225 Graphics •1080P display @ 30Hz •USB 2.0, 5xSDIO, HDMI, etc •Dragonboard Development kit available now
Snapdragon 600 APQ8060A
High Tier Dual Core © 2014 Intrinsyc Technologies Corporation
Qualcomm Adreno is a product of Qualcomm Technologies, Inc.
Snapdragon Processors
7
•Quad Core ARM A15 Class -2.5 GHz Clock •Adreno 420 GPU •Up to 4K capture and display (H265) •3 * MIPI CSI, USB3.0, USB2.0, 4xSDIO, HDMI, plus PCIe •MDP available now & development platform available in early Q3 2014
Snapdragon 805 APQ8084
Premium Tier Quad Core
•Quad Core ARM A15 Class -2.15 GHz Clock •Adreno 330 GPU •Up to 4K capture and display (H264) •3 * MIPI CSI, USB3.0, USB2.0, 4xSDIO, HDMI •Dragonboard development kit available now
Snapdragon 800 APQ8074
Premium Tier Quad Core
•Quad Core ARM A15 Class - 1.7 GHz Clock •Adreno 320 Graphics •1080P display @ 30Hz •USB 2.0, 4xSDIO, HDMI, SATA, PCIe, etc • Reference design available now
Snapdragon 600 APQ8064
High Tier Quad Core
•Dual Core ARM A15 Class - 1.5 GHz Clock •Adreno 225 Graphics •1080P display @ 30Hz •USB 2.0, 5xSDIO, HDMI, etc •Dragonboard Development kit available now
Snapdragon 600 APQ8060A
High Tier Dual Core
© 2014 Intrinsyc Technologies Corporation
Trepn™profiler
Adreno SDK and Adreno
Profiler
FastCV™ SDK
Software Developer Tools Excellent control and visibility into the hardware for application development and optimization
Graphics & Gaming
Context Awareness
Image Stabilization
Augmented Reality
Peer To peer
Power Profiling
8
Sensor Core
Snapdragon SDK for Android
Android & Applications
Trepn and FastCV are products of Qualcomm Technologies, Inc. Qualcomm Vuforia is a product of Qualcomm Connected Experiences, Inc.
AllJoyn is a collaborative open source project of the AllSeen Alliance.
Dragonboard based on Snapdragon 800 9
© 2014 Intrinsyc Technologies Corporation
DragonBoard DragonBoard provides developers with
access powerful, feature-rich, versatile, and easy-to-use exposed board platform for component vendors, software and embedded device developers.
It consists of a complete System on Module (SoM) with a Snapdragon processor, a carrier board and a peripheral kit.
The latest development kit is based on the Snapdragon 800 processor
© 2014 Intrinsyc Technologies Corporation
DragonBoard Development Kit Intrinsyc’s DragonBoard Development Kit is a full featured Android™ development platform
The DragonBoard Development Kit includes all of the software tools and accessories required to immediately begin development work.
The DragonBoard Development Kit:
Production Ready SoM based on Snapdragon processor.
Carrier Board
Android OS pre-loaded
Peripheral Kit
Quick Start Guide
Registered access to web site for Documentation:
Hardware Document Set
Software Document Set
Snapdragon 800 GPIO configuration spreadsheet
Software Interface Document Set (Registers)
Development Kit User Guide
Development Kit BSP Programmers Guide, inc. sw building
Release Notes
Schematics & BOM
www.intrinsyc.com/products/qualcomm/dragonboard.aspx
© 2014 Intrinsyc Technologies Corporation
Snapdragon 800 Specifications Open-Q™ Qseven™ SoM
Snapdragon 800 Series APQ8074 Processor PMICs 2GB LPDDR3 RAM 16GB eMMC 2 x MIPI CSI Connectors WiFi 2.4GHz/5GHz, Bluetooth 4.1, GPS Two Board to Board Connectors
Audio expansion header w/ 6 digital MIC’s Third MIPI CSI SATA
Edge Connector The rest of the signals - JTAG, GPIO, Sensors,
NFC, SD Card, etc.
Carrier Panel Interfaces 2 x USB 3.0 Type A, 2 x USB 2.0 Type A
Gigabit Ethernet, RS-232
DC-IN Port
HDMI, DisplayPort outputs
6-port audio jack & ANC 3.5mm headset jack
USB 2.0 OTG micro AB
3 x optional SMA connectors
Carrier Board Interfaces Dual MIPI DSI + Touch Panel 60-pin connector
Additional MIPI CSI connector
2 x SATA headers
ITX headers for USB, Audio, front panel switch, LEDs, and power
JTAG header
Advantages of the Development Kit Early access to next generation Qualcomm® technology for technology companies and OEMs. Comprehensive and open software support, with access to a developer community Web site. Access to software upgrades and a build environment where almost anything can be modified Advanced software performance profiling software Development takes place on target HW The SoM is easily integrated into custom carrier boards to create a fully customized solution,
but without the full up design effort: Production ready module Easily expandable Compact form factor
In summary, the SoM approach reduces product development costs while decreasing time to market and technical risk.
Dragonboard and the IoT 14
© 2014 Intrinsyc Technologies Corporation
DragonBoard IoT The IoT Development Kit includes an
adapter board that connects to the Snapdragon 800 Series based DragonBoard Development Kit, extending the functionalities to Arduino shields or other accessories such as LEDs, motors etc. You can then control them remotely from a tablet using the AllJoyn service. The IoT Development Kit includes several sample applications and yes, we provide source code!
© 2014 Intrinsyc Technologies Corporation
DragonBoard IoT Configuration
IoT Dev kit connected to an adapter board © 2014 Intrinsyc Technologies Corporation
Powered via USB 500mA from DB or 750mA external power
Arduino Uno compatibility Level shifted lines 16 GPIO 2 x I2C buses 2 x SPI buses 1 user LED, 2 I2C/SPI bus activity LEDs Programmable button Accepts Arduino Uno & Arduino Mega shields
DragonBoard IoT Kit Content
Kit comprises: Adapter board (153.4 x 53.4 mm) Arduino Motor shield
http://www.adafruit.com/products/1438
Ribbon cable
© 2014 Intrinsyc Technologies Corporation
USB cable DC motor Application samples with source code User Guide
DragonBoard IoT Software Modules
© 2014 Intrinsyc Technologies Corporation
Implementation: Iot-Samples Alljoyn client sends user-
commands to IoT-Demo Alljoyn server
IoT-Demo interprets the commands into I2C and GPIO instructions and sends them through APIs provided by the IoT Android Service
Sample APK’s provided: Iot-Demo.apk (runs on Dragonboard)
IoT-Samples.apk (runs on Android Device)
Source for both are provided. Download IoT-Demo.tar.gz and IoT-
Samples.tar.gz from Code Aurora
Add AllJoyn libraries to the projects
More details available with the IoT documentation
DragonBoard IoT Software API’s TdkMessengerService API (Sample is in IoTMainActivity.java):
Bind to the service and obtain Messanger
Use Messanger to send instruction as messages with codes provided in IoTMsg.java
IoTMsg.MSG_SET_GPIO
arg1 = gpio number; arg2 = value 0 or 1
It will export gpio, set direction to “out”, set value and unexport gpio
Following messages/instructions will do steps separately to export all necessary gpios during initialisation.
IoTMsg.MSG_GPIO_EXPORT(arg1=gpio_number, arg2=direction)
IoTMsg.MSG_GPIO_SET(arg1=gpio_number, arg2=value)
IoTMsg.MSG_GPIO_UNEXPORT(arg1=gpio_number)
IIot<Msg.MSG_I2C_SET (Instruction is sent as string bundle data)
Message msg = Message.obtain(null, IoTMsg.MSG_I2C_SET);
Bundle bundle;
Bundle.putString(“args”, “11 0x60 0x00 0x11”);
Msg.setData(bundle);
mMessanger.send(msg);
Download applications source (IoT-Demo.tar.gz, IoT-Samples.tar.gz) from
https://www.codeaurora.org/xwiki/bin/Snapdragon+Developer+Platforms/WebHome#Attachments
DragonBoard IoT Example Setup
Sample setup with buzzer, LED matrix and motor/fan connected to shield Controlled wirelessly from an Android tablet (via AllJoyn)
© 2014 Intrinsyc Technologies Corporation
Call to Action Visit our booth
For more demos Visit our Web sites:
http://www.intrinsyc.com/iot http://www.intrinsyc.com/products/qualcomm/dragonboard-
development-kits.aspx Call Bill Lenk at Intrinsyc: Telephone: +1 (630) 258-3190 E-Mail: [email protected]
Begin your Snapdragon development
21
© 2014 Intrinsyc Technologies Corporation
Thank You 22
Victor Gonzalez Sr. Director Engineering Services Intrinsyc Technologies Corp. Direct Line: +1 (604) 648 4016 Email: [email protected]
© 2014 Intrinsyc Technologies Corporation