UART not working after power on by 3V3_EN #10497
Replies: 4 comments 8 replies
-
I have to ask ... is 3V3_EN actually 5V tolerant? Is this some special function associated with 3V3_EN? |
Beta Was this translation helpful? Give feedback.
-
3V3_En is not a supply pin. If not by USB, you have to supply the board from the VSYS pin. You can then leave 3V3_EN open. It is internally pulled up by a resistor to VSYS. What I assume is, that if you supply at 3V3_EN, then there is some supply through the ESD protection circuit in the regulator. |
Beta Was this translation helpful? Give feedback.
-
The only reason to connect anything to |
Beta Was this translation helpful? Give feedback.
-
I have been able to reproduce it here, with Thonny and running from flash, using the reset/EN pin of the Pico instead of your way. I am using Putty with a FT232 USB-UART converter. With Thonny, it does run from the editor. But... When running from the internal flash, via REPL, importing the module and running the tst_uart_main() method (see below) I get the following error:
After removing the "machine." from the two instantiations:
Thonny does some weird things; it is funny it works at all when running from the editor. I modified the code a little while testing. Here it is.
I think it is not working when running from flash because of the first error above, but it still has the second error that I did not dig into. |
Beta Was this translation helpful? Give feedback.
-
Hi, so I've been using pico with MicroPython to be enabled by the 3V3_EN pin and then receive serial commands over UART1.
Test program is saved as main.py on the pico and runs on power up, as verified by flashing the onboard LED, however the UART is not working unless I use the 'run' through Thonny.
So to be clear, when using 'run' in Thonny, the device flashes the LED ten times then waits for UART input. Upon receiving input it turns the LED on and off as expected. All good...
When the device is powered on by pulling 3V3_EN high to 5V, the device flashes LED ten times and is running my test program however does not receive the UART commands.
When powered on by 3V3_EN, ground is common and device is not connected to Thonny.
The same behaviour is shown when using RUN pin.
Anybody else come across something like this?
Pico program:
Beta Was this translation helpful? Give feedback.
All reactions