SX48 external clock source problems
I purchased a SX48 protoboard and an SX-Key. For the life of me I cannot get my program in SX/B to run on any external crystals of resonators. It works with the internal clock, and with the clock produced by the SX-Key though.
Has anyone else had this problem?
Has anyone else had this problem?
Comments
More about this you can find in "SX FAQ2" on page 19.
DEVICE | FOSC2..0 | Meaning
OSCLP1 000 low power crystal (32 kHz)
OSCLP2 001 low power crystal/resonator (32 kHz to 1 MHz)
OSCXT1 010 normal crystal/resonator (32 to 1 MHz)
OSCXT2 011 normal crystal/resonator (1 MHz to 24 MHz)
OSCHS1 100 high speed crystal/resonator (1 MHz to 50 MHz)
OSCHS2 101 high speed crystal/resonator (1 MHz to 50 MHz)
OSCHS3 110 high speed crystal/resonator (1 MHz to 75 MHz)
Regards
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Think deep......Dive shallow !!!
If you're using an appropriate DEVICE directive (DEVICE SX48, OSC...) then maybe you have a bad board.
On the Protoboards, there is a socket for the resonator, X2; the crystal gets plugged into X1/Cx·on the Protoboards (the crystal leads get placed into the outside terminals.)
Post Edit -- http://www.parallax.com/Portals/0/Downloads/docs/prod/boards/SX48-52ProtoBDRevBSchematic.pdf
Post Edited (PJ Allen) : 11/8/2008 3:10:05 PM GMT
these are the settings I used on the other board when it worked:
DEVICE SX48, OSCHS3
FREQ 50_000_000
If one works and one doesn't, otherwise "same same",·then it looks like a bad board.· Get in there with a magnifier and have a look-see.· If possible, see if you have continuity between the IC pins and the corresponding resonator socket pins.· May be that there's a bad solder joint or some other manufacturing defect.·
I am so confused... this makes no sense.
Something else I'd try is soldering some straight wire on one of those resonators or work out a little adapter board·so that I could plug·one into X1 or Cx (just for grits and grins.)· Any other suggestions would likely void your warranty, so I won't mention them.
I guess you could print out this thread and send it along with the protoboard for an In Warranty exhange (RMA.)
i'm not exactly sure how they work but does the chip have to trigger the resonator to oscillate? maybe something is wrong with the chip itself?
Do the 75MHZ TTL crystals oscillate by themselves? I wish I had one to try before I buy them...
I would hate to have to replace the board. I already have things soldered onto it...
Nick
I've had a lot of trouble getting these SX48's to oscillate with a resonator. I use a 1M from OSC1 to OSC2, and a 5pF from OSC2 to ground. That seems to fix most of my·resonator issues...
-Dan
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"A saint-like quantity of patience is a help, if this is unavailable, a salty vocabulary works nearly as well." - A. S. Weaver