[PD] comport on raspberry
Cyrille Henry
ch at chnry.net
Mon Jan 28 21:45:06 CET 2013
hello,
i made more tests :
minicom works perfectly for both TX and RX. so the serial communication works.
but I still have problem with comport.
sending is ok, but it receiving did not work correctly :
connecting TX and RX, sending on Byte and looking with an oscilloscope, i can see that the value is send over and over, and comport did never receive it.
slowing down the pooling speed help a bit : i can receive few bytes, but not in the order I send them, and most are lost. pd hang a lot, and connection crash often.
i'm using comport from svn (version 0.2), and pd 0.44.1
what version are you using?
according to what i see in pduino, nothing special is made to configure the connection, so things should just work.
cheers
c
Le 28/01/2013 10:49, Pierre Massat a écrit :
> Hi, I didn't do anything special, i just installed comport and other dependencies for pduino, and plugged my Arduino Uno. It appeared as device 0 (can't tell you about /dev/ttyAMA0).
>
>
> Cheers,
>
> Pierre.
>
> 2013/1/28 Cyrille Henry <ch at chnry.net <mailto:ch at chnry.net>>
>
> hello,
>
> cool.
> did you do anything special?
> did you also use /dev/ttyAMA0 or something else?
>
> cheers
> c
>
>
> Le 28/01/2013 09:24, Pierre Massat a écrit :
>
> Comport works fine for me on the Pi with an Arduino and Firmata.
>
> Cheers,
>
> Pierre.
>
> 2013/1/28 Hans-Christoph Steiner <hans at at.or.at <mailto:hans at at.or.at> <mailto:hans at at.or.at <mailto:hans at at.or.at>>>
>
>
>
> [comport] is quite thoroughly tested so I would be surprised if it is the
> problem. Wini Ritsch, IOhannes, Martin Peach, and I (maybe others) have all
> worked on it quite a bit. It might be the question of what format the data is
> in. what is /dev/ttyANA0? Usually [comport] is used with /dev/ttyS and
> /dev/ttyUSB.
>
> .hc
>
> On 01/27/2013 01:16 PM, Cyrille Henry wrote:
> > hello,
> >
> > i try the comport object on raspberry pi.
> > it can send perfectly, but receiving data hang pd.
> > data can be seen using :
> > cat /dev/ttyANA0
> > so it's not a problem with the pi.
> >
> > is there any other object to receive serial data?
> >
> > thanks
> > Cyrille
> >
> > _________________________________________________
> > Pd-list at iem.at <mailto:Pd-list at iem.at> <mailto:Pd-list at iem.at <mailto:Pd-list at iem.at>> mailing list
>
> > UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
> _________________________________________________
> Pd-list at iem.at <mailto:Pd-list at iem.at> <mailto:Pd-list at iem.at <mailto:Pd-list at iem.at>> mailing list
>
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
>
>
>
> _________________________________________________
> Pd-list at iem.at <mailto:Pd-list at iem.at> mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/__listinfo/pd-list <http://lists.puredata.info/listinfo/pd-list>
>
>
More information about the Pd-list
mailing list