The NextThing Co’s C.H.I.P. uses an Allwinner R8 or G8 processor. The following functionality is supported:
Sadly NextThing Co shut down its activities. It had an awesome web flasher so it’s really too bad.
The NextThing Co’s C.H.I.P. board is supported using sysfs drivers as well as using high performance memory-mapped I/O for gpio pins.
periphwas tested with NTC provided 4.4.13+ kernel Debian.
U14with the aliases as printed on the actual headers.
Most GPIO are supported at extremely high speed via memory mapped GPIO registers.
Interrupt based GPIO edge detection is only supported on a few of the processor’s pins: AP-EINT1(PG1), AP-EINT3(PB3), CSIPCK(PE0), and CSICK(PE1).
Edge detection is also supported on the XIO pins, but this feature is rather limited due to the device and the driver (for example, the driver interrupts on all edges).
The recent images released by NTC have the I²C driver loaded by default and
exposes all three I²C buses but only 2 are usable. If running a stale image,
sudo apt update && sudo apt upgrade
The SPI driver is included on recent images but a DTBO (Device Tree Binary
Overlay) is required in order to create the
/dev/spi32766.0 device and connect
it to the pins.
To enable, run the following:
mkdir -p /sys/kernel/config/device-tree/overlays/spi cat /lib/firmware/nextthingco/chip/sample-spi.dtbo > /sys/kernel/config/device-tree/overlays/spi/dtbo
This needs to be done at each boot. A good location is to add the above into
/etc/rc.local before the
exit 0 statement.
The periph authors do not endorse any specific seller. These are only provided for your convenience.