TOP Contributors

  1. MIKROE (2653 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 (136652 times)
  2. FAT32 Library (69872 times)
  3. Network Ethernet Library (55904 times)
  4. USB Device Library (46245 times)
  5. Network WiFi Library (41873 times)
  6. FT800 Library (41115 times)
  7. GSM click (28968 times)
  8. PID Library (26403 times)
  9. mikroSDK (26332 times)
  10. microSD click (25345 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

RF Switch click

Rating:

5

Author: MIKROE

Last Updated: 2020-07-08

Package Version: 1.0.0.0

mikroSDK Library: 1.0.0.0

Category: Port expander

Downloaded: 1745 times

Not followed.

License: MIT license  

RF Switch is a Click board equipped with the MASWSS0115, a GaAs PHEMT MMIC single-pole, double-throw (SPDT) switch developed by Macom for switching between small signal components such as filter banks, single-band LNAs, converters, etc. The MASWSS0115 is ideally suited for applications where a very small size and low cost are required.

No Abuse Reported

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

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

Do you want to report abuse regarding "RF Switch 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

RF Switch Click

RF Switch Click

Native view of the RF Switch Click board.

View full image
RF Switch Click

RF Switch Click

Front and back view of the RF Switch Click board.

View full image

Library Description

The library covers all the necessary functions to control RF Switch Click board. The library contains a function which switching signal between RF Channel 1 and 2.

Key functions:

  • void rfswitch_set_mode ( uint8_t enable ) - Set Power mode state.
  • void rfswitch_sel_state ( uint8_t sel_state ) - Set SEL pin state.
  • void rfswitch_select_channel ( uint8_t select_channel ) - Select RF channel.

Examples description

The application is composed of three sections :

  • System Initialization - Initializes GPIO and LOG structures, sets CS and PWM pins as output and start write log.
  • Application Initialization - Initialization driver enable's - GPIO, also write log.
  • Application Task - (code snippet) This is a example which demonstrates the use of RF Switch Click board. Results are being sent to the Usart Terminal where you can track their changes.
void application_task ( )
{
    mikrobus_logWrite( "  Switch to RF Port 1  ", _LOG_LINE );
    mikrobus_logWrite( "-----------------------", _LOG_LINE );
    rfswitch_select_channel( RFSWITCH_SELECT_CHANNEL_1 );
    Delay_ms( 5000 );

    mikrobus_logWrite( "  Switch to RF Port 2  ", _LOG_LINE );
    mikrobus_logWrite( "-----------------------", _LOG_LINE );
    rfswitch_select_channel( RFSWITCH_SELECT_CHANNEL_2 );
    Delay_ms( 5000 );
}

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

WebcamSurveillance

10

This project shows how you can build your own simple surveillance system, using Network Ethernet Internal Library.

[Learn More]

OSD click

0

This is a sample program which demonstrates the use of OSD click. Program shows the time and date in corners of the screen and enable you to set the time and date, using the OSD menu.

[Learn More]

6DOF IMU 16 click

0

6DOF IMU 16 Click is a compact add-on board with a 6-axis inertial measurement device. This board features the ICM-42605, a premium performance 6-axis MotionTracking™ IMU from TDK InvenSense. It combines a 3-axis gyroscope and a 3-axis accelerometer, supporting the lowest gyroscope and accelerometer sensor noise in this IMU class. It also has the highest stability against temperature, shock, SMT/bend-induced offset, and more.

[Learn More]