How does it work?
I2C Isolator Click is based on the ISO1540, a 2.5kVrms I2C digital isolator from Texas Instruments. The ISO1540 enables a completely isolated I2C interface, supporting Fast Mode Plus up to 1MHz, with two isolated bidirectional channels for clock and data lines. It provides advantages such as performance, size, and power consumption compared to optocouplers, which makes it suitable for multi-master and applications where slave clock stretching is possible. Isolated bidirectional communication is accomplished by offsetting the low-level output voltage on the MCU side to a value greater than its high-level input voltage, preventing an internal logic latch that would occur with standard digital isolators.
The ISO1540 has logic input and output buffers separated by Texas Instruments Capacitive Isolation technology using a silicon dioxide (SiO2) barrier. Also, the ISO1540 internally splits a bidirectional line into two unidirectional lines, each isolated through a single-channel digital isolator. This way, each channel output is made open-drain to comply with the open-drain technology of I2C. When used with isolated power supplies, the ISO1540 blocks high voltages, isolates grounds and prevents noise currents from entering the local ground and interfering with or damaging sensitive circuitry.
This Click board™ can operate on both 3.3V and 5V logic voltage levels selected via the VCC1 SEL jumper. Therefore, both 3.3V and 5V capable MCUs to use the communication lines properly. 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
I2C,Isolators
Applications
Can be used for multi-master applications and for applications where slave clock stretching is possible
On-board modules
ISO1540 – I2C digital isolator from Texas Instruments
Key Features
Isolated bidirectional I2C-compatible communication, supports up to 1MHz operation, wide supply range, based on Texas Instruments Capacitive Isolation technology, 2.5kVrms, low power consumption, supports I2C clock stretching, and more
Interface
I2C
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
S (28.6 x 25.4 mm)
Input Voltage
3.3V or 5V
Pinout diagram
This table shows how the pinout on I2C Isolator 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-LD2 | PWR1-PWR2 | – | Power LED Indicator |
JP1 | PWR | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
J1 | – | Unpopulated | Isolated I2C Bus Header |
I2C Isolator Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
Maximum Withstand Isolation Voltage | – | – | 2500 | Vrms |
Maximum Frequency | – | – | 1 | MHz |
Software Support
We provide a library for the I2C isolator 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 I2C isolator Click driver.
Key functions
-
Generic write function.
-
Generic read function.
Example Description
This is an example which demonstrates the use of I2C Isolator Click board.
void application_task ( void )
{
i2cisolator_get_temperature( );
log_printf( &logger, " Temperature : %0.2f Crn", temperature );
log_printf( &logger, "---------------------------rn" );
Delay_ms( 1000 );
}
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.I2Cisolator
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.