TOP Contributors

  1. MIKROE (2650 codes)
  2. Alcides Ramos (350 codes)
  3. Shawon Shahryiar (307 codes)
  4. jm_palomino (112 codes)
  5. Chisanga Mumba (90 codes)
  6. S P (73 codes)
  7. dany (71 codes)
  8. MikroBUS.NET Team (35 codes)
  9. NART SCHINACKOW (34 codes)
  10. Armstrong Subero (27 codes)

Most Downloaded

  1. Timer Calculator (136552 times)
  2. FAT32 Library (69750 times)
  3. Network Ethernet Library (55852 times)
  4. USB Device Library (46191 times)
  5. Network WiFi Library (41812 times)
  6. FT800 Library (41007 times)
  7. GSM click (28930 times)
  8. PID Library (26386 times)
  9. mikroSDK (26293 times)
  10. microSD click (25304 times)
Libstock prefers package manager

Package Manager

We strongly encourage users to use Package manager for sharing their code on Libstock website, because it boosts your efficiency and leaves the end user with no room for error. [more info]

< Back
mikroSDK Library

iqRF 2 click

Rating:

0

Author: MIKROE

Last Updated: 2019-08-05

Package Version: 1.0.0.1

mikroSDK Library: 1.0.0.0

Category: Sub-1 GHz Transceivers

Downloaded: 3613 times

Not followed.

License: MIT license  

IQRF 2 click carries the DCTR-72DAT RF transceiver, operating in the 868/916 MHz frequency. The click is designed to run on a 3.3V power supply. It communicates with the target microcontroller over SPI or UART interface.

No Abuse Reported

Do you want to subscribe in order to receive notifications regarding "iqRF 2 click" changes.

Do you want to unsubscribe in order to stop receiving notifications regarding "iqRF 2 click" changes.

Do you want to report abuse regarding "iqRF 2 click".

  • mikroSDK Library 2.0.0.0
  • Comments (0)
DOWNLOAD LINK RELATED COMPILER CONTAINS
mikroBasic PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroBasic PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroC PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for ARM
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for AVR
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for dsPIC30/33 & PIC24
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for FT90x
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc
mikroPascal PRO for PIC32
  • lib
  • src
  • exa
  • hlp
  • hex
  • sch
  • pcb
  • doc

mikroSDK Library Blog

IQRF 2 click

IQRF 2 click

Front and back view of the IQRF 2 click board.

View full image

Library Description

The library covers all the necessary functions to control iqRF 2 Click board.

Key functions:

  • void iqrf2_writeByte(uint8_t input) - Write Single Byte.
  • uint8_t iqrf2_readByte() - Read Single Byte.
  • uint8_t iqrf2_byteReady() - Check for new byte received.

Examples description

The application is composed of the three sections :

  • System Initialization - Initializes UART and LOG structures and start to write log.
  • Application Initialization - Initialization driver enables - UART, also write log.
  • Application Task - This is an example which demonstrates the use of iqRF 2 click board. Checks if new data byte has received in RX buffer ( ready for reading ), and if ready than reads one byte from RX buffer. In the second case, the application task writes message data via UART. Results are being sent to the Usart Terminal where you can track their changes
void applicationTask()
{
    char tmp;
    uint8_t rdyFlag;

// RECEIVER - UART polling

    rdyFlag = iqrf2_byteReady();

    if (1 == rdyFlag)
    {
        tmp = iqrf2_readByte();
        mikrobus_logWrite( &tmp, _LOG_BYTE );
    }

// TRANSMITER - TX each 2 sec
/*
    for (tmp = 0; tmp < 9; tmp++)
    {
        iqrf2_writeByte( MESSAGE_DATA[tmp] );
        Delay_ms( 100 );   
    }

    Delay_ms( 2000 );
*/
}

Other mikroE Libraries used in the example:

  • UART

Additional notes and informations

Depending on the development board you are using, you may need USB UART clickUSB UART 2 click or RS232 click to connect to your PC, for development systems with no UART to USB interface available on the board. The terminal available in all MikroElektronika compilers, or any other terminal application of your choice, can be used to read the message.

ALSO FROM THIS AUTHOR

Line Follower click

0

Line Follower Click carries an array of five QRE1113 miniature reflective object sensors. As the name implies, Line Follower click is best used for line following robots and cars.

[Learn More]

WiFi 6 click library

1

WiFi 6 click is a mikroBUS add-on board whose functionality is determined by two components: a WF121-A Wi-Fi module for communication over 2.4GHz band with excellent performance, and a PIC32MX695H MCU for end user applications to be embedded onto the click board itself.

[Learn More]

Network WiFi Library

5

The Network_WiFi library simplifies usage of the SPWF01S, MCW1001A and CC3000 wireless network module through plenty of library routines.

[Learn More]