background image

QUICK START

Debug

The operating system offers the  

debug()

  function  to be placed in source code wherever you wish to stop and

display internal variables and  registers. After selecting the 

Skip Breakpoint

 button the application continues running

until next 

debug()

 function is encountered and so on. If more debug instances is set at the same time, 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 explanation.

Example

Application examples

The Startup Package contains demo programs:

For DPA

Custom DPA handler examples

For non-DPA

Basic

To get familiar with simple TR operation and OS functions

Advanced

More complex

DDC

For IQRF DDC development kits

IQMESH

Networking

© 2015  MICRORISC s.r.o.

www.iqrf.org

Quick_Start_Guide_IQRF_ 150805

Page 10

Summary of Contents for DS-DPA-02

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: