Shop OBEX P1 Docs P2 Docs Learn Events
Prop hardware troubleshhooting help — Parallax Forums

Prop hardware troubleshhooting help

JonathanJonathan Posts: 1,023
edited 2007-06-03 20:24 in Propeller 1
Hi All,

I'm having trouble with a Prop on a proto board. It programs just fine, both to RAM and EEPROM. However, I can't get it to actually DO anything. I am simply trying to toggle any I/O. Double/triple checking through the hook up schematic seems fine.

My first thought was it might be a blown PLL. However, even using the internal OSC doesn't work. I have verified the function of the program I am using on a demoboard. Alll voltages are correct on the correct pins. I am using a 512kBit EEPROM. THe board is battery powered and the batteries are good. I have tried two Prop chips with the same result.

I'm up a stump. Any ideas for further troubleshooting?

Thanks!

Jonathan

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
www.madlabs.info - Home of the Hydrogen Fuel Cell Robot

Comments

  • Peter JakackiPeter Jakacki Posts: 10,193
    edited 2007-06-03 14:36
    Gee, I'm stumped too due to too little to go on to draw any kind of conclusion kinda stumped. eyes.gif (just my way of saying please provide as much info as possible)

    Ok, I'll take a guess and mention that maybe you haven't hooked up all the VDD/VSS pins but this is only a guess. This is mainly a visual so check the continuity not just the voltage.


    *Peter*
  • JonathanJonathan Posts: 1,023
    edited 2007-06-03 14:46
    Jacki,

    Yup, I've hooked up all the VSS/VDD pins etc. Havn't checked continuity, but all voltages are at expected levels, with no drop between the Vreg voltage and that measured on the pins.

    However, it seems I was wrong about it not working on the internal osc. I *thought* it wasn't, but upon checking it *yet again* it is. I'll check cont, but since it is running on the internal osc, I doubt that is it. Might be I guess, the Prop draws more power when using the external.So, I guess what Ill do now is try another resonator. I sure hope it isn't a blown PLL, because that would mean there is something in my circuit that instantly blows the PLL on power up. That doesn't seem too likely, as there is nothing connected to anything other than the bare minimum to program.

    What other info·can I provide?·And thanks for the help!

    Jonathan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
  • JonathanJonathan Posts: 1,023
    edited 2007-06-03 15:16
    Hmmm. So I replaced the resonator. This time I decided to use a socket. Put another 5mHz resonator in, and no joy. These are resonators I ordered from Parallax when I ordered the props, so they should work.

    On a whim, I decided to try a 10mHz resonator I had laying around. Change the xinfreq and the PLL settings, and bingo! It works!! Yay, no blown PLL. The question now becomes why don't the Parallax resonators work?

    Thanks!

    Jonathan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
  • NewzedNewzed Posts: 2,503
    edited 2007-06-03 15:20
    Jonathan, the Prop is designed to work with a crystal, not a resonator.· Use a Digikey CTX051.

    Sid

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Yesterday is history, tomorrow is a mystery, and today is a gift.

    That is why they call it the present.

    Don't have VGA?
    Newzed@aol.com
    ·
  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2007-06-03 15:51
    I would recommend posting code…It may actually be something in the code unless the same code works on another Propeller Chip.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
  • JonathanJonathan Posts: 1,023
    edited 2007-06-03 16:28
    Chris,

    The code works fine on the Demoboard. It also works fine on my board now that I have replaced the resonator I got with the Prop with a Murata 10mHz resonator. Of course, I had to change the xinfreq and PLL settings.

    Sid,

    It is working with a resonator, just not the one I got from Parallax.

    Many thanks!

    Jonathan

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    www.madlabs.info - Home of the Hydrogen Fuel Cell Robot
  • RinksCustomsRinksCustoms Posts: 531
    edited 2007-06-03 20:24
    My prop setup wouldn't work either w/a resonator, works fine with CRYSTALS though, 10MHz, 5MHz, and even a 12Mhz crystal! just watch your PLL settings when trying to keep a stable program since i think your basically overclocking the chip at any crystal over 10MHz.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Definetly a E3 (Electronics Engineer Extrodinare!)
    "I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
Sign In or Register to comment.