-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
HardwareSerial::end() won't detach RX/TX from IO MUX when it is executed isolated #8573
Labels
Milestone
Comments
VojtechBartoska
moved this to Under investigation
in Arduino ESP32 Core Project Roadmap
Aug 28, 2023
VojtechBartoska
added
Peripheral: UART
Status: Needs investigation
We need to do some research before taking next steps on this issue
labels
Aug 28, 2023
VojtechBartoska
moved this from Under investigation
to Todo
in Arduino ESP32 Core Project Roadmap
Aug 28, 2023
Task update:
|
This was referenced Sep 8, 2023
Merged
VojtechBartoska
added
Status: Review needed
Issue or PR is awaiting review
and removed
Status: Needs investigation
We need to do some research before taking next steps on this issue
labels
Oct 4, 2023
github-project-automation
bot
moved this from In Review
to Done
in Arduino ESP32 Core Project Roadmap
Oct 6, 2023
The final solution was to edit the helper header file in OneWire library and change to <33 pin number limit maximum to any number. (Suggested by someone in this repository !) GPIO 43 and 44 now work with the dallas semiconductor temperature sensor! I notified the authors of OneWire with An Issue and offered to make a PR, but no response. thanks for all of your help, it is resolved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using, for instance, ESP32S3 GPIO 43 and/or GPIO44 for OneWire:
GPIOs 43 and 44 are default UART pins.
The issue seems related to being able to detach the GIPOs 43 and 44 from IO Mux and UART.
The execution of
Serial0.end()
shall do it, but I read the code again and realized that because, it has never been initialized, it also doesn't run the code to detach the IO MUX.Therefore, @teastainGit, please try you code in this way:
Originally posted by @SuGlider in #8324 (comment)
The text was updated successfully, but these errors were encountered: