If you're interested, I have built an experimental hardware SPI Python module specifically to drive an A2D convertor, adapting C (memory mapped) code from: http://www.skpang.co.uk/blog/archives/615,
which was itself adapted from some of Gert Jan van Loo's code, according to the
embedded copyright..
This code could easily be generalised and added into RPi.GPIO, in fact I see you're using the exact same memory mapped technique so some of the code is already present.
Let me know if you'd like to discuss this further...
I'm Duncan White (dcw@doc.ic.ac.uk)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "tickets Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Tickets"
Originally posted by: d...@doc.ic.ac.uk
If you're interested, I have built an experimental hardware SPI Python module specifically to drive an A2D convertor, adapting C (memory mapped) code from:
http://www.skpang.co.uk/blog/archives/615,
which was itself adapted from some of Gert Jan van Loo's code, according to the
embedded copyright..
This code could easily be generalised and added into RPi.GPIO, in fact I see you're using the exact same memory mapped technique so some of the code is already present.
Let me know if you'd like to discuss this further...
I'm Duncan White (dcw@doc.ic.ac.uk)
Should be implemented by end of Jan 2014
Diff:
Should be implemented by end of Jan 2014