Re: [PD] Pd to Raspberry Pi SPI

2013-08-25 Thread Martin Peach

It might be better to extend [comport] to handle SPI devices.
Assuming you have a /dev/spidev* already existing (I just spent a couple 
of days getting that far on a Beaglebone Black), the rest of it is quite 
similar to ordinary asynchronous serial communications.


Martin

On 2013-08-23 16:21, Dan Nigrin wrote:

Background:  I'm very well versed in Max, but still a newbie in Pd.  I'm
working on a project to that will use Pd running on a Raspberry Pi, and
that will generate control voltages using DACs (ideally something like a
MCP4922 or similar,
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en020399 ).

I know about Miller's gpio external, found here:
http://crca.ucsd.edu/~msp/syllabi/206.13w/index.htm , but it does not do
any of the SPI interfacing, which is the way that will need to interface
with the DACs.

Is there any possibility (Miller or anyone smarter than I am on this
stuff) to extend the gpio external to include SPI interfacing?

Thanks in advance,
Dan
--
Dan Nigrin / Defective Records / http://defectiverecords.com
CycliC, M185  Klee Sequencers / MC-4  MC-202 Hack / Audio Plugin
Player / General MIDI Player / Major Malfunction
Jack OS X / http://jackosx.com


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Pd to Raspberry Pi SPI

2013-08-25 Thread Dan Nigrin
Thanks, I'll look into comport!

Dan

On 8/25/13 2:24 PM, Martin Peach martin.pe...@sympatico.ca wrote:

It might be better to extend [comport] to handle SPI devices.
Assuming you have a /dev/spidev* already existing (I just spent a couple
of days getting that far on a Beaglebone Black), the rest of it is quite
similar to ordinary asynchronous serial communications.

Martin

On 2013-08-23 16:21, Dan Nigrin wrote:
 Background:  I'm very well versed in Max, but still a newbie in Pd.  I'm
 working on a project to that will use Pd running on a Raspberry Pi, and
 that will generate control voltages using DACs (ideally something like a
 MCP4922 or similar,
 http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en020399 ).

 I know about Miller's gpio external, found here:
 http://crca.ucsd.edu/~msp/syllabi/206.13w/index.htm , but it does not do
 any of the SPI interfacing, which is the way that will need to interface
 with the DACs.

 Is there any possibility (Miller or anyone smarter than I am on this
 stuff) to extend the gpio external to include SPI interfacing?

 Thanks in advance,
 Dan
 --
 Dan Nigrin / Defective Records / http://defectiverecords.com
 CycliC, M185  Klee Sequencers / MC-4  MC-202 Hack / Audio Plugin
 Player / General MIDI Player / Major Malfunction
 Jack OS X / http://jackosx.com


 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management -
http://lists.puredata.info/listinfo/pd-list






___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


[PD] Pd to Raspberry Pi SPI

2013-08-23 Thread Dan Nigrin
Background:  I'm very well versed in Max, but still a newbie in Pd.  I'm
working on a project to that will use Pd running on a Raspberry Pi, and that
will generate control voltages using DACs (ideally something like a MCP4922
or similar, 
http://www.microchip.com/wwwproducts/Devices.aspx?dDocName=en020399 ).

I know about Miller's gpio external, found here:
http://crca.ucsd.edu/~msp/syllabi/206.13w/index.htm , but it does not do any
of the SPI interfacing, which is the way that will need to interface with
the DACs.

Is there any possibility (Miller or anyone smarter than I am on this stuff)
to extend the gpio external to include SPI interfacing?

Thanks in advance,
Dan
-- 
Dan Nigrin / Defective Records / http://defectiverecords.com
CycliC, M185  Klee Sequencers / MC-4  MC-202 Hack / Audio Plugin Player /
General MIDI Player / Major Malfunction
Jack OS X / http://jackosx.com


___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list