This is a project I'm working on to provide a Linux kernel module for the GPIO and analog in/out ports on the Gertboard or a addon PIC18 controller with a slave SPI interface to the RPi.
The first objective was to write a Comedi compatible Linux module that would interface with the I/O pins in a standard manner usable with the Comedi data acquisition library called daq_gert. The analog interface code is still being designed.
Comedi home page.
http://www.comedi.org/
A RPi Debian based HOWTO and C source code are here.
Howto: https://github.com/nsaspook/daq_gert/blob/master/RPi_Comedi_HOWTO.txt
Source code: https://github.com/nsaspook/daq_gert.git
The second objective is the PIC18 based ADC module that can provide 12 10bit ADC channels and 8 additional I/O pins using the on-board SPI master in the RPi board for communication. This part of the project is in the very early stages of testing but the current software does demonstrate interrupt driven ADC and SPI interface code.
See RPi_PIC directory in the above source code location.
A blinking LED demo of the software running on the RPi board. http://flic.kr/p/dh4ur3
The first objective was to write a Comedi compatible Linux module that would interface with the I/O pins in a standard manner usable with the Comedi data acquisition library called daq_gert. The analog interface code is still being designed.
Comedi home page.
http://www.comedi.org/
A RPi Debian based HOWTO and C source code are here.
Howto: https://github.com/nsaspook/daq_gert/blob/master/RPi_Comedi_HOWTO.txt
Source code: https://github.com/nsaspook/daq_gert.git
The second objective is the PIC18 based ADC module that can provide 12 10bit ADC channels and 8 additional I/O pins using the on-board SPI master in the RPi board for communication. This part of the project is in the very early stages of testing but the current software does demonstrate interrupt driven ADC and SPI interface code.
See RPi_PIC directory in the above source code location.
A blinking LED demo of the software running on the RPi board. http://flic.kr/p/dh4ur3