spiisolator6 2.0.0.0
|
SPI Isolator 6 Click is a compact add-on board representing a digital isolator optimized for a serial peripheral interface. This board features the MAX22345, a fast, low-power 4-channel digital galvanic isolator from Analog Devices. This device comes with a maximum data rate of 200Mbps and transfers digital signals between circuits with different power domains featuring reinforced isolation for a withstand voltage rating of 3.75kVRMS for 60 seconds.
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.
This library contains API for SPI Isolator 6 Click driver.
spiisolator6_cfg_setup
Config Object Initialization function. spiisolator6_init
Initialization function. 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. This example demonstrates the use of SPI Isolator 6 click board by reading the device ID of the connected Accel 22 click board.
The demo application is composed of two sections :
Initializes the driver and logger.
Reads and checks the device ID of the connected Accel 22 click board, and displays the results on the USB UART approximately once per second.
Make sure to provide VCC power supply on VCC-EXT pin.
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:
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.