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

Epson RX-4035SA Crystal RTC: Can a Pull-Up on EVIN2 Miss an Event?

Epson’s RX-4035SA contains a 32.768 kHz crystal, but its two event inputs are not electrically interchangeable. EVIN1 has no internal resistor. EVIN2 has a pull-down specified at 40–400 kΩ, typically 120 kΩ. A weak pull-up that worked on EVIN1 may work on one EVIN2 prototype and fail to reach a guaranteed logic high on another lot. Check worst-case pin voltage first, then debounce timing and event logging.

Both inputs can log events, but they need separate wiring checks

The SA pinout puts EVIN1 on pin 8 and EVIN2 on pin 14. Epson identifies a high-level signal as the event input and provides debounce on both channels. The pin-function table distinguishes them: EVIN1 has no internal resistor, while EVIN2 has an internal pull-down. On a board using switches or open-drain drivers, the schematic must show what establishes the released level. A prototype that happens not to produce false events is not evidence of a defined idle state.

If substituting an RX-4035LC, check its pinout first. Only EVIN1 is brought out on the LC; it is not a smaller package that retains both external inputs. Review firmware channel settings, external connections and pads separately. On a board that must log two independent contacts, an integrated crystal and readable time do not qualify the LC as a substitute. Do not interpret the missing channel as a spare pad with a default bias.

CheckManufacturer specification or pinoutBoard decision
SA EVIN1Pin 8; no internal resistorGive the external network a defined idle level
SA EVIN2Pin 14; 40–400 kΩ pull-down, typically 120 kΩUse the least favorable resistance for voltage and current
EVIN logic levelsHigh at least 0.8 × VDD; low at most 0.2 × VDDCalculate from the pin voltage in a valid supply state
LC external channelOnly EVIN1 appears in the pinoutNot a direct replacement for two-channel SA designs

Why a 22 kΩ pull-up can pass one build and fail another

For an illustrative case, let VDD and the pull-up rail both be 3.0 V. The open-drain output is released; ignore leakage and interconnect loading for now. A guaranteed high requires at least 2.40 V and a guaranteed low at most 0.60 V. With a 22 kΩ pull-up, multiply 3.0 V by the pull-down resistance and divide by the sum of both resistances. At the typical 120 kΩ value the result is about 2.54 V, apparently 0.14 V above the high threshold. At the 40 kΩ minimum it drops to 1.94 V, which is not a guaranteed high. Neither does 1.94 V meet the low condition, so it does not prove every unit will read low.

In that simplified example, reaching 80% of the source voltage requires an ideal pull-up no greater than one quarter of the minimum pull-down, or 10 kΩ. Exactly 10 kΩ yields exactly 2.40 V, leaving nothing for pull-up tolerance, leakage, or a difference between supply rails. An 8.2 kΩ comparison yields about 2.49 V under those assumptions, roughly 0.09 V above the threshold on paper. That is not a universal resistor recommendation. Use the module’s specified VDD as the threshold reference, not whichever controller rail is easiest to measure.

A stronger pull-up costs current. With the open-drain driver holding the pin low, assume zero volts at the pin for an initial estimate. The pull-up supply delivers about 136 µA through 22 kΩ or about 366 µA through 8.2 kΩ. Determine the actual value from measured low voltage and supply voltage. If a contact spends most of its life low, carry this branch separately in the power budget. The module’s own current specification is not the static current of the complete input network.

Separate insufficient voltage, slow edges and inadequate debounce time

Record the drive signal, the EVIN2 pin and any available event indication on the same time base. First hold the input in its intended idle and asserted states, then measure the settled pin voltage against the appropriate limits. Trigger repeatedly using the real contact or controller. Record when the pin crosses the guaranteed threshold, how long it stays there, and the event status. If the pin never reaches a valid high level, making the pulse longer will not fix the divider. If it reaches a good high but does not remain there long enough, look at the operating mode and manufacturer debounce setting.

On boards with cables, optional series resistors, or filter capacitors, change the board and the contact independently. A long pulse that passes says little about a short contact closure. A transition at the driver does not prove that the module pin has entered the valid high state. For low-power designs, check that instrumentation does not alter a high-impedance node. Before repeating a stimulus, handle existing event flags as required by the test procedure, so a retained flag does not count as a new success. If events tend to drop after an environmental change, align supply, complete input waveform and channel state on one time axis instead of saving unrelated screenshots.

Check that disabling the driver behaves the same as releasing it; do not assume it does. A sleeping controller may change a push-pull pin to high impedance or remove its peripheral supply. Let the actual circuit establish where the module input settles in each state. If manual triggering works at room temperature but the first event after sleep is unreliable, capture the pin before sleep, during sleep, and after wake. Check the driver’s powered-off specifications and measure whether a still-powered pull-up backfeeds it. The module’s pull-down value alone cannot answer that question.

Once the input reaches a valid high, keep electrical performance separate from event order. For a two-channel comparison, record actual threshold crossings at both module pins on a shared time base, then save the software record separately. Different dividers or capacitances can make two simultaneous actions at the connector cross the pin thresholds at different times. A failure report should say whether the level missed its limit or a valid level arrived without a record. That makes the next debug step clear.

Put four records in the part and board acceptance file

Keep the complete SA or LC order code, its approved pinout drawing, installed external resistor value and tolerance, and the measured pull-up supply range in each relevant state. For production validation, use an approved fixture and equivalent networks to cover adverse high and low conditions where practical. A board built with a typical internal pull-down does not cover the full declared range. Put the external resistance in the production placement list and option record, not just on a scope screenshot. After a supplier or revision change, check documentation, circuitry and lot identity before mixing any results. Do not apply SA results to LC.

If the board must log events after loss of main power, test backup operation separately. Confirm that the driver remains powered as needed, that the idle level is valid, and that expected records are readable after restoration. A normal-supply pass is not proof of backup logging. Sign off pin levels, pulse behavior and retrieved records independently. Mark anything without evidence as pending, and release only approved combinations of part and board revision.

FAQ

Can purchasing treat the typical 120 kΩ pull-down as a fixed resistor?

No. It is the typical value of an internal circuit, not a per-unit commitment. If the low end of the published range erases the high-level margin, change the input network, its supply or its drive scheme, then retest in the required mode. If a defined external bias is necessary, list it separately in the bill of materials. The internal typical value is not a discrete resistor with its own tolerance and placement record.

Does one high pulse on the scope prove an event was recorded?

No. The trace must show the signal at the module pin, above the guaranteed threshold for the corresponding supply and for the required debounce duration. Then confirm recording through the correct channel and event data. Conversely, one successful event does not establish worst-case margin; the conditions may have been favorable. Keep worst-case tests separate from passing examples so the next reviewer can see what each one proves.

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.