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

Question: Will the PR #75 works using async mode and/or when there is threads? #77

Open
beyonlo opened this issue Jul 3, 2023 · 0 comments
Labels
question Further information is requested

Comments

@beyonlo
Copy link

beyonlo commented Jul 3, 2023

Description

@brainelectronics The PR #75 fixed that hudge problem with timing/CRC errors. So I have two questions:

  1. When the @GimmickNG finish the PR Add asyncio support #56, will the PR Fix timing issues with UART communication #75 be transparent, I mean, will works in async Slave RTU mode as well?
  2. This question is more about my personal scenario: I'm using ESP32-S3 and I have all my applications (including async Slave TCP) running over uasyncio (waiting for just for the async Slave RTU), but I have one thread running concurrently with that async tasks. Well, as I know, the FreeRTOS give 20ms for each thread, so In theory I have 20ms for my thread and 20ms for my all uasyncio applications (main thread). Well, when I will use the async Slave RTU can that thread affect the correct timing fixed in the PR Fix timing issues with UART communication #75?

Thank you!

Reproduction steps

--

MicroPython version

v1.20.0

MicroPython board

ESP32

MicroPython Modbus version

2.3.5

Relevant log output

--

User code

--

Additional informations

--

@brainelectronics brainelectronics added the question Further information is requested label Jul 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants