fpga: Update UART baud rate to 250 kbaud/s
This commit is contained in:
parent
876693ca5f
commit
b06ccdda2a
@ -22,7 +22,7 @@ entity top is
|
||||
-- System configuration
|
||||
F_CLK : integer := 25000000;
|
||||
F_CLK_PHY : integer := 50000000;
|
||||
UART_BAUD : integer := 19200
|
||||
UART_BAUD : integer := 250000
|
||||
);
|
||||
port(
|
||||
clk_50m : in std_logic; -- System clock
|
||||
|
@ -17,7 +17,7 @@ from ast import literal_eval
|
||||
def eprint(*args, **kwargs):
|
||||
print(*args, file=sys.stderr, **kwargs)
|
||||
|
||||
ser = serial.Serial('/dev/ttyUSB0', 19200, timeout=2)
|
||||
ser = serial.Serial('/dev/ttyUSB0', 250000, timeout=2)
|
||||
|
||||
def sread(address, length, quiet = False):
|
||||
if not quiet:
|
||||
|
Loading…
Reference in New Issue
Block a user