xmos / lib_i2c

I²C library
Other
3 stars 25 forks source link

:orphan:

#################### lib_i2c: I²C Library ####################

:vendor: XMOS :version: 6.4.0 :scope: General Use :description: I²C controller and peripheral library :category: General Purpose :keywords: IO, I²C :devices: xcore.ai, xcore-200


Summary


I²C (Inter-Integrated Circuit) is a multi-master, multi-slave, synchronous, serial communication protocol used for communication between integrated circuits on the same board. Developed by Philips, it requires only two lines: the SDA (Serial Data Line) for data transfer and SCL (Serial Clock Line) for clock signals. I²C is popular in applications for connecting low-speed peripherals like sensors, EEPROMs, and ADCs. It supports various data rates, typically up to 3.4 Mbps in Fast Mode Plus and Ultra-Fast Mode, and allows multiple devices to share the same bus.

lib_i2c contains a software defined, industry-standard, I²C library that allows control of an I²C bus via xcore ports.

lib_i2c provides both controller ("master") and peripheral ("slave") functionality.

The I²C master component can be used by multiple tasks within the xcore device (each addressing the same or different peripheral devices).

The library can also be used to implement multiple I²C physical interfaces on a single xcore device simultaneously.


Features



Known issues



Development repo



Required tools



Required libraries (dependencies)



Related application notes


The following application notes use this library:


Support


This package is supported by XMOS Ltd. Issues can be raised against the software at www.xmos.com/support <https://www.xmos.com/support>_