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

uart_8051_irqdriven: more bytes received than emitted when echoing on stc12c5axx #89

Open
jnaulet opened this issue Mar 26, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jnaulet
Copy link
Owner

jnaulet commented Mar 26, 2024

When echoing chatacters on the main UART, some characters are replicated for some reason.
Usually the character sent 3/4 chars ago.

Tried without the scheduler running, same issue.

Tried without the FIFO (similar to the code provided in the reference manual), it's even worse.

Tried not echoing, just pissing '0', half the received characters are bad.

I noticed the TI bit goes up just after the last bit is transmitted (according to the doc), this might be a timing issue.

Tried to delay the sending of the character. Still no luck.

@jnaulet jnaulet added the bug Something isn't working label Mar 26, 2024
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

1 participant