OpenCores
URL https://opencores.org/ocsvn/uart_fpga_slow_control_migrated/uart_fpga_slow_control_migrated/trunk

Subversion Repositories uart_fpga_slow_control_migrated

[/] [uart_fpga_slow_control/] [trunk/] [documents/] [set_baudrate.txt] - Blame information for rev 13

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 13 aborga
 
2 6 aborga
How to set the baud rate:
3
 
4
the code comes preprogrammed at 921600 bps (1 Mbps)
5
 
6
to change the speed edit the content of the WRITE_DIVLTC register
7
line 359 of the ab_uart_lbus_slave.vhd
8
 
9
v_data_init         <= "00000010";   -- DEC 2 Baudrate = 921600 bps @ 29,4912 MHz
10
 
11 10 aborga
other popular baudrates:
12 6 aborga
 
13 10 aborga
v_data_init         <= "00000100";   -- DEC 4 Baudrate = 230400 bps @ 29,4912 MHz
14
v_data_init         <= "00001000";   -- DEC 8 Baudrate = 115200 bps @ 29,4912 MHz
15
....
16 6 aborga
 
17 13 aborga
------------------------------------------------
18 6 aborga
 
19 13 aborga
Other useful UART default parameters:
20 10 aborga
 
21 13 aborga
8 bit
22
no parity
23
1 stop bit
24
no hardeare flow control
25
no software flow control
26
 
27
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.