Shuman (OSURC)
05-14-2008, 04:46 AM
Background:
We're using the Quadrover (http://www.parallax.com/tabid/638/Default.aspx) for a mars rover challenge in early June. The controls are handled with the propeller protoboard. During a rehearsal we managed to break the propeller. After brining it back to the lab we found that the propeller was not executing any instructions. We tried to use the internal RC oscillator and it executed instructions again. Our latest test was to see if the XTAL1 source would work if the PLL was bypassed, and it still executed.
Here is the code that we used to test the propeller. The clock is set correctly if P17 toggles:
CON
_clkmode = xtal1 '' This line sets the clock to a valid source
''_clkmode = xtal1 + pll16x '' This line sets the clock to an invalid source
_xinfreq = 5_000_000
PUB Main | i
dira[17] := 1
repeat
outa[17] := !outa[17]
waitcnt(clkfreq/20 + cnt)
I'm looking for some ideas on how the PLL could be broken so we can find and prevent future problems.
Thank you,
Matt Shuman
OSURC[/url][url=http://] (http://)[url]
We're using the Quadrover (http://www.parallax.com/tabid/638/Default.aspx) for a mars rover challenge in early June. The controls are handled with the propeller protoboard. During a rehearsal we managed to break the propeller. After brining it back to the lab we found that the propeller was not executing any instructions. We tried to use the internal RC oscillator and it executed instructions again. Our latest test was to see if the XTAL1 source would work if the PLL was bypassed, and it still executed.
Here is the code that we used to test the propeller. The clock is set correctly if P17 toggles:
CON
_clkmode = xtal1 '' This line sets the clock to a valid source
''_clkmode = xtal1 + pll16x '' This line sets the clock to an invalid source
_xinfreq = 5_000_000
PUB Main | i
dira[17] := 1
repeat
outa[17] := !outa[17]
waitcnt(clkfreq/20 + cnt)
I'm looking for some ideas on how the PLL could be broken so we can find and prevent future problems.
Thank you,
Matt Shuman
OSURC[/url][url=http://] (http://)[url]