Epson's SG-8506CA separates user registers from the PLL registers that control output. Restoring readable defaults does not necessarily restore the clock. Qualification needs both the control state and the output waveform.
The problem often appears when equipment leaves diagnostic mode and returns from a temporary operating frequency to its startup default. Firmware reads familiar bytes and reports that recovery is complete, while the receiver may still be clocked at the previous rate. Establish who uses the output and when the clock may stop or relock. Verify software-visible configuration and the actual clock separately. Do not write diagnostic control commands on equipment that is in service.
What do the two register sets and nonvolatile memory do?
Epson manual ETM52E-05 describes nonvolatile memory (NVM), user-accessible frequency registers, and the registers that configure the phase-locked loop (PLL). The user-side ODIV, NINT, and NFRAC fields form a group of setting inputs. Reading them confirms the divisors visible to firmware, not the actual output frequency. The manual separates writing the new user values from applying them during runtime operation.
PLL_CTRL0 and PLL_CTRL1 appear at 0x15 and 0x50 as shared addresses for the same control register. Setting bit zero, NVM_RESTORE, restores user-register defaults from NVM. The manual explicitly says this alone does not update the PLL registers. Its example for restoring both user registers and PLL writes 0x05, asserting NVM_RESTORE and NEW_FREQ together. That value also affects other bits in the control register. Do not make it a generic recovery script without checking the actual output-enable strategy.
NEW_FREQ automatically clears when the output frequency change and PLL calibration finish. NVM_RESTORE clearing only indicates completion of the restore action. The two bits do not report the same result, so a cleared bit zero is not proof of a frequency change. If the application uses OE_REG to control the buffer, check the hardware enable polarity and register bit seven as well. A missing waveform may reflect an enable change or frequency transition; do not group both as a frequency error.
Worked example: How do you verify a return from 125 MHz to a 156.25 MHz default?
Assume the sample’s controlled startup default was confirmed as 156.25 MHz. During operation an apply sequence temporarily changes it to 125 MHz, and it measures near 125 MHz under unchanged power and loading. If you execute NVM_RESTORE alone, user registers should recover their default values, but that is not evidence that the output has returned to 156.25 MHz. If the bench still reads 125 MHz, that is consistent with the PLL not being updated and does not by itself establish a faulty part.
The two frequencies differ by 31.25 MHz. The clock periods are 8.000 ns at 125 MHz and 6.400 ns at 156.25 MHz, a difference of 1.600 ns. That gives a bench observable, subject to actual oscillator error and measurement uncertainty. If the output buffer is disabled, there is no period to compare. Do not describe an absent output as operation at the old frequency. These are assumed project settings, not a promise that every order ships with both configurations.
After applying defaults, record three instants separately: command issue, completion of the relevant control action, and sustained valid clock reception downstream. The first two diagnose the software, while the third determines when the equipment can resume service. Successfully reading defaults also does not replace a true power-cycle test. Readback, runtime restore, and initial power-up are distinct paths.
What evidence makes the bench result reproducible?
Put the receiver in a safe test state first. Record the complete part code, expected default rate, bus access method, output format, and prior receiver clock. Use identifiable firmware-stage markers and capture bus activity and register readback before and after the operation. Record both source and receiver traces against a common time reference. A “success” line in the software log is not enough; the record should show which action caused which output change.
Prepare two regression scenarios: restoring user registers without applying them, and restoring and applying to the PLL as defined by the manufacturer. The first demonstrates the difference between configuration and output; the second validates the required recovery. If possible, add a cold-start reference. Keep power, termination, and probe points comparable so instrument changes do not conceal lost clock or jitter. Retain separate evidence for different enable strategies rather than treating one as representative.
Test failures too. If bus access fails or a control action does not finish within the project's permitted time, a plausible cached readback should not release the receiver from protection. Keep the command, timestamp, enable state, and verifiable downstream status in the sample report. If receiver configuration also changes during recovery, identify which lock behavior follows the clock transition and which follows receiver reconfiguration. Time-order evidence is particularly important when they happen close together.
If the receiver and measurement counter derive their timebases from the same source under test, both can change together and the software can keep reporting the same ratio. Verify actual output against an independent timebase before comparing against firmware state. Distinguish hardware readback from a cached expected value in logs. Both are useful, but label them separately. If the instrument loses its trigger during the command, identify the gap rather than treating it as uninterrupted output.
Projects with multiple startup defaults may get different target frequencies from the same restore action. Link full ordering codes, preset frequencies, and sample checks to the same lot instead of stocking everything as “programmable.” Firmware can compare the local configuration with the expected preset before allowing clock-dependent operations. One prototype’s runtime tuning does not prove another lot starts at the required frequency. If the host depends on this oscillator to boot, verify the default before runtime recovery. Setting a new operating frequency is not a substitute for a valid startup clock.
Engineering and procurement checklist
| Item | Record | Review check |
|---|---|---|
| Startup default | Full SG-8506CA order code and default frequency | The device’s range is not its startup value |
| User registers | ODIV, NINT, NFRAC, and NVM_RESTORE evidence | Default readback does not prove the PLL updated |
| PLL and enable | NEW_FREQ, output enable, and measured clock period | Completion and output enable are separate evidence |
| Board recovery | Receiver clock and lock, timing, and procedure revision | No output does not establish the old frequency |
Two common questions
Can a correct power-up frequency replace a runtime-recovery test?
No. It qualifies the applicable cold-start path. Runtime restore involves updates to the user registers and PLL and has different failure modes. If the equipment depends on runtime rollback, qualify it separately.
Can we rely on the completion bit at 0x15 without a scope?
It is valid software evidence, not direct proof of received frequency, edges, or lock. A qualified automated production test can replace a manual scope measurement, but it still needs an independent output observation rather than register readback alone.
