View Full Version : join two Propellers?

07-14-2009, 07:03 PM
Hi all
I want to join two Propellers
1 Pro, computing (movement and acceleration in real time) graphic LCD screen monitor
2 Pro, encoders, buttons, potentiometers, LEDs
Cluso99··· recommends· using FXD
Would have to make a protocol.
Does anyone have experience in the union of Propellers?
Could you give some examples of protocol?
żMagic glue for Propellers?

Did the curiosity kill the cat?

07-14-2009, 07:22 PM
@hal2000: Nice to see you here.

As I suggested, try FDX (FullDuplexSerial) available on OBEX.

As for protocol, is prop 2 doing any processing or is it just reading sensors and passing that to prop 1, and receiving LED info for displaying on prop 2 from prop 1?

Links to other interesting threads:

· Home of the MultiBladeProps: TriBladeProp (http://forums.parallax.com/showthread.php?p=786418), RamBlade (http://forums.parallax.com/showthread.php?p=810753), TwinBlade (http://forums.parallax.com/showthread.php?p=806697),·SixBlade (http://forums.parallax.com/showthread.php?p=780033), website (http://bluemagic.biz/cluso.htm)
· Single Board Computer:·3 Propeller ICs·and a·TriBladeProp board (ZiCog Z80 Emulator) (http://forums.parallax.com/showthread.php?p=790917)
· Prop Tools under Development or Completed (Index) (http://forums.parallax.com/showthread.php?p=753439)
· Emulators: Micros eg Altair, and Terminals eg VT100 (Index (http://forums.parallax.com/showthread.php?p=778427)) ZiCog (Z80), MoCog (6809)
· Search the Propeller forums (via Google) (http://search.parallax.com/search?site=parallax&client=parallax&output=xml_no_dtd&proxystylesheet=parallax&proxycustom=<HOME/>&ie=&oe=&lr=)
My cruising website is: ·www.bluemagic.biz (http://www.bluemagic.biz)·· MultiBladeProp is: www.bluemagic.biz/cluso.htm (http://www.bluemagic.biz/cluso.htm)

Peter Nachtwey
07-14-2009, 08:16 PM
I would use a synchronous protocol like SPI.
I believe there is an SPI driver already and I know there are other thread that talk about the rates higher than 1 Mhz.

Look at page 3 of the intersil pdf. It shows how one can daisy chain devices. This reduces the pin count if there is a future need to add devices.

07-15-2009, 02:38 PM
Thanks Peter Nachtwey, I take to understand the text, my English is bad ;-)
It would be a good thing a code example.
HOLA Cluso99, You're right, there are communication in both directions
Prop 1 - Scan buttons and potentiometers AD, sends to Pro2p, Prop 1 which receives LED lighting.
Prop 2 - is the state of the buttons and potentiometers etc ... processes, sends LED·· state· Prop 1·
The connections are clear
cruzar in and out
But to protocol?
Case or if you using?
I can't do· the routine ...
Example ?
Any example?

Did the curiosity kill the cat?

07-15-2009, 10:41 PM

Beau Schwabe posted some code for synchronous communication between props a while ago, 1 bit and 4 bits. I use it in one of my projects. I always recommend it http://forums.parallax.com/images/smilies/smile.gif.

Edit: here it is: http://forums.parallax.com/showthread.php?p=691952

Visit the home of pPropQL: propeller.wikispaces.com/pPropQL (http://propeller.wikispaces.com/pPropQL)
pPropQL020: propeller.wikispaces.com/pPropQL (http://propeller.wikispaces.com/pPropQL)
OMU for the pPropQL/020 propeller.wikispaces.com/OMU (http://propeller.wikispaces.com/OMU)

Post Edited (Ale) : 7/15/2009 3:49:05 PM GMT

07-16-2009, 03:45 PM
engages time understanding this thread

Did the curiosity kill the cat?