Search found 7 matches

by rjw
Wed Jan 19, 2022 5:54 pm
Forum: General Discussion and Questions
Topic: Micropython UART doesn't work on Picos RP2040
Replies: 15
Views: 13428

Re: Micropython UART doesn't work on Picos RP2040

with a nearly 10 cm long breadboard cable,
and I checked it with an Ohm meter
by rjw
Wed Jan 19, 2022 5:34 pm
Forum: General Discussion and Questions
Topic: Micropython UART doesn't work on Picos RP2040
Replies: 15
Views: 13428

Re: Micropython UART doesn't work on Picos RP2040

and the patch wires ate fine?

I don't understand what you mean.
by rjw
Wed Jan 19, 2022 5:28 pm
Forum: General Discussion and Questions
Topic: Micropython UART doesn't work on Picos RP2040
Replies: 15
Views: 13428

Re: Micropython UART doesn't work on Picos RP2040

I tried it with the rshell, the same problem.

MicroPython v1.18-5-g037b2c72a-dirty on 2022-01-19; Raspberry Pi Pico with RP2040
Type "help()" for more information.
>>> import testUART2.py

No response at all.
by rjw
Wed Jan 19, 2022 5:03 pm
Forum: General Discussion and Questions
Topic: Micropython UART doesn't work on Picos RP2040
Replies: 15
Views: 13428

Re: Micropython UART doesn't work on Picos RP2040

Source: from machine import UART, Pin import time uart1 = UART(1, 9600, parity=None, stop = 1, bits = 8, tx=Pin(8), rx=Pin(9),timeout=10) uart0 = UART(0, 9600, parity=None, stop = 1, bits = 8, tx=Pin(0), rx=Pin(1),timeout=10) txData = b'hello world\n\r' uart1.write(txData) time.sleep(0.1) rxData = b...
by rjw
Wed Jan 19, 2022 4:15 pm
Forum: General Discussion and Questions
Topic: Micropython UART doesn't work on Picos RP2040
Replies: 15
Views: 13428

Re: Micropython UART doesn't work on Picos RP2040

You wrote in my summary of understanding by merging your 2 replies:

GPIO0 (Pin 1) to GPIO9 (Pin 12)
GPIO1 (Pin 2) to GPIO8 (PIN 12)

Is this a Typo too?
by rjw
Wed Jan 19, 2022 3:56 pm
Forum: General Discussion and Questions
Topic: Micropython UART doesn't work on Picos RP2040
Replies: 15
Views: 13428

Re: Micropython UART doesn't work on Picos RP2040

You wrote:
Works fine here, after connecting GPIO1 (Pin 1) to GPIO 8 (PIN 12).
GPIO0 (Pin 1) to GPIO9 (Pin 12) is required to communication the other way around.

My Question:

Why is GPIO1 AND GPIO0 assigned to PIN 1?
by rjw
Wed Jan 19, 2022 11:39 am
Forum: General Discussion and Questions
Topic: Micropython UART doesn't work on Picos RP2040
Replies: 15
Views: 13428

Micropython UART doesn't work on Picos RP2040

Hello, I'm an absolutely beginner in Micropython Programming. I don't know how I can ask for help. I have installed the latest firmware, by enabling UART support and I have taken the example from the Raspberry Pi Pico Python SDK. It doesn't work. After this I tried this code: from machine import UAR...