A serial concentrator uses a MAX14830 to connect four instruments. One port logs at 921600 baud and another is fixed by a legacy protocol at 250000 baud. Earlier tests covered only 115200, so the configuration record simply says the crystal is suitable for UART. The design team wants to share a 24 MHz active source and sourcing has proposed a traditional UART frequency. Compare both against all four port rates before selecting the part.
Establish the fREF seen by the four baud generators
The MAX14830 clock path includes a crystal oscillator input, predivider, PLL and baud generator. The datasheet specifies a 1 to 4 MHz crystal, a 0.5 to 35 MHz external clock, and a 96 MHz maximum fREF for the baud generator. An external clock drives XIN with XOUT left open. An appropriate crystal goes between XIN and XOUT for crystal oscillator operation. These are different ordering requirements. With a predivider and PLL in use, calculate the bit rates using the actual fREF at the baud generators. The oscillator marking alone does not establish fREF. Analog Devices MAX14830 datasheet, clock path and operating limits
Distinguish the board clock from the frequency described to the driver. A driver can use board clock information and apply a predivider or PLL. A Linux log can report both a declaration of a 3.6864 MHz crystal and a separate base_baud value from another part of the stack. In a public debugging discussion, the developer declared a 3686400 Hz crystal and had multiple ttyMAX devices enumerated, yet still had receive problems. Record the device tree, driver version, hardware port and register readback to identify what the software actually selected. Analog Devices MAX310x Linux driver documentation Toradex MAX14830 receive troubleshooting discussion
Changing the reference can change which port is exact
In 16× mode, baud rate is fREF ÷ [16 × (DIV + FRACT ÷ 16)]. DIV is the integer part and four-bit FRACT adds steps of one sixteenth. With a bypassed 24 MHz source, 250000 baud needs DIV 6 and FRACT zero. For 921600 baud, the ideal total divider is about 1.6276. DIV 1 and FRACT 10 give 1.625 and approximately 923076.9 baud, or +0.1603%. This offset comes from the divider grid and remains with a tighter oscillator of the same nominal frequency. MAX14830 datasheet, Fractional Baud-Rate Generators
With a bypassed 14.7456 MHz active source, DIV 1 and FRACT zero give nominally exact 921600. At 250000 the ideal divider is 3.6864. The closest grid value is 3.6875, corresponding to DIV 3 and FRACT 11. The result is about 249925.4 baud, or −0.0298%. Both references are within the external frequency range. Any candidate still has to meet the input electrical requirements. The choice depends on the error allowed at each port and the supplier's actual specification. The comparison also shows which port benefits when the source changes and which retains a divider error.
If both rates must be exact, start with an integer check. At 16×, the equation becomes fREF ÷ (16 × DIV + FRACT), with an integer denominator. An fREF that gives exactly 921600 and 250000 must be a common integer multiple. The least common multiple is 576 MHz, beyond the generator's specified 96 MHz. This result applies to the two requested nominal rates and this mode. It gives a reason to set a realistic error allowance before trying every supported reference. Evaluate 2× and 4× modes separately against the clock formula, sampling and interface requirements.
Track signs when combining divider and peer clock errors. Suppose the 24 MHz source has a total error of ±25 ppm and the peer may run 500 ppm slow at 921600 baud. The positive divider error is about 1603 ppm. Adding the worst clock directions as a small-error approximation gives a relative error of roughly 2128 ppm, or 0.213%. The link allowance still depends on frame length, sampling settings, waveform integrity and the instrument's own specification. A 25 ppm oscillator quote does not define the system error budget.
Relate the baud calculation to the test pin and the actual protocol
CLKtoRTS can route the baud generator clock to a diagnostic pin. In standard mode its mean frequency is 16 times the baud rate. The 921600 port in the 24 MHz example gives approximately 14.769 MHz. The nonzero fractional divisor makes individual periods irregular, as the datasheet notes. Send an alternating pattern on TX, record the RTS period distribution and the average TX bit width, and compare both with the peer's ability to receive long frames. If RTS normally controls flow or direction, arrange a separate test path and restore the production function afterwards. MAX14830 datasheet, CLKtoRTS and fractional timing
Use a repeatable traffic script to qualify each sourced candidate. Start one port at a time with the same clock configuration and cable, then exercise all four together. A UART port meeting its baud requirement does not establish that the host can service four FIFOs over SPI or I²C. Use the protocol's framing, length and checksum to distinguish corrupt characters from dropped data. Analog Devices also notes that changing baud or clock settings during reception can disrupt receive operation. Pause traffic before switching, check the buffers and verify the first valid frames after restarting. Analog Devices guidance on MAX14830 receive operation and clock changes
Use the same traffic pattern for one-port and four-port acceptance, and capture gaps and run times by port. If the bit width is already wrong at light load, verify clock routing and dividers first. If mean bit width is right and failures appear only during simultaneous use, correlate host queue servicing with continuous UART traffic. Those measurements can distinguish clock configuration, receive sampling and host scheduling.
Keep two purchase and qualification records. State whether the input is a crystal or an active source, along with frequency, output type, supply and total frequency error over temperature. In a matching table, record actual fREF, sampling mode, integer and fractional divider, predicted and measured rates and both endpoints' tolerances for all four ports. A new instrument or replacement oscillator can then be assessed against the divider grid and simultaneous traffic requirements. For a crystal assembly, retain the load conditions and evidence of clock readiness on a cold boot.
