Visible to Intel only — GUID: iga1404408607068
Ixiasoft
Visible to Intel only — GUID: iga1404408607068
Ixiasoft
10.2.12. Clock and Baud Rate Selection
The Soft-UART supports only one clock. The same clock is used on the Avalon® -MM interface and will be used to generate the baud clock that drives the serial UART interface.
The baud rate on the serial UART interface is set using the following equation:
Baud Rate = Clock/(16 x Divisor)
The table below shows how several typical baud rates can be achieved by programming the divisor values in Divisor Latch High and Divisor Latch Low register.
18.432 MHz | 24 MHz | 50 MHz | ||||
---|---|---|---|---|---|---|
Baud Rate | Divisor for 16x clock | % Error (baud) | Divisor for 16x clock | % Error (baud) | Divisor for 16x clock | % Error (baud) |
9,600 | 120 | 0.00% | 156 | 0.16% | 326 | -0.15% |
38,400 | 30 | 0.00% | 39 | 0.16% | 81 | 0.47% |
115,200 | 10 | 0.00% | 13 | 0.16% | 27 | 0.47% |