DSP ULE Starter Kit Bedienungsanleitung

ULE Starter Kit User’s Manual
Rev1.0 June 2015
1
ULE Starter Kit User’s Manual
Revision 1.0
Document Objective: Instruct IoT device designers how
to leverage the ULE Starter Kit to empower their low-
power sensor and control applications with ULE wireless
connectivity
Document is subject to change without notice
Copyright © 2015 DSP Group Ltd.
All Rights Reserved

ULE Starter Kit User’s Manual
Rev1.0 June 2015
2
Revision History
Revision
Date
Author
Description
1.0
June 2015
Levi
Baseline Release

ULE Starter Kit User’s Manual
Rev1.0 June 2015
3
Table Of Contents
1. INTRODUCTION .......................................................................................................................................4
1.1 OTHER DOCUMENTS ..............................................................................................................................4
1.2 TARGET AUDIENCE................................................................................................................................4
1.3 STARTER KIT BASICS:ABIT ABOUT DECT-ULE ..................................................................................4
1.4 STARTER KIT HARDWARE......................................................................................................................5
1.4.1 DHX91 EVB (= ULE Node)..............................................................................................................5
1.4.2 DCX81 CMBS UART (= ULE Controller) .......................................................................................6
1.5 STARTER KIT SW TOOLS (DOWNLOADED FROM THE WEBSITE).............................................................6
2. GET YOUR APPLICATION UP AND RUNNING WITH ULE ............................................................7
2.1 STEP 1: ULE NODE WITH THE DHX91 ULE EVB &VAR SIMULATION TOOL......................................7
2.2 STEP 2: ULE NODE WITH THE DHX91 ULE EVB WIRED TO YOUR MCU..............................................7
2.3 STEP 3: ULE NODE WITH DHAN MODULE MOUNTED ON YOUR APPLICATION ......................................8
3. GETTING THE ULE CONTROLLER UP AND RUNNING.................................................................9
4. RUNNING THE ULE NODE USING THE VAR APPLICATION......................................................10
4.1 HARDWARE SETUP...............................................................................................................................10
4.2 INSTALLING THE VAR SIMULATOR .....................................................................................................10
4.3 RUNNING THE VARCMNDSIMULATOR.EXE..........................................................................................10
4.4 MESSAGES FROM ULE NODE TO CONTROLLER ...................................................................................12
4.5 MESSAGES FROM THE ULE CONTROLLER TO THE ULE NODE.............................................................13
4.6 PLACE THE ULE NODE IN HIBERNATE AND WAKE IT UP.....................................................................13
4.7 CHANGING THE FREQUENCY BAND FOR YOUR REGION .......................................................................14
4.7.1 Offset 0x204 (Node) and Offset 0x20 (Controller) Values for changing Frequency Band.............14
4.8 REGISTERING THE ULE NODE TO THE ULE CONTROLLER...................................................................15
5. INTERFACING THE DHX91 EVB ULE NODE TO YOUR MCU.....................................................16
5.1 UART CONNECTION ON THE DHX91 EVB..........................................................................................16
5.2 CONFIGURATION OF UART COMMUNICATION ....................................................................................16
5.3 IO, PUSH BUTTON AND LED SCHEMATIC OF DHX91 EVB.................................................................17
5.4 MODIFYING THE APPLICATION SW FOR ULE ......................................................................................17

ULE Starter Kit User’s Manual
Rev1.0 June 2015
4
1. Introduction
1.1 Other Documents
A. DHX91 DHAN Module Data Sheet (Downloadable from DSP Group Website)
B. HAN-FUN Protocol (Downloadable from www.ulealliance.org)
1.2 Target Audience
The Starter Kit and this User’s Manual are targeting those customers familiar with running IoT
applications on a particular microcontroller (with a spare UART Interface!) and now are interested in
adding ULE wireless connectivity capability via the DHAN module. That said, the DHAN module
can be used for standalone (single-processor) applications and also can interface with an external
microcontroller via I2C or SPI interfaces. If any of these use cases interest you, please don’t hesitate to
contact DSP Group at the link shown below. “Ditto”for those interested in developing new ULE
Controller or Gateway devices. We can get you started with these applications as well!
http://www.dspg.com/dhan-module/
1.3 Starter Kit Basics: A bit about DECT-ULE
DECT-ULE uses a star topology. Each DECT-ULE system contains only one device at the hub
of the star. This hub is typically the gateway to the WAN. In DECT cordless this hub is called the
Base Station. In the IoT context, the hub is called a ULE Controller. The points of the star are
traditional DECT cordless handsets and ULE Nodes or Devices –they can be integrated into a single
system. Thousands of ULE Devices can be associated with a single ULE Controller.
This Starter Kit incorporates a ULE Controller (BS Device) and a ULE Node (Device). The ULE
Controller includes a graphical interface for control and status reporting. It does not provide a means
to connect to the WAN. The Starter Kit promotes development of ULE Node applications per the
ULE Standard. Once completed and certified, your ULE Node can operate in any setting within range
of a certified ULE Controller. The ULE Controller is a common element in many gateways and over-
the-top boxes that populate our homes and offices.
Base Device
Addr=0
Device A
Addr=16
Device B
Addr=17
Device C
Addr=18
Figure 1-1: Star Topology

