Replies: 2 comments
-
It turns out that @xyzzy42 had a patch to uart_machine.c that may fix the problem. I'll test it out. |
Beta Was this translation helpful? Give feedback.
-
This is likely a bug with every ESP32 peripheral supported by Micropython. The standard for ESP-IDF drivers is that It's not as huge a problem as it might seem, because using the pins for another peripheral will reconfigure them. And if the pins don't get re-used, then it doesn't break anything that there is an extra UART output or whatever on them. There are probably a ton of ESP32 based devices out there spewing EMI from unconnected pins that still have a signal on them. It's a problem here because there's no xtal peripheral that will be initialized and configure the pins to the correct mode. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Possible Bug
I’ve found a relatively nasty issue with the UART Mux on the ESP32-S3. I am testing this on a ESP32-S3-DevKitC-1 P2N8 and will eventually use the ESP32-S3-Mini.
I can assign UART0/1/2 to alternate pins. That works fine.
But the original IO pins are NOT disconnected. For example, assigning UART2 to IO39 (Tx) and IO38 (Rx) works fine. But the UART data also appears at the default IO17 and IO16. And this is particularly troubling as I plan to connect IO16 and IO15 to an external 32KHz crystal as per the data sheet.
It’s the same with UART0 and UART1. No matter which IO pin I use, the default IO remains.
Is this a bug, or is there something I'm missing?
There also seems to be a problem with uart.deinit() with Thonny. It throws an exception every time. Annoying, but I’m not using deinit at the moment.
Beta Was this translation helpful? Give feedback.
All reactions