Specialist Supplier of Crystals & Frequency Control Componentssales@mecxtal.com.cn0755-26500570
MERLIN home / Rednote / Brands and Sourcing

Can Microchip DSC6021MI2B-005Q provide both 32.768 kHz and 24 MHz?

A battery-powered data logger needs its real-time clock to keep running in sleep and its host to receive 24 MHz after wake. During schematic review, someone sees two frequencies in the DSC6021MI2B-005Q ordering example, fans its only clock output out to both inputs, and assigns a GPIO to change frequency during sleep. Two constraints in the original datasheet settle the issue before an order is placed. Both presets have to be in the kilohertz range or both in the megahertz range, and the device has one clock output. If the host and RTC require their respective clocks simultaneously, preserve two clock paths that can operate concurrently.

What the manufacturer’s ordering example identifies

Microchip gives DSC6021MI2B-005Q as an example in the ordering section of DS20006133E. It specifies standard output drive, a four-terminal 2.0 × 1.6 mm VFLGA package, industrial temperature grade, ±25 ppm frequency stability grade, revision B, and a frequency-select function with an internal pull-up on pin 1. The trailing 005Q is the frequency configuration code. The example says the two frequencies are configured through ClockWorks and leaves their actual values unspecified. Obtain the configuration record associated with the order. Transcribe the high-state frequency, low-state frequency, and their units into the inspection record. Devices with the same outline and stability grade can still produce different clocks at the same GPIO level.

If incoming material was split from the original packaging and the bag carries only a DSC6021 abbreviation, recover the complete order line for the lot. Section 5.1 of the datasheet allows for devices without a top-side frequency marking and identifies the full ordering code and its documentation as the basis for frequency identification. A counter test in both states can help isolate a mixed lot while the original packaging record and manufacturer configuration remain the traceable records. One successful boot in the default state covers a single frequency and a single power-up condition.

Three different outcomes when pin 1 goes low

The pin-function table in §2 gives frequency 1 for FS high and frequency 2 for FS low. With the pin configured for OE, low sets the output to high impedance. With STDBY, low turns off the output buffer and PLL and puts the device into a low-power mode. Naming the pin CLK_EN in every schematic leaves the reviewer unable to tell whether to expect a second frequency, a stopped output driver, or standby current. Use a net name that reflects the option, such as CLK_FS, and have the production test check the truth table for the ordered configuration. Put the GPIO reset direction, default level, and both power-rail sequences on the timing diagram, including the interval before the host takes control.

The device operates from 1.71 to 3.63 V. The data sheet gives high and low logic input limits of 0.7 × VDD and 0.3 × VDD. On an assumed 3.3 V oscillator rail, the guaranteed high-level input threshold is therefore 2.31 V. A direct push-pull output from a 1.8 V host falls below it, so revise the level interface or the power scheme. If using an open-drain driver and pull-up, check the allowed pin voltages on both sides and the time needed to reach a valid high after release. Resolve those electrical conditions before specifying the firmware transition.

Production fixtures also need different observation windows for low and high frequencies. With a hypothetical 10 ms counting gate, a 32.768 kHz input yields about 328 counts, and one count corresponds to about 3,050 ppm. This can spot the wrong frequency range or a missing output, while a difference of a few dozen ppm remains unresolved. Use a longer gate or period measurement against a calibrated timebase to check low-frequency accuracy.

How much error an integer divider adds to RTC time

To see what a one-part solution would cost, calculate the result of dividing 24 MHz by an integer. The exact ratio for 32.768 kHz is 24,000,000 ÷ 32,768 = 732.421875. If the existing divider takes only integers, a divide-by-732 setting yields about 32,786.885 Hz, 576.3 ppm fast. Even with a perfect upstream reference, the clock gains about 49.8 seconds per day. A divisor of 733 reverses the direction of error and also needs evaluation. A fractional divider would require a separate review of the RTC power domain, divider behavior when its input clock stops, period differences, and input requirements. Matching the average frequency alone leaves backup timekeeping and pulse quality unverified.

In the hypothetical logger, the RTC must remain independent while the main rail sleeps. Retain a 32.768 kHz source that runs on the RTC power domain and a separate 24 MHz source for the host. If host-side sleep power matters, evaluate a specific single-frequency 24 MHz configuration with STDBY on pin 1. The datasheet’s 1.3 mA typical active current applies at 24 MHz, 1.8 V, without an output load. Its 1 µA typical standby figure applies under the stated standby conditions at 1.8 V or 2.5 V. Include the downstream load and regulator in battery calculations and measure actual board sleep current, including any external pull-up or cross-domain interface current.

Measure the default frequency, both presets, and what happens in transition

A different project that only switches between two megahertz clocks can continue with the DSC6021. Capture VDD, FS, and OUT together. Establish the power-up default with the GPIO in high impedance, then force high and low and measure both settled frequencies. Repeat the transition, measure the interval from the change in FS to an acceptable receiver clock, and look for pulses that disturb downstream state machines. Set the window according to the receiver. The datasheet’s OE timing describes output enable and is a separate measurement from changing FS. If firmware must stop a peripheral first or assert a system reset before switching, record that in the firmware timing specification and the component change approval.

Field repair may bring in two units with the same base series, one using the alternate setting as a slower operating clock and the other using it for production testing. The technician needs both board revisions and configuration records. Keep the measured frequency, the control level, and the time of the observation. This helps distinguish an incorrectly ordered frequency code, an incorrectly connected control signal, and a receiver that resets during the transition. To consolidate spare stock, compare both systems’ two-state frequency mappings before assigning a shared stock record.

Manufacturer documents

WeChat

MERLIN · TIMING COMPONENTS

Scan with WeChat to contact Sales

Add our WeCom contacts from your usual WeChat app.

On desktop, scan with your phone. On mobile, save the QR image and select it from your album in WeChat Scan.