![theobroma systems RK3399-Q7 User Manual Download Page 19](http://html.mh-extra.com/html/theobroma-systems/rk3399-q7/rk3399-q7_user-manual_1101597019.webp)
3.13 SPI, I2C and 1-Wire
The I2C (i2c-0), 1-wire-bus and SPI interfaces are both available on the connector labeled
SPI+I2C+1-Wire
.
.
3V3
SPIMOSI
SPICLK
SPICS0#
GND
SPICS1# SPIMOSI
1-Wir
e
I2C_CLK
I2C_DA
T
Fig. 3.10: I2C and SPI header
For I2C, there is the package i2c-tools available in Debian:
apt
-
get install i2c
-
tools
3.13.1 I2C Example - Using a Touch Keyboard
This example uses the Atmel AT42QT2160 touch keyboard (see datasheet).
Make sure the Linux kernel driver is enable via
menuconfig
:
make menuconfig
Navigate to
Device Drivers -> Input device support -> Keyboards
and check the
ATMEL AT42QT2160 Touch Sensor Chip
.
You must recompile the kernel and deploy it to the SD card (see Software Guide).
RK3399-Q7 User Manual
© Theobroma Systems Design und Consulting GmbH
Release v0.2-3-g574c114
Page
15
Summary of Contents for RK3399-Q7
Page 2: ......