Carte à clic SolidSwitch 3
Carte à clic SolidSwitch 3
Overview
La carte SolidSwitch 3 Click Board™ est une carte complémentaire compacte qui contient un dispositif de commutation de charge. Cette carte comprend le BD8LB600FS-C, un commutateur côté bas à huit canaux pour automobile de Rohm Semiconductor. Chaque commutateur est contrôlé via une interface SPI et comprend un MOSFET à canal N qui prend en charge un courant maximal de 1 A. Le BD8LB600FS-C dispose également de circuits de protection intégrés, à savoir les circuits de surintensité, d'arrêt thermique, de détection de charge ouverte et de verrouillage de tension. De plus, cet appareil possède également une fonction de sortie de diagnostic lors de la détection d'anomalies. Cette carte Click™ convient à la commande de charges résistives, inductives et capacitives.
La carte Click Board™ SolidSwitch 3 est supportée par une bibliothèque compatible mikroSDK, qui comprend des fonctions qui simplifient le développement logiciel. Cette carte Click Board™ est un produit entièrement testé, prêt à être utilisé sur un système équipé du socket mikroBUS™.
How Does The SolidSwitch 3 Click Board™ Work?
The SolidSwitch 3 Click Board™ is based on the BD8LB600FS-C, an automotive eight-channel low-side load switch from Rohm Semiconductor. Every switch is controlled through a serial peripheral interface and includes an N-channel MOSFET that supports a maximum current of 1A. The BD8LB600FS-C offers flexible protection boundaries for systems against input voltage up to 5V and limits the output load current making this device ideal for driving resistive, inductive, and capacitive loads.
The SolidSwitch 3 Click Board™ communicates with MCU through a standard SPI interface and operates at clock rates up to 5MHz, providing data in digital format of 16-bits. It also uses the Reset feature labelled as RST and routed to the RST pin of the mikroBUS™ socket. In addition to these pins, there are a few more like DIR and two input pins, IN1 and IN2 pins, routed to the AN, PWM, and INT pins of the mikroBUS™ socket. The DIR signal represents a transition to a direct mode activated by setting this pin to a high logic level.
Depending on the set logic state on the DIR pin, pins IN1 and IN2 can be used to control the given output channels; IN1 represents the control of channels 1 and 5 when the DIR is at a low logic state, while IN2 defines the management of channels 2 and 6 when the DIR is at a low logic state. When the DIR is set to high logic state, then IN1 represents control of only channel 5 and IN2 only of channel 6.
As mentioned before, the BD8LB600FS-C also has built-in protection circuits, namely the overcurrent, the thermal shutdown, the open-load detection, and the voltage lock-out circuits. Moreover, this device also possesses a diagnostic output function during abnormal detection.
The SolidSwitch 3 Click Board™ can operate with both 3.3V and 5V logic voltage levels selected via the VCC SEL jumper. This way, it is allowed for both 3.3V and 5V capable MCUs to use the communication lines properly. However, the Click board™ comes equipped with a library containing easy-to-use functions and an example code that can be used, as a reference, for further development.
SPECIFICATIONS
Type | Relay |
Applications | Can be used for driving resistive, inductive, and capacitive loads |
On-board modules | BD8LB600FS-C - automotive eight-channel low-side load switch from Rohm Semiconductor |
Key Features | Eight channel load switch, 16-bit SPI interface for diagnostics and control, built-in protection features, 1A maximum output current, and more |
Interface | SPI |
Compatibility | mikroBUS |
Click board size | M (42.9 x 25.4 mm) |
Input Voltage | 3.3V or 5V |
PINOUT DIAGRAM
This table shows how the pinout of the SolidSwitch 3 Click Board™k corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Notes | Pin | Pin | Notes | ||||
---|---|---|---|---|---|---|---|
Direct Mode | DIR | 1 | AN | PWM | 16 | IN1 | 1/5 Channel Control |
Reset | RST | 2 | RST | INT | 15 | IN2 | 2/6 Channel Control |
SPI Chip Select | CS | 3 | CS | RX | 14 | NC | |
SPI Clock | SCK | 4 | SCK | TX | 13 | NC | |
SPI Data OUT | SDO | 5 | MISO | SCL | 12 | NC | |
SPI Data IN | SDI | 6 | MOSI | SDA | 11 | NC | |
Power Supply | 3.3V | 7 | 3.3V | 5V | 10 | 5V | Power Supply |
Ground | GND | 8 | GND | GND | 9 | GND | Ground |
ONBOARD SETTINGS AND INDICATORS
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | - | Power LED Indicator |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
SOLIDSWITCH 3 CLICK ELECTRICAL SPECIFICATIONS
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | - | 5 | V |
Maximum Output Current | - | - | 1 | A |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the SolidSwitch 3 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), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the SolidSwitch 3 Click Board™ driver.
Key functions
-
solidswitch3_enable_output
This function enables the specified output channel. -
solidswitch3_disable_output
This function disables the specified output channel. -
solidswitch3_reset
This function resets the device by toggling the reset pin.
Example Description
This example demonstrates the use of the SolidSwitch 3 Click Board™ by controlling the output state.
void application_task ( void )
{
for ( uint16_t cnt = SOLIDSWITCH3_CH_OUT1; cnt <= SOLIDSWITCH3_CH_OUT8; cnt <<= 1 )
{
if ( SOLIDSWITCH3_OK == solidswitch3_enable_output ( &solidswitch3, cnt ) )
{
solidswitch3_display_enabled_channels( &solidswitch3 );
Delay_ms ( 1000 );
}
}
if ( SOLIDSWITCH3_OK == solidswitch3_disable_output ( &solidswitch3, SOLIDSWITCH3_ALL_CHANNELS ) )
{
solidswitch3_display_enabled_channels( &solidswitch3 );
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.SolidSwitch3
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. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The SolidSwitch 3 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.
Software Support
We provide a library for the SolidSwitch 3 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), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the SolidSwitch 3 Click Board™ driver.
Key functions
-
solidswitch3_enable_output
This function enables the specified output channel. -
solidswitch3_disable_output
This function disables the specified output channel. -
solidswitch3_reset
This function resets the device by toggling the reset pin.
Example Description
This example demonstrates the use of the SolidSwitch 3 Click Board™ by controlling the output state.
void application_task ( void )
{
for ( uint16_t cnt = SOLIDSWITCH3_CH_OUT1; cnt <= SOLIDSWITCH3_CH_OUT8; cnt <<= 1 )
{
if ( SOLIDSWITCH3_OK == solidswitch3_enable_output ( &solidswitch3, cnt ) )
{
solidswitch3_display_enabled_channels( &solidswitch3 );
Delay_ms ( 1000 );
}
}
if ( SOLIDSWITCH3_OK == solidswitch3_disable_output ( &solidswitch3, SOLIDSWITCH3_ALL_CHANNELS ) )
{
solidswitch3_display_enabled_channels( &solidswitch3 );
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.SolidSwitch3
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. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The SolidSwitch 3 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.
Software Support
We provide a library for the SolidSwitch 3 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), downloaded from our LibStock™ or found on MikroE Github account.
Library Description
This library contains API for the SolidSwitch 3 Click Board™ driver.
Key functions
-
solidswitch3_enable_output
This function enables the specified output channel. -
solidswitch3_disable_output
This function disables the specified output channel. -
solidswitch3_reset
This function resets the device by toggling the reset pin.
Example Description
This example demonstrates the use of the SolidSwitch 3 Click Board™ by controlling the output state.
void application_task ( void )
{
for ( uint16_t cnt = SOLIDSWITCH3_CH_OUT1; cnt <= SOLIDSWITCH3_CH_OUT8; cnt <<= 1 )
{
if ( SOLIDSWITCH3_OK == solidswitch3_enable_output ( &solidswitch3, cnt ) )
{
solidswitch3_display_enabled_channels( &solidswitch3 );
Delay_ms ( 1000 );
}
}
if ( SOLIDSWITCH3_OK == solidswitch3_disable_output ( &solidswitch3, SOLIDSWITCH3_ALL_CHANNELS ) )
{
solidswitch3_display_enabled_channels( &solidswitch3 );
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.SolidSwitch3
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. UART terminal is available in all MikroElektronika compilers.
MIKROSDK
The SolidSwitch 3 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.
Frequently Asked Questions
Have a Question?
Be the first to ask a question about this.