background image

QUICK START

Development software

All software and documentation is available in a single 

IQRF Startup package

 on the IQRF CD or USB Flash drive

included in the development set. The newest version should be downloaded from www.iqrf.org/startup.

PC software

IQRF IDE

Integrated development environment by MICRORISC to create, debug and control IQRF applications and manage
IQRF network. Required minimal IQRF IDE version depends on IQRF OS version of given TR transceiver and
possibly also on DPA version. See IQRF IDE Release notes. The best way is to always use the latest IDE version.

USB drivers

IQRF USB devices primarily utilize Custom class (with VID

 

/

 

PID by MICRORISC when used with IQRF devices).

Several IQRF USB devices (e.g. GW-USB-06) can also (optionally) use the CDC class. (CDC is not necessary for
IQRF startup.)

USB drivers implemented in current IQRF devices (e.g. CK-USB-04A or GW-USB-06 with up-to-date firmware) are

by verified publisher 

based on the 

WinUSB 

by Microsoft. 

USB drivers implemented in older IQRF devices (e.g. CK-USB-04) or in older firmware versions of some current
devices are based on the 

MPUSB 

by Microchip. 

CC5X

C compiler for the PIC microcontrollers (by B Knudsen Data). The evaluation version (included in IQRF Startup
package) is free. 

The compiler is not necessary when using hardware profiles without a Custom DPA handler.

Text editor

For source code creation and modification, any external editor beeing able to save a plain ASCII text, e.g. Windows
Notepad   can   be  used.  +   (a   great   source   code  editor,   free  by  GPL  License)   is   very  recommended.
Download it from www.notepad-plus-plus.org. 

The editor is not necessary when using hardware profiles without a

Custom DPA handler.

Installation

1. Do not have any IQRF USB device connected.

2.

Unzip

 the 

Startup package

 

(

the 

.zip

 file). All you need is automatically unpacked to specified directory.

3.

Install  

the  

IQRF IDE  

by invoking the installation file  

iqrf-ide-4xx….exe

  in subdirectory  

IQRF_IDE

. USB

drivers and free edition of the C compiler are also installed. Follow the instructions during installation. See the

IQRF USB drivers Installation guide

 (in subdirectory 

Documentation\SW

) for details depending on Windows

version.

4.

Connect

 the CK-USB-04A to PC.

5.

Invoke 

the

 IQRF IDE

.

6. To edit source C files, Windows native Notepad is set as default. You can change it for your favorite editor (e.g.

+) in the 

Tools / Options / Editors

  menu.

Up to 3 instances of IQRF IDE v4.xx are allowed running at the same time. But only one IQRF IDE can be installed. 

Test

Open the default IDE project  

E00-START

  in the  

Examples/IQRF_OS/StartUp

  directory and press the  

F11

  key

(

USB Device

 

/

 

Indicate USB Device

). LED1 on the CK-USB-04A should flash thrice which indicates correct connection

between CK-USB-04A and PC.

Other PC programs operating with USB

Other PC programs which utilize the same USB driver, e.g.  

IQRF UDU

 (obsolete) for upgrade a firmware in IQRF

devices, 

IQRF Router configurator

 or some 3rd-party SW (e.g. by Microchip), must not be running at the same time

with IQRF IDE.

© 2015  MICRORISC s.r.o.

www.iqrf.org

Quick_Start_Guide_IQRF_ 150805

Page 7

Содержание DS-DPA-02

Страница 1: ...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...

Страница 2: ...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 Genera...

Страница 3: ...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...

Страница 4: ...r 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 powerf...

Страница 5: ...ug 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 w...

Страница 6: ...r 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 Fo...

Страница 7: ...ASCII text e g Windows Notepad can be used Notepad a great source code editor free by GPL License is very recommended Download it from www notepad plus plus org The editor is not necessary when using...

Страница 8: ...essary when using hardware profiles without a Custom DPA handler Upload uploading the code into the DCTR module either a hardware profile possibly with a Custom handler or a user specific application...

Страница 9: ...y add required IQRF or HEX file to the Project Project Add Existing Item and go to step 7 4 Add required source file one of examples e g CustomDpaHandler Timer E09 LINK c or empty template CustomDpaHa...

Страница 10: ...the W register MCU accumulator should be used to distinguish the active breakpoint location Macro breakpoint w can be used for simplicity See IQRF macros h header file and basic example E06 RAM for ex...

Страница 11: ...s are indicated by LEDs flashing by default DS DPA 02 development set To learn DPA usage development set DS DPA 02 can be used DCTR 72DAT IQRF smart transceiver 6 pcs CK USB 04A IQRF programmer and de...

Страница 12: ...testing within the room select 15 For operating in real conditions select 0 for TR 7xD or 5 for TR 5xD This settings must be the same in the entire network Do not change other parameters for now Save...

Страница 13: ...hould be cleared from the Coordinator memory first Click the Clear All Bonds in IQMESH Network Manager window tab Control IQMESH Number of bonded Nodes should be 0 see the screenshot below C Activate...

Страница 14: ...eenshot below should appear B Place Nodes in longer distance between each other with respect to current RX Filter selected in TR Configuration For test purpose it is recommended to reduce the range us...

Страница 15: ...dress in NADR box for Broadcast use address 0xFF and click the Send button Go to LED macros and click on macro Set LEDR on To switch all LEDs on fill in 0xFF in NADR and Click Send button Use various...

Страница 16: ...SW1 close to USB connector Shortly press button SW2 Green LED shines for about 2 s Release the SW1 button immediately once the green LED stops shining If the node is successfully unbonded red LED is f...

Страница 17: ...mplementation in IQRF TR modules It is needed only if you design one s own SPI master to communicate with the TR module TR module datasheet User s guides of development kits used IQRF USB drivers Inst...

Страница 18: ...All information contained in this publication is intended through suggestion only and may be superseded by updates without prior notice No representation or warranty is given and no liability is assum...

Отзывы: