PCB board design
electric550
Posts: 122
Most of this has been covered. I·just wanted to check and make sure info is good before I purchase.
1. 64 kbyte eeprom from dev board discussed in other post...
2. 6MHz krystal oscillator
3. Connecting 2 props.
1. 64 kbyte eeprom from dev board discussed in other post...
- I assume no code change necessary between 32k and 64k for program that fits on 32k? If I were to swap the two there would be no noticable change in operation?
2. 6MHz krystal oscillator
- Can two props share one Crystal oscillator? Should I have one for each? From reading and dlp prop I assume no prob with 96Mhz, 6X16pll faster speed.
3. Connecting 2 props.
- I am planning on 3 line synchronous serial. What is the fastest way to communicate between two props being limited to 3 I/O lines?
Comments
A three line sync... a two line sync is far easier because you have an even number of bits. In the case of three... well it will end up with 33 bits, so 11 transfers, yo have to take the last 2 bits or the first two.. whatever is easier/better. It will be faster than 2 bits and shorter from a code stand point. You use waitpeq/waitpne to detect the start of a frame. If you transmit longs instead of single bytes you gain from having smaller overhead. I currently use a 4 bit bidi bus (not bidirectial at the same time) and I get something like 2.5MB/s well a bit less due to the overhead, but the transfer occurs at 10 Mbit per second @ 80 MHz. The lanes are around 3 cm long. No problems
With the EEPROM you should have no issues. The internal bootloader only reads 32k, so it is up to you to get the rest of it.
<edit>
Just read your post again: You would be able to leave the EEPROM off one of the Prop's, but you'd need to load it's firmware from somewhere. One option would be to use Chip's Propeller Bootloader object...
</edit>
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Cheers,
Simon
www.norfolkhelicopterclub.co.uk
You'll always have as many take-offs as landings, the trick is to be sure you can take-off again ;-)
BTW: I type as I'm thinking, so please don't take any offense at my writing style
1. Does the ROM-based firmware recognize it right away when it doesn't receive ACKs on the I2C bus?
2. Does it load a bunch of $FFFF_FFFFs (assuming SDA pullups, or garbage if not) into RAM and determine that there aren't any valid Spin headers?
3. Or does it try to execute the $FFFF_FFFFs (or garbage), sending it off into la-la land?
-Phil
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Still some PropSTICK Kit bare PCBs left!
I'm a bit late on this, FYI I have a design using two Props and two EEPROMs but one 5 MHz crystal. One Prop uses the crystal and generates a 5 MHz output for the 2nd Prop. The 2 Props are separated just over 3 inches. No problems on this two-sided, thru-hole pcb.
The reason I had to go to two Props was for all the I/O lines needed. Final configuration has just 4 pins spare on one and two on the other. These I sometimes use for debugging purposes.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Harley Shanko
Yes.. if it does not get a knock from a PC over the serial, it tries to load EE. If it does not get a proper ACK then it just shuts down immediately.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Pull my finger!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
You can't perfectly synchronize two props very easily...you will still need clocking on your serial line for high speed data transfer. You may want to consider using SPI.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Post Edited (Ken Peterson) : 8/7/2008 1:51:27 AM GMT
Why not boot the second prop off the first, and use p28-p31 as your 4 bit bidi(whatever that means) bus after you have the second one booted?
As far as EEPROM goes, I think there are even 128KB ones now.
It should be possible if done carefully. A problem is that Propeller booting drives SCL hard high or low which is a potential problem with Propeller's fighting each other. Blocking diodes ( pointy-ends to Propeller ) with pull-up would make that effectively a soft-drive but I haven't tested that.
Alternatively gating could select which SCL went to the Eeprom, or the first out of reset could program the others via RX/TX straight to RAM.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·"I have always wished that my computer would be as easy to use as my telephone.· My wish has come true.· I no longer know how to use my telephone."
- Bjarne Stroustrup