Bad PLL?
Seairth
Posts: 2,474
I inherited a PropStick USB at some point in the past. Today, I finally got around to using it, but couldn't get a basic hello world (blinking LED) program running. Eventually, I discovered that the problem appears to be with the PLL. If I set _clkmode to just xtal1, the LED blinks, but with any of the PLL modes, I get nothing. Before I toss this in the parts bin (I might still find a use for it at 5MHz), is there anything I can do to make sure this isn't really a bad PLL?
Edit: I also just tried switching out the crystal in case the PLL was having difficulty getting a lock. Interestingly, I did briefly get a blink, but the timing was very wrong and the net result is a full lockup. The fact that I did get something makes me think the PLL isn't locking (or holding the lock).
Edit: I also just tried switching out the crystal in case the PLL was having difficulty getting a lock. Interestingly, I did briefly get a blink, but the timing was very wrong and the net result is a full lockup. The fact that I did get something makes me think the PLL isn't locking (or holding the lock).
Comments
If not a bad solder joint, perhaps one of them could has suffered from some zapping (ESD) damage.
It it was XO that was dammaged, there is hope.
Having an available (spare) external 5MHz clock source (3.3V compatible) will help, but you'll need to reprogram the CLK register, for it to be compatible with an external clock source.
Erlend
* switch out the crystal with a known good one. No change.
* bypassed the onboard regulator and supplied Vdd directly. No change.
* fed 7.5V to VIN (instead of the minimum 5V I was using). No change.
I did not try decoupling caps only because I don't have any on hand at the moment. However, I did take a look at Vdd with my propscope and it looks pretty clean.
I think it's safe to say that the PLL's shot. Time to label, toss in the bin, and move on. Thanks for the suggestions, all!
Interesting, the PLL side is a known sensitivity, but maybe the Xtal feed is what is damaged and an external square wave is enough to overcome that ?
FLiP uses a MEMS oscillator, tho mainly to save PCB space.