mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-02 22:25:00 -04:00
Raise bps to 62500
This commit is contained in:
parent
b8f1d4a083
commit
675fa1087f
3 changed files with 15 additions and 6 deletions
|
@ -24,9 +24,9 @@
|
|||
#include "Vapplication_fpga.h"
|
||||
#include "verilated.h"
|
||||
|
||||
// Clock: 18 MHz, 38400 bps
|
||||
// Divisor = 18*10E6 / 38400 = 468.75 ~ 469
|
||||
#define BIT_DIV 469
|
||||
// Clock: 18 MHz, 62500 bps
|
||||
// Divisor = 18E6 / 62500 = 288
|
||||
#define BIT_DIV 288
|
||||
|
||||
struct uart {
|
||||
int bit_div;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue