IQRF DS-START-04, DS-DPA-02 Quick Start Manual

IQRF
Quick Start Guide
For IQRF OS v3.07D and higher
For IQRF IDE v4.30 and higher
© 2015 MICRORISC s.r.o. www.iqrf.org Quick_Start_Guide_IQRF_ 150805 Page 1
QUICK START
Components required....................................................................................................................................................3
Development hardware..................................................................................................................................................3
Development set..........................................................................................................................................................3
DCTR transceivers......................................................................................................................................................3
Programmer.................................................................................................................................................................3
End devices.................................................................................................................................................................4
USB device..................................................................................................................................................................4
Typical usage of kits......................................................................................................................................................5
First demonstration......................................................................................................................................................5
Point-to-point...............................................................................................................................................................5
Network.......................................................................................................................................................................5
Two application levels...................................................................................................................................................6
Data controlled, no programming................................................................................................................................6
C-programming, fully programmable...........................................................................................................................6
Development software...................................................................................................................................................7
PC software.................................................................................................................................................................7
IQRF IDE................................................................................................................................................................7
USB drivers............................................................................................................................................................7
CC5X......................................................................................................................................................................7
Text editor...............................................................................................................................................................7
Installation...................................................................................................................................................................7
Test..............................................................................................................................................................................7
Other PC programs operating with USB.....................................................................................................................7
IQRF IDE.....................................................................................................................................................................8
Programming and uploading procedure.................................................................................................................8
Other development, test and service utilities..........................................................................................................8
C-programming..............................................................................................................................................................9
Design steps................................................................................................................................................................9
Debug........................................................................................................................................................................10
Application examples................................................................................................................................................10
Quick start with HWP without programming.............................................................................................................11
Demo HWP vs. General HWP versions....................................................................................................................11
Limitations.............................................................................................................................................................11
Extensions............................................................................................................................................................11
DS-DPA-02 development set.....................................................................................................................................11
1. Preparation............................................................................................................................................................11
2. HWP upload.........................................................................................................................................................12
Creating Nodes.....................................................................................................................................................12
Creating the Coordinator......................................................................................................................................12
3. Bonding.................................................................................................................................................................13
4. Discovery...............................................................................................................................................................14
5. Examples...............................................................................................................................................................15
A. Pop-up menu...................................................................................................................................................15
B. Macros............................................................................................................................................................15
C. DPA packet arranged manually........................................................................................................................15
6. Unbonding.............................................................................................................................................................16
Unbonding a Node on the Coordinator side.........................................................................................................16
Unbonding a Node on the Node side...................................................................................................................16
Recommended documentation...................................................................................................................................17
Document history.........................................................................................................................................................17
© 2015 MICRORISC s.r.o. www.iqrf.org Quick_Start_Guide_IQRF_ 150805 Page 2
QUICK START
How to start the first IQRF design
IQRF start-up is also illustrated on IQRF Video tutorial set.
Components required
Just the following tools are needed:
HW: IQRF development set
SW: IQRF Startup package (free) including IQRF IDE development environment
PC: Windows Vista, Windows 7, Windows 8, Windows 8.1 or Windows 10
Development hardware
Development set
IQRF development set DS-START-04 (see below) or DS-DPA-02 (see chapter DS-DPA-02 development set) contains all HW needed for effective start-up.
DCTR transceivers
RF transceiver modules DCTR-72DA fitting to SIM connector. They are fully programmable under IQRF OS operating system and allow to utilize hardware profiles under DPA framework (see chapter Quick start with HWP without programming) for applications without programming.
Programmer
To upload application codes in DCTRs and configure DCTR parameters, CK-USB-04A kit is intended.
© 2015 MICRORISC s.r.o. www.iqrf.org Quick_Start_Guide_IQRF_ 150805 Page 3
QUICK START
End devices
DCTRs (with application functionality codes uploaded using the programmer in advance) should be hosted in portable DK-EVAL-04A kits.
USB connector is intended just for accumulator charging but not for USB connectivity.
USB device
DCTRs can also be hosted by CK-USB-04A connected to PC via USB. It enables to control the DCTR application from PC, first of all by the IQRF IDE powerful tools for communication, testing, network management and visualisation. This is advantageous especially for network Coordinator.
© 2015 MICRORISC s.r.o. www.iqrf.org Quick_Start_Guide_IQRF_ 150805 Page 4
QUICK START
Typical usage of kits
First demonstration
RF link check:
Unpack two DCTR transceivers from the development set. Do not make any changes in SW inside.
Plug the TR modules to both DK-EVAL-04A kits and switch the power on by jumpers.
Bidirectional RF link is automatically established between the kits. Red LED flashing indicates RF connection.
You can move the kits and check RF link with respect to given environment.
Note: This link works plug and play thanks to the E09-LINK program which is uploaded in all TR modules in development sets delivered from the factory. It is one of Basic examples from the Startup package and can be uploaded whenever needed later on.
Point-to-point
Arrangement with two DK-EVAL-04A kits see above.
Arrangement with CK-USB-04A:
See Basic examples E01-TX, E02-RX, … in IQRF Startup Package.
Network
For networks, it is recommended to apply ready-to-use hardware profiles, which is much easier than writing one's own user-specific application. See chapter Quick start with HWP without programming.
© 2015 MICRORISC s.r.o. www.iqrf.org Quick_Start_Guide_IQRF_ 150805 Page 5
QUICK START
Two application levels
Specific functionality can be implemented into DCTR in one of the two application levels:
Data controlled, no programming
Higher level, running under DPA framework and utilizing so called Hardware profiles, which are ready-to-use SW plug-ins enabling communication in mesh networks with no need of programming. DCTR is not controlled by an application program but by data flow. All resources of given device are accessed via sending and receiving packets. Requested functionality is achieved without programming. However, even this approach allows user-specific adapting by optional Custom DPA handler programmable in C language.
C-programming, fully programmable
Lower level, running directly under IQRF OS. The functionality is given by the application program in C language. This approach can be implemented also with TR transceivers (without the DC prefix, supporting only Demo hardware profiles).
For network applications, using the DPA approach is highly recommended.
Although IQRF OS supports mesh networks by embedded IQMESH protocol with a set of powerful functions, more detailed knowledge about IQRF and IQMESH is still needed for networking under IQRF OS.
To the contrary, the DPA framework utilized in DCTR transceivers solves the networking transparently. Just the addressees must be specified and then the packets are delivered automatically. This, together with data controlled approach with no programming needed makes DCTR very easy to implement. The entire network traffic is based on simple commands only specifying where and what to perform.
© 2015 MICRORISC s.r.o. www.iqrf.org Quick_Start_Guide_IQRF_ 150805 Page 6
Loading...
+ 12 hidden pages