Parallax Forums
  HomeLog InRegisterCommunity CalendarSearch the ForumHelp
   
Parallax Forums > Public Forums > SX Microcontrollers, SX/B Compiler and SX-Key Tool > ready to cut the umbilical sx-key  Forum Quick Jump
 
New Topic Post Reply Printable Version
[ << Previous Thread | Next Thread >> ] | Show Newest Post First ]

BebopALot
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2005
Total Posts : 79
 
   Posted 8/6/2006 2:22 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Hi folks. I am ready to disconnect my Sx-Key and let my SX ride the 5.125 MHz crystal all by itself in my circuit. Problem is, I don't know exactly how to do this. I have the crystal and inverter (if necessary) on my benchtop and am ready to go. Do I first make the oscillator with the 74AC04 (I don't need any help for this step...) or can I drive the SX with the crystal by itself? Anyhow, if someone could kindly give me a step-by-step I would appreciate it.

Thanks!
Back to Top
 

Bean (Hitt Consulting)
Forum Moderator



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 5761
 
   Posted 8/6/2006 4:35 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
BebopALot,

It depends how close to 5.125 MHz you need to be. The SX will probably work by just putting the xtal onto the OSC1 and OSC2 pins and using OSCXT1 or OSCXT2 on the device line.

If not, you may need some capacitors on each side of the xtal to ground.

That should be in the area of ±100ppM of 5.125 MHz.

Bean.


Cheap 4-digit LED display with driver IC www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
 
"You're braver than you believe, stronger than you seem, and smarter than you think" Christopher Robin to Pooh
 

Back to Top
 

BebopALot
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2005
Total Posts : 79
 
   Posted 8/9/2006 7:13 PM (GMT -8)    Quote This PostAlert An Admin About This Post.
Bean, I basically put a crystal lead in Pin 27 and one in Pin 26. It is not running at all...

Post Edited (BebopALot) : 8/10/2006 3:43:10 AM GMT

Back to Top
 

Bean (Hitt Consulting)
Forum Moderator



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 5761
 
   Posted 8/10/2006 3:04 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Try putting caps on each side of the crystal to ground.

Bean.


Cheap 4-digit LED display with driver IC www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
 
"You're braver than you believe, stronger than you seem, and smarter than you think" Christopher Robin to Pooh
 

Back to Top
 

BebopALot
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2005
Total Posts : 79
 
   Posted 9/1/2006 6:04 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Bean you comment on how to choose capacitor specs that fall in the area of +-100ppm of 5.125 MHz - lets use .1uf cap. What are the calculations to determine?
Back to Top
 

Bean (Hitt Consulting)
Forum Moderator



Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Jul 2004
Total Posts : 5761
 
   Posted 9/1/2006 6:41 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
0.1uF are WAY too big. Try 10 pF to 100 pF.

Different value caps will offset the crystal frequency.

You would need a calibrated frequency counter to be able to know how much the caps are pulling the frequency.
To calculate it you need all kinds of technical data about the crystal (an the SX too).
You can try finding the smallest and largest cap value that works, then pick a value in the center.

Try different OSCxxx settings on the device line too.

Bean.


Cheap used 4-digit LED display with driver IC www.hc4led.com
Low power SD Data Logger www.sddatalogger.com
SX-Video Display Modules www.sxvm.com
 
There are only two guaranteed ways to become weathy.
Spend less than you make.
Make more than you spend.
 

Back to Top
 

lawlopez
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Sep 2005
Total Posts : 6
 
   Posted 9/2/2006 5:54 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
.1 uf ???

if you are putting .1 uf to ground either side of the crystal
you are doomed.

something like 20 pf would be a better choice.
Back to Top
 

BebopALot
Registered Member

Email Address Not AvailablePersonal Homepage Not AvailablePrivate Messaging Not AvailableAIM Not AvailableICQ Not AvailableY! Not AvailableMSN Not Available
Date Joined Aug 2005
Total Posts : 79
 
   Posted 9/6/2006 7:39 AM (GMT -8)    Quote This PostAlert An Admin About This Post.
Thanks Bean and Mr. LawLopez. Can I use any 20-100 pf caps lying around, or do I need special ones ordered from digikey or mouser.com for example?
Back to Top
 
[ << Previous Thread | Next Thread >> ]
New Topic Post Reply Printable Version
 
Forum Information
Currently it is Friday, November 20, 2009 10:33 PM (GMT -8)
There are a total of 393,734 posts in 55,521 threads.
In the last 3 days there were 82 new threads and 702 reply posts. View Active Threads
Who's Online
This forum has 17687 registered members. Please welcome our newest member, mark09.
63 Guest(s), 4 Registered Member(s) are currently online.  Details
JRetSapDoog, mpark, Kye, Sal Ammoniac