ULE Starter Kit User’s Manual
Rev1.0 June 2015
5
1.4 Starter Kit Hardware
1.4.1 DHX91 EVB (= ULE Node)
The DHX91 EVB includes a DHAN Module (a custom version with printed antenna), several push
buttons, LEDs and access to vital IO pins that facilitate simple application emulation. The EVB can
be powered using the AC transformer outputting 5V (supplied with the Kit) or using a CR123A
battery. The EVB is delivered configured for this latter case. See the jumper configuration below for
both cases. It is suggested to initially power up the EVB with a 3V power supply clipped to the
battery holder to get feedback regarding the current drain.
The EVB can function as a standalone demo device (Step 1 below) or as a development tool to be
interfaced via RS232 to a PC (Step 2 below) or via UART to an external controller (Step 3 below).
CR123A
5V
JP3
ON
OFF
JP4
OFF
ON
JP5
ON
OFF
JP8
OFF
OFF
JP10
OFF
ON
JP11
ON
ON
JP12
OFF
OFF
JP13
OFF
OFF
JP18
OFF
ON
JP19
OFF
Left position
JP20
OFF
OFF
5V input
CR123
DHAN
RS232
Wakeup

ULE Starter Kit User’s Manual
Rev1.0 June 2015
6
1.4.2 DCX81 CMBS UART (= ULE Controller)
This platform includes the DCX81 CMBS Module mounted on a ULE Controller motherboard. It is
powered by the AC transformer supplied with the Kit. The Kit includes 2 antennas which are threaded
on to the SMA connectors, and positioned as shown in the photo below. The connection between the
Controller RS232 (UART I/F) connector and the PC USB port is also shown below.
The driver for the ST Lab adaptor (included in the Kit) usually loads on its own when it is plugged
into the PC. If not, it can be copied from the CD included in the Kit. Once the driver is loaded you
should be able to see a COM port opened in your PC Device Manager. You should note the COM port
value as you will need it to run the DSPG Test Application SW which you have downloaded.
1.5 Starter Kit SW Tools (Downloaded from the website)
VarCmndSimulatorSetup.msi –Installer for the GUI communicating (via USB/UART path) with
the DHX91 ULE Node
DSPG Test Application.exe –GUI for communicating (via USB/UART path) with the ULE
CMBS Controller
5V Transformer
Diversity Antennas
UART F-F Cable
USB to UART
Adaptor
Laptop
running GUI

ULE Starter Kit User’s Manual
Rev1.0 June 2015
7
2. Get your application up and running with ULE
Working through the steps below will enable the User to get an ULE Node application with basic
ULE connectivity up and running. This section provides an overview of the 3 steps, with following
sections elaborating Steps 1 and 2.
2.1 Step 1: ULE Node with the DHX91 ULE EVB & VAR Simulation Tool
DHX91 EVB
(ULE Node with
CMND I/F
Active)
Laptop Running VAR
Simulator
RS232 USB
CMBS UART
(ULE Controller)
UART to USB
Adaptor
(ST Lab) UART
USB
Laptop Running
DSPG Test
Application (ULE
Controller GUI)
UART to USB
Adaptor
(ST Lab)
Here the ULE Node application is running on the PC using the VAR simulator you have downloaded.
(Note: Both sides of the link can run on the same computer). In this setup the User will learn how to:
Install and run VAR simulator on the Node side and the Controller GUI simulator on the
Controller side
Register the ULE Node, modify the operating frequency to comply with local regulations
Use the VAR simulator to trigger events and send maintenance messages (=Keep Alive) that
can be monitored at the Controller GUI
Copy the basic transactions at the CMND I/F so that they can easily be transplanted from the
simulator to the code running on the User’s application MCU.
2.2 Step 2: ULE Node with the DHX91 ULE EVB wired to your MCU
Application Board with
MCU. UART I/F and IOs
wired to DHX91 EVB
RXD
TXD
IOs
CMBS UART
(ULE Controller)
UART to USB
Adaptor
(ST Lab) UART
USB
Laptop Running
DSPG Test
Application (ULE
Controller GUI)
DHX91 EVB
(ULE Node with
CMND I/F Active)
ULE transactions have been embedded into the Application SW and their effectiveness can now be
validated. User will be able to register (=pair) his ULE Node Application with the ULE Controller,
send maintenance (= Keep Alive) and simple Alarm/Event messages, turn actuators ON-OFF, send
battery and RSSI status over to the Controller.

