Discussion

Piface-Rasbian on Banana

8 6549
M-Jo  
Post Last Edited by M-Jo at 2014-8-3 09:14

hello to all.
MANTA project
I'm developing a card 8 inputs 8 outputs for (Piface Banana).
For a total capacity of 64 inputs and 64 outputs.

GPIO:
Is there a layout diagram?

Drivers SPI:
># Modprobe spi-bcm2708
>FATAL: Module spi-bcm2708 not found!

Drivers I²C:
># Modprobe i2c-bcm2708
>FATAL: Module i2c-bcm2708 not found!

Can you help me on these 3 points?

Cordially.

Joel Paris, France.
MANTA.PNG
GPIO:
http://forum.lemaker.org/viewthread.php?tid=30&extra=page%3D1
SPI:
sudo modprobe spi-sun7i
I2c:
The driver has been built in kernel (uImage), there is no need to modprobe.

M-Jo  
Post Last Edited by M-Jo at 2014-8-3 09:06

Reply 2# tony_zhang
Hello Tony,
and thank you for your answers
I understand, the name of the SPI driver has changed.
But if I want to install the driver "Python - pifacedigitalio" to run my card, what should I do?
Is there a procedure to install a Piface card?
And so is there a complete documentation of Banana pi?
Joel

I only use the Piface through the modified wiringPi on Raspbian 3.0 for Banana Pi.  I have not test the python library provided by piface its self. But you can see here http://forum.lemaker.org/viewthr ... amp;highlight=navio . They use the python spi library on Banana Pi. It worked. But for you, please use Lubuntu or other OS for testing. Because the spi on Raspbian 3.0 has some bugs. I will upload Rapbian 3.1 in these days.

M-Jo  
thank you for your lights,
I'm going to delve into the drivers pifacedigitalio I think the script does not call the right driver SPI.
I keep you informed on this.
For Lunbutu, it is another dicussion I will expect patiement your new version of Debian.
Take care  ..
Joel

M-Jo  
Post Last Edited by M-Jo at 2014-8-3 11:43

Hi
The problem is not in the driver pifacedigitalio.Cause this driver have no call to spi-bcm2708  
Can you give me the path of spi-sun7i driver?
I'll try to rename it in "spi-bcm2708" (for testing).
Cordially

M-Jo  

spi-sun7i  is in lib/modules/3.4.90/kernel/drivers/spi

I think you'd better modify the name in pifacedigitalio

You have to log in before you can reply Login | Sign Up

Points Rules