TOP Contributors

  1. MIKROE (2651 codes)
  2. Alcides Ramos (351 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 (136600 times)
  2. FAT32 Library (69803 times)
  3. Network Ethernet Library (55879 times)
  4. USB Device Library (46209 times)
  5. Network WiFi Library (41856 times)
  6. FT800 Library (41064 times)
  7. GSM click (28941 times)
  8. PID Library (26400 times)
  9. mikroSDK (26306 times)
  10. microSD click (25321 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

MiWi click

Rating:

0

Author: MIKROE

Last Updated: 2018-02-23

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Sub-1 GHz Transceivers

Downloaded: 3218 times

Not followed.

License: MIT license  

MiWi click is a sub-gigahertz radio transceiver click boardâ„¢, which offers a reliable FSK or OOK communication solution, with the maximum data rates of 40kbps and 16kbps, respectively.

No Abuse Reported

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

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

Do you want to report abuse regarding "MiWi click".

  • Information
  • Comments (0)

mikroSDK Library Blog

MiWi click

MiWi click

Native view of the MiWi click board.

View full image
MiWi click

MiWi click

Front and back view of the MiWi click board.

View full image

Library Description

Library carries generic functions which are enough to have complete control over MiWi click.

Key functions

void miwi_writeReg(uint8_t address, uint8_t value)- Writes data to register
uint8_t miwi_readReg(uint8_t address)- Reads data from register
void miwi_writeFIFO(uint8_t Data)- Writes data to FIFO buffer
uint8_t miwi_readFIFO()- Reads data from FIFO buffer

Examples Description

Demo application is modified version of Microchip's application for MRF89XA devices. Application is in the form of a console app with simple UI which allows operations such as register_read or write but also TX and RX routines.


This function (code snippet) continuously transmits predefined packet with delay of 100 ms between each transaction.

void RadioApp_txPredefinedPacket()
{
    uint8_t input;
    uint8_t tmpPacket[ 6 ] = { 80, 65, 67, 75, 69, 84 };

    ConsolePut_constString("Transmitting predefined packet at");
    RadioApp_printMiniStatus(PR_TX_MODE);
    ConsolePut_constString("Press (Ctrl+z) to exit");
    ConsolePut_newLine();

    while (1)
    {
        if (ConsoleGet_ready())
        {
            input = ConsoleGet();
            ConsolePut(input);

            if (input == 26)
            return;
        }

        miwi_sendPacket(&tmpPacket[0], 6);
        _miwi_rfMode = _MIWI_RF_STANDBY;
        Delay_ms( 100 );
    }
}

Other MikroElektronika libraries used in the example:

  • SPI
  • UART

Additional notes and information

Depending on the development board you are using, you may need USB UART click,  USB 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

Thermo 11 click

5

Thermo 11 Click is a Click board equipped with the sensor IC, which can digitize temperature measurements between -55°C and +150°C so that the temperature measurement data can be processed by the host MCU.

[Learn More]

Brushless 7 click

5

Brushless 7 Click based on TC78B009FTG IC from Toshiba is a three-phase BLDC motor controller that does not require Hall sensors. Some of the main features are a built-in closed loop speed control function that regulates and maintains the motor rotational speed under dynamic power fluctuations and load variations.

[Learn More]

Step Down 3 click

0

Step Down 3 Click is a compact add-on board that steps down the voltage from its input to its output. This board features the ST1PS03, a nano-quiescent miniaturized synchronous step-down converter with a load switch from STMicroelectronics. The ST1PS03 can provide up to 400mA output current with an input voltage ranging from 1.8V to 5.5V, specifically designed for applications where high efficiency is crucial. It also embeds a controlled switch accessible from auxiliary channel input to supply a subsystem, output voltage from 1.6V to 3.3V set using three digital control inputs, and a Power Good signal to indicate stabilized output voltages.

[Learn More]