If a board's 11.0592 MHz crystal is replaced by a 22.1184 MHz one and the original firmware uses that clock directly for the UART with 16× oversampling and an integer divisor of 6, the baud rate rises from 115200 to 230400. One TX bit shrinks from about 8.68 µs to 4.34 µs. Restoring the original baud rate requires a divisor of 12.
Trace the clock from the UART to the system tick
Check the MCU's allowable external reference range, PLL input range and maximum system clock frequency. Then mark every destination of the reference clock in the clock tree. Adjust the UART in test firmware and see whether the bit width returns to normal. Also recalculate timer reload values, the system tick, communication timeouts and other peripherals fed by that branch using their respective input clocks.
The hardware substitution requires separate checks. Compare rated load capacitance, ESR and drive limits for both crystals, then retest startup after a full power cycle. State the applicable board revision and firmware version in the purchasing approval. A passing lab test will not help if the new component is listed as interchangeable and the warehouse still ships boards with the old firmware.
