-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESP32S3 UART output mode for Tx (#22426)
- Loading branch information
1 parent
490c48e
commit 57d8bea
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
57d8bea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shouldn't that be in TasmotaSerial (or even arduino core)? I guess this bites every serial user.
I happen to do my first project using S3s right now, so I just read about special pins yesterday. The S3 has some that are not even in gpio mode after boot. It is not enough to just set the direction (on IDF level). I think the S3 arduino core serial class should take care of this, but maybe it doesn't? What pin did you use?
Related info, including an esp function to print pin status: https://docs.espressif.com/projects/esp-idf/en/stable/esp32s3/api-reference/peripherals/gpio.html
57d8bea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree. I just needed a quick fix for now, and impacting the whole TasmotaSerial is not that impactless. It needs proper troubleshooting.
Actually it should be fixed in esp-idf or Arduino.
Edit: in my case it was GPIO 19/20
57d8bea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah, ok, these are the pins of the S3 builtin JTAG. Having to set pinMode is probably a fair reminder that you sacrifice debugging for serial :)
57d8bea
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah this is probably the reason. Those GPIOs were not my choice, but the choice of Seedstudio SenseCap.
In such case, I'm not sure how we should address this in TasmotaSerial