GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
* Sign Up! *

Support
Customer Portal
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
I2CTINYUSB(4) FreeBSD Kernel Interfaces Manual I2CTINYUSB(4)

i2ctinyusbdriver for a USB / I2C bridge device

To compile this driver into the kernel, place the following lines in your kernel configuration file:

device i2ctinyusb
device usb
device iicbus

Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):

i2ctinyusb_load="YES"

The i2ctinyusb driver provides support for the device designed by Till Harbaum known as i2c-tiny-usb. This is initially a very simple circuit built with an Atmel AVR ATtiny45, but a Raspberry Pi Pico (RP2040) implementation also exists.

The i2ctinyusb driver creates a iicbus(4) child bus to expose the iic functions, enabling I2C sensors, converters and displays to be connected to any computer with a USB port.

More information about this device can be found at:

https://github.com/harbaum/I2C-Tiny-USB

and (for the Raspberry Pi Pico version):

https://github.com/Nicolai-Electronics/rp2040-i2c-interface

The I2C controller supports read and write transactions with up to 1024 bytes of data, and a write followed by the repeated start followed by a read transactions up to 1024 bytes. Zero length transfers are not supported.

The i2ctinyusb driver and this manual page was written by Denis Bodor <dbodor@rollmops.ninja>.

February 18, 2024 FreeBSD 15.1-RELEASE-p1

Search for    or go to Top of page |  Section 4 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.