Spi, I2C And 1-Wire - Cherry PUMA SOM-RK3399-Q7 User Manual

Powerful system-on-module for versatile applications featuring the rockchip rk3399 application processor
Hide thumbs Also See for PUMA SOM-RK3399-Q7:
Table of Contents

Advertisement

You can also update the RTC immediately, again with hwclock:
hwclock -v
You can set up an NTP client so the time will always be updated from the Internet. Install the client first:
apt-get install ntp
Feel free to change the /etc/ntp.conf file to use more local time sources (change servers from pool.ntp.org
to use a server from your country, such as at.pool.ntp.org).

3.13 SPI, I2C and 1-Wire

I2C, 1-wire-bus and SPI interfaces are both available on the connector labeled SPI+I2C+1-Wire.
Fig. 3.13: 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 Sen-
sor Chip. You must recompile the kernel and deploy it to the SD card (see Software Guide).
RK3399-Q7 User Manual
v1.6
© Cherry Embedded Solutions GmbH
Page 13

Advertisement

Table of Contents
loading

Table of Contents