Can't get past 40MHz
photomankc
Posts: 943
Setting up a pretty basic board here.· Gadget Gangster BOSS board with EEPROM and Prop with a few LEDs and some PB switches, nothing much else included.· I can run at 40Mhz (5MHz + PLL8x) but any attempt to run at PLL16x results in silence, no program output nor other indication that it is alive.· If I switch back to 40Mhz then all is good again.· I've tried all the caps I have from .1 to 47uf on the crystal side supply lines·and nothing helps.· I have tried using battery power to rule out the wall wart power supply.· I have another board that will run at 80 and when I swap the Propeller from there into this board it also refuses to run at 80 so it's definitely something·about this board.·
I have 100uf electrolytic on Vin and Vout from the 3.3V regulator.· I have .1uf on the left side of the prop and a 4.7uf on the right side.·
Kind of bummed.· I wanted to build this to get it off the breadboard where it seemed unstable.· · I'm not equipped with a scope yet so a multimeter is all I had at hand.· I don't pick up any A/C on the power though.· If there·are any things that I should look at that you know of·I'd love a head's up.··I don't expect any miracles here since I don't·have a schematic to show yet.· I'm kinda wondering if maybe the crystal has issues.
Oh well, it's bedtime.·
I have 100uf electrolytic on Vin and Vout from the 3.3V regulator.· I have .1uf on the left side of the prop and a 4.7uf on the right side.·
Kind of bummed.· I wanted to build this to get it off the breadboard where it seemed unstable.· · I'm not equipped with a scope yet so a multimeter is all I had at hand.· I don't pick up any A/C on the power though.· If there·are any things that I should look at that you know of·I'd love a head's up.··I don't expect any miracles here since I don't·have a schematic to show yet.· I'm kinda wondering if maybe the crystal has issues.
Oh well, it's bedtime.·
Comments
but ran ok at lower freqs. When I built it up on an actual circuit board it worked fine.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Some mornings I wake up cranky.....but usually I just let him sleep in -
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
can you post your testcode ?
did you test it with some small blinking program using hardcoded values for waitcnt ?
in the attachment is a little demo-program that starts a cog and blink a LED connected to an IO-pin of your choice
if you insert this as the first command in your code you always see when the prop
finished his bootsequence and starts running and is running as long as you see the LED blink
best regards
Stefan
Here was the original test code:
@Leon - Yes I have caps on both sides supply lines.· I started with two 10uf tantalums and no joy at 80,·but after reviewing some other designs I tried .1 ceramic on the left side and 10uf on the right.· It wigged out completely, timing was off by +300%.· Out of desperation I added 47uf electrolytic on the right side and I'm back to it running at 40MHz.
I attached a photo of what I have.
-Phil
Leon
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Amateur radio callsign: G1HSM
Suzuki SV1000S motorcycle
Found it!··Apparently the BOSS board routes the xtal pin up to the holes next to VDD and VDD doesn't connect outside the pin itself on that side.· What I had was only one pin of the crystal attached and a capacitor loaded on the other end.· Good grief.· It would be nice if the BOSS traces were easier to see.· I only bumped into this by accident when I was checking continuity and slipped to hit the xtal pin instead of the cap.· I would have never found that otherwise.·
http://forums.parallax.com/attachment.php?attachmentid=60284