Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

First character sent to the UART is smashed #30

Closed
BrunoLevy opened this issue Jan 17, 2021 · 2 comments
Closed

First character sent to the UART is smashed #30

BrunoLevy opened this issue Jan 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@BrunoLevy
Copy link
Owner

No description provided.

@BrunoLevy BrunoLevy added the bug Something isn't working label Jan 17, 2021
@BrunoLevy
Copy link
Owner Author

Found out: in uart verilog, send_pattern should be initialized to 1 so that first value of the stop bit is correct.

@Mecrisp
Copy link
Contributor

Mecrisp commented Jan 27, 2021

I confirm that send_pattern = 1; solves the smashed character. However, the short Reset delay sometimes also produced wrong characters directly after boot, so I reverted to reg [7:0] reset_cnt = 0;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants