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 10

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 6 aborga
How to set the baud rate:
2
 
3
the code comes preprogrammed at 921600 bps (1 Mbps)
4
 
5
to change the speed edit the content of the WRITE_DIVLTC register
6
line 359 of the ab_uart_lbus_slave.vhd
7
 
8
v_data_init         <= "00000010";   -- DEC 2 Baudrate = 921600 bps @ 29,4912 MHz
9
 
10 10 aborga
other popular baudrates:
11 6 aborga
 
12 10 aborga
v_data_init         <= "00000100";   -- DEC 4 Baudrate = 230400 bps @ 29,4912 MHz
13
v_data_init         <= "00001000";   -- DEC 8 Baudrate = 115200 bps @ 29,4912 MHz
14
....
15 6 aborga
 
16
 
17 10 aborga
 

powered by: WebSVN 2.1.0

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