Go to advanced search

by tvonderhaar
Sun Oct 29, 2017 4:24 am
Forum: Automation, sensing and robotics
Topic: pifacedigitalio stopped working on PI 2 after last upgrade.
Replies: 14
Views: 9468

Re: pifacedigitalio stopped working on PI 2 after last upgrade.

I have discovered the problem. The latest kernel's SPI driver has changed the default of the SPI serial speed from 500Khz to 125Mhz. unfortunately the pifacedigitalio SPI code does not initialize the SPI speed nor does it specify it in the ioctl() option to set the speed temporarily. I have modified...
by tvonderhaar
Fri Oct 27, 2017 10:11 pm
Forum: Automation, sensing and robotics
Topic: pifacedigitalio stopped working on PI 2 after last upgrade.
Replies: 14
Views: 9468

Re: pifacedigitalio stopped working on PI 2 after last upgrade.

Yes, I have the SPI enabled. In fact as stated in my original post: The board also works with the C programs "pifacedigital" and "example" based on the C library libpifacedigital.a. So the SPI and the board are working. Also, I created dameon based on the Python pifacedigitalio interface which has b...
by tvonderhaar
Fri Oct 27, 2017 12:46 am
Forum: Automation, sensing and robotics
Topic: pifacedigitalio stopped working on PI 2 after last upgrade.
Replies: 14
Views: 9468

pifacedigitalio stopped working on PI 2 after last upgrade.

The "PiFace digital rev 2" python interface stopped working on a PI 2 with the message: pifacedigitalio.core.NoPiFaceDigitalDetectedError: No PiFace Digital board detected (hardware_addr=0, bus=0, chip_select=0). Here is my uname -a output: Linux bench 4.9.44+ #1029 Tue Aug 22 16:41:39 BST 2017 armv...

Go to advanced search