Skip to content

PCRD at SPI

vaclavstepan edited this page Dec 9, 2015 · 1 revision

Prerequisites

PCRD readout scripts use spidev 1,0, which per default at Odroid has ownership se to root, root. Since the device ownership is handled by udev, we can request to have group ownership by i2c and to be group read-writeable:

sudo bash
echo 'SUBSYSTEM=="spidev", GROUP="i2c"' >/etc/udev/rules.d/90-spi.rules

As odroid should be in i2c group already, after the reboot the /dev/spidev1.0 should be accessible without root privileges.

Clone this wiki locally