-
Notifications
You must be signed in to change notification settings - Fork 7.6k
ESP32 Dev Module Hardware Serial doesn't work well in 3.0.0 version of boards #9783
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
Comments
@hojanico19 - In order to investigate this issue, we need more information about how to reproduce such problem. One good way to allow us to assist you would be by providing a basic sketch that could be used to see the issue and test a possible fix. |
Please specify the sensor. Is there any open Library that we can use to reproduce the issue?
Please provide a minimum Arduino sketch that could be used to reproduce the issue. |
I read directly de hexadecimal and then I calculate the response. The ESP32 only read the serial info, when I use 3.0.0 the hexadecimal is wrong. I can't share more info because my company restrict it. But you can reply it sending hexadecimal info since a device with 9600 bps and receive it by esp32, then verify that is that is correct. The rate of info es ten hexadecimal per 200 millisenconds |
Thanks for the explanation... but it is very hard to be able to reproduce such issue. Otherwise we can't help it. |
I've reproduced the error. I did this:
|
Thank you, @hojanico19 - I'll investigate this issue and post here the findings. |
I am seeing the same with ESP32 Sparkfun Thing boards. I can record tests if needed. |
@me-no-dev Thanks, the workaround worked for us. I understand this probably will never be fixed for these boards? Just to know how to deploy the workaround, we have several of these boards around with users. |
@xopxe we do not plan support yet, though we might add it as board option for those that have it (like Sparkfun Thing) in the future. Depends on how many people are affected. It would still use that workaround if we do, so you are safe to start using it |
Created PR with support for SparkFun ESP32 Thing: #9844 |
@SuGlider Do you have news about it? @me-no-dev has closed this post with another post that is not the same, 'cause this post is for Espressif ESP32 |
With the workaround, I'm seeing weird behavior from RTOS timers. I can't pinpoint much because I'm using through a rather involved firmware (micro-ros). But the symptoms are that I have two timers, at 5Hz and 50Hz, triggering at around 2Hz (tough with a big variation), |
I have reopen it. I'll investigate it further. I'll post here the fndings. |
Perhaps related: I have an esp-idf project that has been maintained since 2018 and at some point (last year?), I had to start manually setting the "Main XTAL" setting at 26MHz in menuconfig. |
Generally the best solution is to have separate libs for 26MHz, but that is really too much. There are probably places where XTAL freq is not taken at runtime, but rather by the preprocessor and now they are causing some issues |
Hello, Due to the overwhelming volume of issues currently being addressed, we have decided to close the previously received tickets. If you still require assistance or if the issue persists, please don't hesitate to reopen the ticket. Thanks. |
Board
ESP32 DEV MODULE
Device Description
Hello, I always use ESP32 DEV MODULE for reading Hardware Serial of a sensor
Thanks
Hardware Configuration
Hardware Serial ESP32 DEV MODULE WORK FINE IN 2.0.17 VERSION
Version
v3.0.0
IDE Name
Arduino IDE
Operating System
Windows 10 and Ubuntu 24
Flash frequency
80 and 40
PSRAM enabled
yes
Upload speed
921600
Description
Hello, I always use ESP32 DEV MODULE for reading Hardware Serial of a sensor, but I've actualizaed to 3.0.0 version of boards, and this doesn't work anymore. When I downgrade to 2.0.17 this work completely. So, for now I will use board version 2.0.17. If yo need that I test that issue ask me, for me there is no problem.
Thanks
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: