Problem with SPI

Posts: 1
Joined: Wed May 23, 2018 10:53 am

Problem with SPI

Wed May 23, 2018 2:07 pm


I'm working on a simple communication between a VoCore2 and an Arduino UNO via SPI. Unfortunately thats a bigger task for me then I thought. The first problem occuerd during the SPI driver installation on OpenWRT. Is there a way to install the packages for SPI on a 3.18.29 kernel?
Or even better did anyone knows about a "how to" guide for using SPI between VoCore and Arduino?

Code: Select all
root@OpenWrt:/# opkg install kmod-mmc-spi
Installing kmod-mmc-spi (3.18.23-1) to root...
Collected errors:
 * satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-mmc-spi:
 *      kernel (= 3.18.23-1-245faaffbc60cabe96a158cae13c1cc3) *         kernel (= 3.18.23-1-245faaffbc60cabe96a158cae13c1cc3) *         kernel (= 3.18.23-1-245faaffbc60cabe96a158cae13c1cc3) *  kernel (= 3.18.23-1-245faaffbc60cabe96a158cae13c1cc3) *
 * opkg_install_cmd: Cannot install package kmod-mmc-spi.

Code: Select all
root@OpenWrt:/# uname -a
Linux OpenWrt 3.18.29 #6 Sat May 27 17:23:12 CST 2017 mips GNU/Linux

thank you in advance,

Posts: 825
Joined: Sun Oct 19, 2014 6:00 am

Re: Problem with SPI

Wed May 23, 2018 11:31 pm

This needs to compile from source code and enable SPI CS1(default SPI is used by flash) mmc-spi is used to connect to sd card in mmc mode.

Return to VoCore2/Lite/Ultimate

Who is online

Users browsing this forum: Google [Bot] and 4 guests