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 loopback sample/test, designed for high data rate testing #60454

Open
nordicjm opened this issue Jul 17, 2023 · 1 comment
Open

UART loopback sample/test, designed for high data rate testing #60454

nordicjm opened this issue Jul 17, 2023 · 1 comment
Assignees
Labels
area: Samples Samples area: UART Universal Asynchronous Receiver-Transmitter Feature Request A request for a new feature

Comments

@nordicjm
Copy link
Collaborator

nordicjm commented Jul 17, 2023

Is your feature request related to a problem? Please describe.
At present, there is an "echo bot" sample in zephyr for the UART peripheral, this is fine as a simple sample but cannot really be used as much more than that, it changes messages that are received, it is not optimised for high throughput (and actually falls over very fast) and this is far worse if a USB CDC backend is used.

I have my own UART test utility and when I made some minor modifications to echo bot, was seeing a 48% error rate of received data.

Describe the solution you'd like
A sample that loops back the RX UART data to TX, with a configuration that is designed for high throughput, without appending/prepending anything to the data, so that it can also be used as a driver test sample (or test) application to check what the sustained data rate is, and error rate.

Describe alternatives you've considered
None

@nordicjm nordicjm added Feature Request A request for a new feature area: UART Universal Asynchronous Receiver-Transmitter area: Samples Samples labels Jul 17, 2023
@dcpleung
Copy link
Member

dcpleung commented Feb 8, 2024

I think the echo_bot is reading from FIFO 1 byte at a time... so it might be the bottleneck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Samples Samples area: UART Universal Asynchronous Receiver-Transmitter Feature Request A request for a new feature
Projects
None yet
Development

No branches or pull requests

3 participants