ULE Starter Kit User’s Manual
Rev1.0 June 2015
8
2.3 Step 3: ULE Node with DHAN Module mounted on your application
Fully integrated Application Board
with MCU and DHAN Module
communicating via CMND Interface
CMBS UART
(ULE Controller)
UART to USB
Adaptor
(ST Lab) UART
USB
Laptop Running
DSPG Test
Application (ULE
Controller GUI)
The User designs an application board which integrates a favorite MCU, sensors/switches, the DHAN
module and a 2GHz antenna. Prior to designing this application board, the User should discuss
application needs and constraints with DSP Group to insure that the application schematic is optimal
as well as receiving the SW training and detailed documentation needed to create an full-fledged
application.

ULE Starter Kit User’s Manual
Rev1.0 June 2015
9
3. Getting the ULE Controller Up and Running
After connecting the ULE Controller (= DCX81 CMBS UART) as depicted in a previous section (and
confirming via your Device Manager that a new COM port is up and running!), you should run the
DSPG Test Application executable you have downloaded. The window below will pop up and you
should enter the appropriate value:
A Graphical User Interface will pop up as below and the log window should indicate that the
initialization was successfully completed (“CMBS Init Done!).
The log window shown above is an abbreviated version of the incoming/outgoing flow of information
at the CMBS UART Interface. A more detailed (message) log is recorded in a file that can be opened
from the button indicated above. This file is located in the same directory as the DSPG Test
Application.exe file.
Click on the “Open HAN Window” button in the lower right and note that a “Smoke” device is
registered to your Controller, as shown below. This is because the EVB ULE Node in your Starter Kit
has already been registered to the ULE Controller and has been programmed as a Smoke device. A bit
later you will delete this registration and can run through the pairing (=registration) exercise yourself!

ULE Starter Kit User’s Manual
Rev1.0 June 2015
10
4. Running the ULE Node using the VAR application
Time to get the ULE node up and running with the VAR simulator. This simulator converses with the
UART Driver loaded in the DHAN module at an interface called the CMND API. The VAR simulates
your MCU’s communication with the CMND - so this is means to learn about this communication
pipe as well as grasp the overall connectivity scheme of ULE.
HAN ULE Device IO Layer
Device FUN Application
CMND API
Handler
Plugin
Plugin
HW Drivers
SPIUART
ULE
GPIO
GPIO
Device application
structure with
CMND API payload
GPIO events CMND API protocol
4.1 Hardware Setup
Power up the DHX91 ULE EVB. If you are using a Power Supply with metering, you should observe
~28mA. Now connect the EVB RS232 port to the PC USB port using the USB2UART Cable and
UART2UART adaptor provided in the Starter Kit. As before, query your Windows Device Manager
for the # of this added COM port!
4.2 Installing the VAR Simulator
Run the VarCmndSimulatorSetup.msi and follow instructions to generate the VarCmndSimulator.exe
file.
4.3 Running the VarCmndSimulator.exe
Run the VarCmndSimulator.exe file and choose the VAR Mode.
VAR Simulator
(on your PC!!)
Inhaltsverzeichnis
Andere DSP Computerhardware Handbücher
Beliebte Computerhardware Handbücher anderer Marken

EMC2
EMC2 VNX Series Betriebsanleitung

Panasonic
Panasonic DV0PM20105 Bedienungsanleitung

Mitsubishi Electric
Mitsubishi Electric Q81BD-J61BT11 Bedienungsanleitung

Gigabyte
Gigabyte B660M DS3H AX DDR4 Bedienungsanleitung

Raidon
Raidon iT2300 Bedienungsanleitung

National Instruments
National Instruments PXI-8186 Bedienungsanleitung












