12-01-2017, 01:07 AM
Hi,
I wonder if someone can help me with this one: in the past I used a Raspberry Pi to run via the GPIOs a stepper motor. That required updating of the /boot/config.txt file (on the RPi) as follows:
Enable i2c, i2s and spi (only if not already enabled)
$ echo "dtparam=i2c_arm=on" >> /boot/config.txt
$ echo "dtparam=i2s=on" >> /boot/config.txt
$ echo "dtparam=spi=on" >> /boot/config.txt
$ echo "dtoverlay=pps-gpio,gpiopin=24" >> /boot/config.txt
I have not found in the boot directory of the Rock64 anything similar, and do not know whether required.
In this Forum I came across this thread on
https://forum.pine64.org/showthread.php?tid=5331 which refers to a package RPi.GPIO-PineA64 package to configure the GPIOs. Is this something I should do to enable I2C, I2s and SPI?
Would really appreciate your help.
Thanks in advance,
Helge
I wonder if someone can help me with this one: in the past I used a Raspberry Pi to run via the GPIOs a stepper motor. That required updating of the /boot/config.txt file (on the RPi) as follows:
Enable i2c, i2s and spi (only if not already enabled)
$ echo "dtparam=i2c_arm=on" >> /boot/config.txt
$ echo "dtparam=i2s=on" >> /boot/config.txt
$ echo "dtparam=spi=on" >> /boot/config.txt
$ echo "dtoverlay=pps-gpio,gpiopin=24" >> /boot/config.txt
I have not found in the boot directory of the Rock64 anything similar, and do not know whether required.
In this Forum I came across this thread on
https://forum.pine64.org/showthread.php?tid=5331 which refers to a package RPi.GPIO-PineA64 package to configure the GPIOs. Is this something I should do to enable I2C, I2s and SPI?
Would really appreciate your help.
Thanks in advance,
Helge