Identify the lock first. On the PI6CB332004A, Byte 38 bit 0 is a write lock that only a power cycle can clear. Byte 39 bit 0 is a separate clearable lock. Reading zero from Byte 38 tells you only that this bit is not blocking writes, not that Byte 39 is also clear. When registers can be read but configuration changes do not take effect, inspect both bits and their operating conditions. Do not replace the crystal as a first response or assume clearing Byte 39 can override Byte 38. These details apply to the specified A-suffix buffer, not to other devices by similarity of name.
Two independent bits, not two ways to read one lock
| Field | Page 20 description | Recovery implication |
|---|---|---|
| Byte 38 bit 0, WRITE_LOCK | Blocks SMBus control-register writes and clears only after power cycling | If this bit is set, clearing the other one does not replace power cycling |
| Byte 39 bit 0, WRITE_LOCK_RW1C | Separate clearable write lock, listed as RW1C | Do not apply ordinary read/write semantics or the other lock’s rule |
| Byte 39 bit 1, LOS_EVT | Loss-of-signal event; write one to clear | Do not erase event history while investigating lock state |
| Zero states for the two lock bits | Each definition refers to the other bit | Excluding both locks does not qualify all other write conditions |
The datasheet points from each zero-state description to the other lock. Byte 38=0 with Byte 39=1 does not establish that the control interface is writable. Byte 38=1 with Byte 39=0 does not establish an unlocked device. Confirming that neither is blocking writes excludes these two particular causes. A read-only or absent field or unmet interface and device conditions can still prevent the desired change.
Byte 38 and Byte 39 are decimal identifiers in the datasheet; logs may represent the offsets as 26h and 27h. State the base so that Byte 38 is not accidentally treated as 38h. Record the exact device suffix, revision, raw register bytes and interpreted bits. Otherwise a log saying “write lock one” will not identify which lock condition was observed.
“Clearable” does not define an entire command sequence
For Byte 39 bit 0, the public table labels the field RW1C and uses write-one wording in both the lock and clear descriptions. The abbreviation alone is not enough to infer the initial lock operation, a subsequent clear sequence or the conditions that govern it. Page 20 also includes an SBI_EN register-validity note. Do not discard it or extend it into a universal rule for all registers and buffers. If in-service software unlock is required, obtain controlled write semantics matching the exact variant, revision and interface mode, then qualify it on a reversible bench setup.
By contrast, Byte 38 bit 0 explicitly requires cycling power to clear. Restarting host software, reopening a bus or probing again is not a power cycle of the clock buffer. A buffer rail that stays up during host restart can retain the existing lock. Observe the actual device rail instead of relying on the operating system’s restart time. If a safe power cycle is unavailable, report the maintenance limitation rather than trying writes to other offsets.
Production policy should name the lock and its purpose. If normal operation requires write protection but maintenance requires online changes, the power-cycle-only lock is not automatically suitable. If the objective is to block changes until a deliberate power cycle, document that recovery model and check the impact at design time. Do not set a lock in a live system just to see what happens; downstream devices may still depend on its clocks.
Why Byte 39 should not be read and copied straight back
The lock is not alone in Byte 39. Bit 1, LOS_EVT, clears on a one write. Suppose a diagnostic read gives binary 11 in the low two bits before the event has been saved. Copying the byte back sends a one to bit 1. Under applicable access conditions it could clear the event you intended to retain. That is a shared-byte side-effect example, not an unverified unlock sequence.
Separate reading, preserving evidence and recovery. First retain the raw byte, timestamp and clock state. After obtaining the controlled write behavior, construct any write for the intended field and handle reserved bits as specified. Do not apply a generic read-modify-write routine blindly. Refusing an unverified write protects the event history more reliably than checking output frequency after the fact. This article does not assume whether LOS_EVT remains clearable under all possible lock combinations; the public table does not fully specify their priority.
If another process has already handled the event, reading zero later only reports the visible state. It does not prove there was never a loss. Treat current clock health, historical events and permission to change configuration as separate facts, supported by waveform or pin evidence, the event record, and the lock fields with the interface mode.
Decide what recovery is allowed before testing
On an approved bench sample, choose a harmless, documented writable control that can be restored. Preserve the baseline and readback, then qualify both lock paths using the verified procedure. Keep separate evidence of when a control write is prevented and how the device regains write access. Neither an ACK nor a read of the old value alone proves the protection worked. Record whether the target changed and whether recovery interrupted downstream clocks.
Where power cycling is required, identify the rail, affected consumers, how board configuration is restored, and whether startup software will immediately apply the lock again. Read both lock bits after recovery and verify the actual output configuration and downstream state. If a power cycle is not permitted or possible, preserve a read-only diagnostic and mark unlock as unverified rather than recording a planned action as complete.
Finally, distinguish bus transfer from actual configuration. An issue can affect one buffered clock while the crystal still oscillates and the host can still read. Retain both raw lock fields, the command target, reference and output observations, and the recovery sequence. That evidence distinguishes the write lock, register semantics, bus and software issues from a genuine reference-source fault.
Frequently asked questions
Why can some settings remain unwritable when WRITE_LOCK reads zero?
Check whether WRITE_LOCK_RW1C is blocking writes under its applicable conditions. If neither documented lock is the cause, investigate the exact field’s permissions, device variant and interface mode. One zero bit does not open the entire interface.
Does a host reboot reset both locks?
Do not assume it does. Byte 38 specifies a power cycle of the buffer, not a host reboot. Verify that the buffer rail actually went through an approved cycle and read the relevant state back; an operating-system startup log is not that evidence.
