i2cextend2
2.0.0.0
|
I2C Extend 2 Click is a compact add-on board suitable for I2C communication bus extension. This board features the PCA9615, a 2-channel multipoint differential I2C bus buffer with hot-swap logic from NXP Semiconductors. The PCA9615 converts the two default I2C signals into four differential signals, two for SCL and two for SDA.
We provide a library for the I2CExtend2 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 I2CExtend2 Click driver.
i2cextend2_cfg_setup
Config Object Initialization function. i2cextend2_init
Initialization function. i2cextend2_rmt_write
Generic write data in Remote Mode function. i2cextend2_rmt_read
Generic read data in Remote Mode function. i2cextend2_enable
Enable extend function. This is an example which demonstrates the use of I2C Extend 2 Click board.
The demo application is composed of two sections :
Initialization driver enables - I2C, check communication with device 6DOF IMU 11 Click connected to the I2C Extend 2 Click ( Remote Mode ), set default configuration and start measurement.
In this example, we read Accel and Mag axis of the connected 6DOF IMU 11 Click boards to the I2C Extend 2 Click ( Remote Mode ) which is connected by a LAN cable to I2C Extend 2 Click ( Local Mode ). Results are being sent to the Usart Terminal where you can track their changes. All data logs write on USB uart changes for every 2 sec.
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.