Shop OBEX P1 Docs P2 Docs Learn Events
Capacitance Problem? — Parallax Forums

Capacitance Problem?

John CoutureJohn Couture Posts: 370
edited 2008-02-22 00:27 in General Discussion
I have a small board design of my own that works with the SX-Key and SX-Blitz.·

In standalone mode it works ok if I attach a wire (about 12" @ 22ga) to OSC2 and then to nothing else.

If I take the wire off and reset, it does not even get through the initialization routine leading me to think that·the wire serves as a sort of very weak capacitor.· Am I on the right track?

Additional info:

SX18 running at 4mhz, replaced the resonator because I thought that might be defective.· Schematic is attached if it is needed.· One modification that was made since that schematic is that I connected +5 on the LM7805 to the boards +5 (grin, yea, I know, that was a stupid oversight).



▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
John J. Couture

San Diego Miramar College
1565 x 1070 - 50K

Comments

  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2008-02-21 21:13
    What is the OSC setting you are using in your program? Have to tried different settings?
  • John CoutureJohn Couture Posts: 370
    edited 2008-02-21 22:21
    FREQ 4_000_000

    No I haven't tried other frequencies because:
    1) resonator is soldered in
    2) I have a LOT of 4mhz resonators (grin)

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John J. Couture

    San Diego Miramar College
  • RobotWorkshopRobotWorkshop Posts: 2,307
    edited 2008-02-21 22:27
    Hello John,

    Sorry, I was referring to the different OSC settings in the program code like:

    OSCXT1
    OSCXT2
    OSCHS1
    OSCHS2
    etc.

    You may have better results with another setting.

    Robert
  • John CoutureJohn Couture Posts: 370
    edited 2008-02-22 00:27
    Interesting. I would have never thought of that. I was using OSCXT2. I tried OSCXT1 and it worked! Robert you're a genius! Thank you!

    I don't know why it worked but at least I know where to start looking.


    For others following this thread, these settings are on page 49 of the SX-Key Development System Manual

    http://www.parallax.com/dl/docs/prod/sx/SXKeyMan2_0.pdf


    OSCXT1 - Normal Crystal/Res, 32khz to 10mhz
    OSCXT2 - Normal Crystal/Res, 1mhz to 24mhz
    OSCHS1 - High Speed Crystal/Res, 1mhz to 50mhz
    OSCHS2 - High Speed Crystal/Res, 1mhz to 50mhz

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    John J. Couture

    San Diego Miramar College
Sign In or Register to comment.