Ubicom SX Embedded Controller Clocks

Summary

Frequency Range Type Accuracy Power Cost Notes
31.25Khz to 4Mhz Internal RC Very Poor (+/- 8%) low Zero!  
? to 1Mhz External RC Terrible low cents R between 3K and 100k C between 20pF and ???
1Khz to 50Mhz Crystal Best! med low We recommend 50MHz fundamental mode crystals from Abracon (abinfo@abracon.com, (949)448-7070). For low-profile thru-hole, use ABL-50.000-F (3.5mm height) or ABL2-50.000-F (2.5mm height). For low-profile SMT, use ABLS-50.000-F (4.2mm height) or ABLS2-50.000-F (3.3mm height). Please refer to Abracon's Web site for specifications (http://www.abracon.com/).  
2Mhz to 50Mhz Resonator excellent high med The Murata 50 MHz resonator (Murata CSTCV50.00MXJ0H3) is recommended to be used with SX devices. This is a newer and better part.
http://www.parallaxinc.com/html_files/products/SX_Chips/resonators.asp
1Hz to 100Mhz Oscillator varies varies high Frequencies higher than 50MHz require the use of a TTL Clock Oscillator as the clock source. For example ASL or ASF family from Abracon or PLL IC. Digikey has (or had) CTX121-ND (50Mhz, 40mA) and the Epson SE2911 (75Mhz). At these frequencies the SX should be configured at the highest gain settings, OSCHS2 or OSCHS3. Be very carefull to unplug the OSC when programming the SX as most will be destroyed by the programming voltage (about 13V)

See also:

Stephen Holland says:

There are several ways to get a clock... A few of the more popular ones are listed below.

Questions and answers:

As the SX device can operate at frequencies up to 75 MHz, are there recommendations for proper oscillator circuit layout to minimize EMI?
 
It is typically recommended to reduce the power and ground loop area. The long supply lines with the relatively large areas that these lines surround may form an effective antenna. At the frequencies present, an unacceptable level of interference may be radiated and may result in unstable oscillation. A grounded area under the SX device must be connected to the Vss pin. In addition, the ground area should be tied to the ground plain with multiple vias. This ground area ensures that the major part of the field lines emanating from the SX are concentrated between the SX and the ground level.

Since the SX28AC power and ground pins are on the opposite side of the package from the one for the oscillator pins, one needs to evaluate the effect of the larger loop created as a result of connecting the oscillator capacitors to the ground. This large loop will result in larger amount of current flow in the oscillator resonant circuit. The creation of a ground plane underneath the chip (mentioned above to reduce the power line loop) will help shorten the loop effect. In addition, it will be useful to run the capacitor ground connection close and in parallel to the clock input and output signals. If ground area underneath the chip is not available, the capacitor should be directly connected to the SX ground pin through a short and independent trace. The shape of the oscillator signal should be observed with a low capacitance FET probe to identify any ringing. The oscillator signal should look smooth. Impedance matching techniques can be employed to smoothen the oscillator signal.

See: EMI
 
I am using an external clock source to drive the SX. How do I do ISP of the SX?
 
You need to have circuitry to disconnect the clock-source from OSC1 when the SX-Key or SX-ISD is plugged into your system. It should be noted that 12.5V is present on OSC1 during device programming. That circuitry could be as simple as a jumper terminal.
 
I have a application for the SX18/SX28 processors where I need to switch between two processor clock frequencies. I plan on doing this by having two external crystal oscillators and multiplexing logic to switch between them. Can you tell me if I need to take any special precautions to prevent glitching on the clock line during the switch.

For instance suppose I generate an extremely short clock cycle that is beyond the speed range of the processor during the switch, is this permissable, or will it cause the SX to malfunction?
 
This will be very tricky to do. You will have to ensure that there is no phase shift when switching the clocks. We have had several people design with USB chips that have low power modes, with the SX running from the clock source provided by the USB controller (switching between 4 or 12MHz) and it did work just fine.
 
Is the internal oscillator usable above 4Mhz and if so can you supply technical information about using it?
 
The SX internal oscillator only supports up to 4MHz operation.
 
Why can't I find a 75 or 100MHz resonator?
 
External oscillator support for crystals or ceramic resonators is limited to 50MHz as this the highest frequency offered in a fundamental mode oscillation (third overtone is the other choice, but not recommended as it requires the use of a LC filter in the oscillator circuit, which can be quite large, expensive and difficult to set up).
 

We recommend 50MHz fundamental mode crystals from Abracon (abinfo@abracon.com, (949)448-7070). For low-profile thru-hole, use ABL-50.000-F (3.5mm height) or ABL2-50.000-F (2.5mm height). For low-profile SMT, use ABLS-50.000-F (4.2mm height) or ABLS2-50.000-F (3.3mm height). Please refer to Abracon's Web site for specifications (http://www.abracon.com/).

Richard Ottosen [rottosen at IDCOMM.COM] says :

A third overtone crystal on the [SX] can interfere with the oscillator pins when they are used to program the SX. The inductor of the filter for third overtone operation can short the programming voltage and damage the SX or the programmer! [ed: Use a large value cap (0.1uF or so) in series with the inductor to remove the un-necessary DC short.see http://www.saronix.com/pdfs/128/128.p1.pdf]
 

The Murata 50 MHz resonator (Murata CSTCV50.00MXJ0H3) is recommended to be used with SX devices. This is a newer and better part.
 

Frequencies higher than 50MHz require the use of a TTL Clock Oscillator as the clock source. For example ASL or ASF family from Abracon or PLL IC (ICD2053 from Cypress). At these frequencies the SX should be configured at the highest gain settings, OSCHS2 or OSCHS3.
 

Can I run two or more SX devices from one clock source?
 
This clocking scheme should work: 1ST SX running from CRYSTAL oscillator ( XT , HS1,HS22,HS3- depends on Crystal frequency), OSC2 output of 1st SX used as clock source for 2nd SX. 50 Mhz crystal from ABRACON can be successfully used with all SX devices.
 

Also:

Ted Inoue says:

I had been having problems with intermittent problems with some of the boards I'd developed using the SX chips. They'd work fine using the SX-Key, but when using a resonator they'd either fail to start up at all or would only do so randomly.

After troubleshooting and help from those on this list (thanks guys!) I tracked it down to improper reset on power-up. I'm pretty certain that the chip was slowly coming on as the power cycled up and was unstable.

There were excellent suggestions about time delay startups, RC filters etc., but since my boards were already built, I needed a software solution. After reading the spec sheets carefully, I tried using the brownout reset fuse, which I'd disabled previously. I enabled the 4.2v setting and instantly all my boards began working 100%.

There's very little information that discusses the brownout option, and it's so useful that I thought I'd pass this along. It's made the difference between having a (commercially) useless product and having one that I can comfortably put into users' hands.

Questions:

Interested: