Quick start with DPA without programming

To learn the DPA usage, development set DS-DPA-02 can be used.


All SW, plug-ins, documentation etc. are available on the flash disk and on www.iqrf.org/support/download.

  • Prepare TR-72DATs with OS 4.03D as follows: 5 pcs as the Nodes and 1 pc as the Coordinator.
  • Prepare 4 (5) pieces of DK-EVAL-04A and 1 (2) piece(s) of CK-USB-04A.
  • Install the latest IQRF IDE.
  • Launch IQRF IDE and open Project DPA-demo.iqrfprj from IQRF Startup package. All necessary files and macros are included in the Project.

Creating Nodes

A. Plug a TR transceiver in CK-USB-04A, select the DPA-Node-STD-7xD*.iqrf file in Project window and click the Upload Plug-ins button on the Toolbar (or use the F5 key). The plug-in should be uploaded then.

B. Double-click on the configuration file DPA-config.xml in IDE Project window to open the TR Configuration window.

Make the following settings:

  • Select the desired RF channel (RF Channel A) in the OS tab. Nodes will inherit the value from the Coordinator during bonding.
  • Select the desired RX filter in the DPA tab.
    • For short range testing (within the room) select 15.
    • For operating in real conditions select 5.
  • Select the desired Access Password in the Security tab. See IQRF OS User’s guide, chapter Access encryption.

This setting must be the same in the entire network!
Do not change other parameters for now.
Save the configuration into the TR by button Upload.

C. Plug this TR into the DK-EVAL-04A kit.
Repeat steps A to C for all Nodes.

Creating the Coordinator
Use the same procedure but with the DPA-Coordinator-SPI-7xD.iqrf and DPA-config.xml files. Then leave the TR plugged in CK-USB-04A.

Warning: If you use a stronger RX filter during the development (e.g. on the table), do not forget to reduce it then in final
application (in the real environment).


A. Pop-up menu
For the simplest checking, a command to switch the red LED On / Off on selected Node can be immediately sent by clicking the left mouse button on the symbol of the given
Node in the map.
The command currently selected in the DPA Test – Data to Send window can be executed by the right mouse button click on the symbol of given Node in the map and by selecting the Send Packet from DPA Test item. NADR is set automatically according to the selected Node.

B. Macros
Click on the particular macro and PNUM, PCMD, HWPID and PDATA are automatically filled in. Then select Node Address in the NADR box (for Broadcast use address 0xFF) and click the Send button.

  • Go to the 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 macros and Node addresses to test the functionality.

C. DPA packet arranged manually
To get a better understanding of the DPA packet structure, you can also fill in the DPA packet manually. By clicking the right mouse button to the area for selecting NADR, PNUM, PCMD or HWPID, menu Predefined Addresses, Predefined Peripherals, Predefined Commands or Predefined HWPIDs is displayed. These lists allow to select items defined by the DPA specification and directly arrange the packet.

  • From menu Predefined Addresses select Broadcast or directly specify the address of given Node.
  • From menu Predefined Peripherals select the LEDR peripheral.
  • From menu Predefined Commands select the Set on command.
  • From menu Predefined HWP select the To All HWP item.
  • Click the Send button.

Test other peripherals and commands in the same way.

1 thought on “Quick start with DPA without programming

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.