A 40 MHz clock has a 25 ns period, so 100 µs of stable operation spans 4000 cycles. If a peripheral requires 100 µs of stable clock before reset can be released, start that delay only once the clock meets the input specifications.
Place four cursors on the same waveform
- The supply reaches the voltage specified in the oscillator data sheet as the startup timing reference.
- The first edge appears on the clock output.
- The clock meets the receiver's amplitude, frequency, and other conditions and remains stable.
- The peripheral actually leaves reset.
Compare the interval between the final two cursors with 100 µs. If the third cursor falls 1.2 ms after the supply timing reference, the earliest allowed release in that capture is 1.3 ms. An earlier first edge does not mean that the entire interval since it appeared can count toward the delay.
For a fixed reset delay, check the maximum startup time for the exact part under the specified conditions. Cover minimum supply voltage, cold starts, and variations in the power ramp. A single board reading of 1.2 ms is useful for diagnosis. A production limit needs a specification or appropriate verification.
