How does it work?
SPI Isolator 5 Click is based on the DCL541A01, a high-speed quad-channel digital isolator from Toshiba Semiconductor. The DCL541A01 stands out with its exceptional performance capabilities, made possible by leveraging Toshiba’s advanced CMOS technology and a magnetic coupling structure. Not only does it meet the stringent safety standards of UL 1577 certification, but it also boasts an impressive withstand voltage rating of 5kVrms. Furthermore, its operating range spans from 2.25V to 5.5V, enabling seamless integration with lower voltage systems and facilitating voltage translation functionality across isolation barriers. With its versatility, this Click board™ is well-suited for various applications, including industrial automation systems, motor control, inverters, and more.
SPI Isolator 5 Click communicates with an MCU using the SPI serial interface with a maximum data rate of 150Mbps. The isolated lines are divided into two groups with the same lines. The first group comes in the form of 5 screw terminals, while the second forms a classic male 5-header row for easier jumper wire usage. Both groups of connectors have the same functions. You can distinguish the power VDD2 and GND2 lines from the data lines, which are CS2, SCK2, SDI2, SDO2, and DIS2. The DIS and DIS2 pins have the same function: to disable the lines from the side of the isolator on which they are located. By setting the DIS pin to a high logic level, the input signals are disabled, and by setting it to a low logic level, they are enabled. The isolator can work with external supply voltages from 2.25V up to 5.5V, and the existence of an external power supply is easily visible using the PWR2 LED indicator.
This Click board™ can operate with either 3.3V or 5V logic voltage levels selected via the VCC SEL switch. This way, both 3.3V and 5V capable MCUs can 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
Isolators,SPI
Applications
Can be used for general SPI-bus isolation, industrial automation systems, motor control, inverter, and more
On-board modules
DCL541A01 – quad-channel digital isolator from Toshiba Semiconductor
Key Features
High speed, data rate up to 150Mbps, wide supply range, UL1577 safety-related certification, high withstanding voltage, and more
Interface
SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
L (57.15 x 25.4 mm)
Input Voltage
3.3V or 5V,External
Pinout diagram
This table shows how the pinout on SPI Isolator 5 Click corresponds to the pinout on the mikroBUS™ socket (the latter shown in the two middle columns).
Onboard settings and indicators
Label | Name | Default | Description |
---|---|---|---|
LD1 | PWR | – | Power LED Indicator |
LD1 | PWR | – | Isolated-Side Power LED Indicator |
JP1 | VCC SEL | Left | Power/Logic Voltage Level Selection 3V3/5V: Left position 3V3, Right position 5V |
SPI Isolator 5 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Isolated-Side Supply Voltage VDD2 | 2.25 | – | 5.5 | V |
Maximum Withstand Isolation Voltage | – | 5 | – | kVrms |
Data Rate | – | – | 150 | Mbps |
Software Support
We provide a library for the SPI Isolator 5 Click as well as a demo application (example), developed using MIKROE compilers. The demo can run on all the main MIKROE development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager (recommended), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for SPI Isolator 5 Click driver.
Key functions
-
spiisolator5_write
SPI Isolator 5 data writing function. -
spiisolator5_read
SPI Isolator 5 data reading function. -
spiisolator5_transfer
SPI Isolator 5 transfer function.
Example Description
This example demonstrates the use of SPI Isolator 5 Click board™ by reading the manufacturer ID and device ID of the connected Flash 11 click board.
void application_task ( void )
{
static uint8_t cmd_get_id[ 6 ] = { FLASH11_CMD_GET_ID };
static uint8_t read_id[ 6 ] = { 0 };
if ( SPIISOLATOR5_OK == spiisolator5_transfer( &spiisolator5, &cmd_get_id[ 0 ], &read_id[ 0 ], 6 ) )
{
if ( ( FLASH11_MANUFACTURER_ID == read_id[ 4 ] ) && ( FLASH11_DEVICE_ID == read_id[ 5 ] ) )
{
log_printf( &logger, " Manufacturer ID: 0x%.2Xrn", ( uint16_t ) read_id[ 4 ] );
log_printf( &logger, " Device ID: 0x%.2X rn", ( uint16_t ) read_id[ 5 ] );
log_printf( &logger, " -----------------------rn" );
Delay_ms( 3000 );
}
}
}
The full application code, and ready to use projects can be installed directly from NECTO Studio 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.SPIIsolator5
Additional notes and informations
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 MIKROE compilers.
mikroSDK
This Click board™ is supported with mikroSDK – MIKROE 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.
For more information about mikroSDK, visit the official page.