SolidSwitch Click Board
SolidSwitch Click Board
The SolidSwitch Click Board™ is a compact add-on board that contains load switch devices. This board features the TPS22918, four single-channel load switches from Texas Instruments. Every switch includes an N-channel MOSFET that operates over an input voltage range up to 5.5V and can support a maximum continuous current of 2 A. The switches are controlled by an ON/OFF input, performed by MAX7323, an I2C configurable port expander capable of interfacing directly with low-voltage control signals. This Click Board™ is suitable for industrial systems, set-top boxes, electronic point of scale, and various other applications.
The SolidSwitch Click Board™ is supported by a mikroSDK compliant library, which includes functions that simplify software development. This Click Board™ comes as a fully tested product, ready to be used on a system equipped with the mikroBUS™ socket.
Software Support
We provide a library for the SolidSwitch Click Board™ as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
The package can be downloaded/installed directly from NECTO Studio The package Manager (recommended way), downloaded from our LibStock™ or found on the mikroE Github account.
Library Description
This library contains API for the SolidSwitch Click Board™ driver.
Key Functions
solidswitch_cfg_setup
- Config Object Initialization function.solidswitch_init
- Initialization function.solidswitch_default_cfg
- Click Default Configuration function.
Example Description
This example demonstrates the use of the SolidSwitch Click Board™.
The demo application is composed of two sections :
void application_task ( void ) { solidswitch_write_single ( &solidswitch, SOLIDSWITCH_ENABLE_OUT0 | SOLIDSWITCH_ENABLE_OUT1 ); solidswitch_display_enabled_channels( ); Delay_ms ( 3000 ); solidswitch_write_single ( &solidswitch, SOLIDSWITCH_ENABLE_OUT6 | SOLIDSWITCH_ENABLE_OUT7 ); solidswitch_display_enabled_channels( ); Delay_ms ( 3000 ); solidswitch_write_single ( &solidswitch, SOLIDSWITCH_ENABLE_ALL_OUTPUTS ); solidswitch_display_enabled_channels( ); Delay_ms ( 3000 ); solidswitch_write_single ( &solidswitch, SOLIDSWITCH_DISABLE_ALL_OUTPUTS ); solidswitch_display_enabled_channels( ); Delay_ms ( 3000 ); }
The full application code, and ready to use projects can be installed directly from NECTO Studio The package Manager (recommended), downloaded from our LibStock™ or found on mikroE Github account.
Other mikroE Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.SolidSwitch
Additional Notes and Information
Depending on the development board you are using, you may need USB UART Click Board™, USB UART 2 Click Board™ or RS232 Click Board™ 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.
MIKROSDK
The SolidSwitch Click Board™ is supported with mikroSDK - MikroElektronika Software Development Kit. To ensure proper operation of mikroSDK compliant Click board™ demo applications, mikroSDK should be downloaded from the LibStock and installed for the compiler you are using.
SolidSwitch Click Board
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.