How does it work?
SPI Isolator 6 Click as its foundation uses the MAX22345, a four-channel digital isolator with a maximum data rate of 200Mbps from Analog Devices. The MAX22345 provides galvanic isolation for digital signals transmitted between two ground domains and can withstand up to 784Vpeak of continuous isolation and up to 3.75kVRMS for up to 60 seconds. Besides, it also offers low-power operation, high electromagnetic interference (EMI) immunity, and stable temperature performance through Analog’s proprietary process technology. Both power pins’ wide supply voltage range allows the MAX22345 to be used for level translation and isolation.
Because this Click board™ represents an isolator for SPI communication, it logically communicates with the MCU precisely through that communication. As already mentioned, the MAX22345 has two power pins for the A and B isolation sides, where it is possible to supply its B side with external voltage in the range of 1.7 to 5.5V by applying it to the terminal marked with VCC_EXT. In addition to the external power supply terminal, this Click board ™ also possesses another two terminals to which the isolated SPI data communication lines are routed.
This 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
Isolators,SPI
Applications
Can be used for general SPI-bus isolation, industrial, process and building automation, programmable logic controllers, and many more
On-board modules
MAX22345 – four-channel digital isolator from Analog Devices
Key Features
Reinforced galvanic isolation for SPI communication, up to 200Mbps maximum data rate, withstands 3.75kVRMS for 60s, low power consumption, and more
Interface
SPI
Feature
No ClickID
Compatibility
mikroBUS™
Click board size
M (42.9 x 25.4 mm)
Input Voltage
3.3V or 5V,External
Pinout diagram
This table shows how the pinout on SPI Isolator 6 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 |
JP1 | VCC SEL | Left | Logic Level Voltage Selection 3V3/5V: Left position 3V3, Right position 5V |
SPI Isolator 6 Click electrical specifications
Description | Min | Typ | Max | Unit |
---|---|---|---|---|
Supply Voltage | 3.3 | – | 5 | V |
External Supply Voltage VCC_EXT | 1.7 | – | 5.5 | V |
Data Rate | – | – | 200 | Mbps |
Isolation Voltage (Continuously) | – | – | 784 | VRMS |
Operating Temperature Range | -40 | +25 | +120 | °C |
Software Support
We provide a library for the SPI Isolator 6 Click as well as a demo application (example), developed using MikroElektronika compilers. The demo can run on all the main MikroElektronika development boards.
Package can be downloaded/installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Library Description
This library contains API for SPI Isolator 6 Click driver.
Key functions
-
spiisolator6_generic_write
This function writes a desired number of data bytes by using SPI serial interface. -
spiisolator6_generic_read
This function writes and then reads a desired number of data bytes by using SPI serial interface.
Example Description
This example demonstrates the use of SPI Isolator 6 Click board™ by reading the device ID of the connected Accel 22 Click board.
void application_task ( void )
{
spiisolator6_get_accel22_device_id ( &spiisolator6 );
Delay_ms( 1000 );
}
The full application code, and ready to use projects can be installed directly from NECTO Studio Package Manager(recommended way), downloaded from our LibStock™ or found on Mikroe github account.
Other Mikroe Libraries used in the example:
- MikroSDK.Board
- MikroSDK.Log
- Click.SPIIsolator6
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 MikroElektronika compilers.
mikroSDK
This 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.
For more information about mikroSDK, visit the official page.