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

The time interval between 2 frame is not stable. #304

Open
JackZhouSz opened this issue Nov 1, 2024 · 0 comments
Open

The time interval between 2 frame is not stable. #304

JackZhouSz opened this issue Nov 1, 2024 · 0 comments

Comments

@JackZhouSz
Copy link

Using libserial,

  1. I send one frame with write, wait for write to return, sleep for 1 ms
  2. then send the second frame, wait for write to return, and sleep again,
  3. repeating this process.
    However, the oscilloscope captures show that the time intervals sometimes measure 160 us.

Why is that? ideallythe write function is sync, the time intervals should be 1ms. Could you help me to find the cause

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant