Shop OBEX P1 Docs P2 Docs Learn Events
Twin Engined Prop (forth) — Parallax Forums

Twin Engined Prop (forth)

mindrobotsmindrobots Posts: 6,506
edited 2011-06-23 14:55 in Propeller 1
What do you get when you cross 2 P8X32AD40's, 6 wires, 5 resistors and PropForth??

2 Propellers, 13 usable COGS and 54 IO pins!!

As a verification of PropForth's support of a Master/Slave configuration, I rigged up this:

Twin Engines.jpg


Out of the box (or out of the .zip), PropForth 4.5 was able to copy it's boot image from the master Prop (on the left) to the slave prop and support serial I/O between the two allowing you to switch the console back and forth and issue commands on any of the 13 usable COGs. Everything worked as advertised!!

Connections:
Prop1 - master - on the left
Prop2 - slave - on the right

Prop1/Pin 24 to Prop2/Pin 28 through 220 ohm
Prop1/Pin 25 to Prop2/Pin 29 through 220 ohm resistor ( plus10k pullup to 3.3v)
Prop1/Pin 26 to Prop2/RESET
Prop1/Pin 27 to Prop2/XIN

These allow Prop1 to send the boot image to Prop2 so its bootloader sees it as a serial input

in addition:

Prop1/Pin 0 to Prop2/Pin 30 through 220 ohm resistor
Prop1/Pin 1 to Prop2/Pin 31 through 220 ohm resistor

This allows Prop1 to open a serial terminal connection to Prop2.

The only other connections Prop2 has are for power.

Test -4.2.1 NOROM.txt in the PropForth release documentation gives you step by step details for loading the software if you want to give it a try.

Forth is FUN! :lol:

Rick
1024 x 768 - 728K

Comments

  • prof_brainoprof_braino Posts: 4,313
    edited 2011-06-23 14:55
    Thanks for giving this a try. It took me a while to get the demo working from last release, and a bit of work went into rearranging it so it was easier to use.
Sign In or Register to comment.