arduino / arduino/ArduinoCore-mbed

Raspberry pi pico unable to use 2 hardware serial ports (Serial1&2)

Open
#210 10 comments 0 reactions 0 assignees View on GitHub
RP2040 waiting for feedback
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

I was redirected here form platfromIO to open an issue about it.
( https://github.com/platformio/platform-raspberrypi/issues/3 )

I've been trying it read my gps module for a project and decided to use the pi pico for it, however even though it "sees" the connection (no check wire connection message) it receives no data.

i used the default "FullExampel" file from the TinyGPS library
i removed SoftwareSerial because there is no interrup.h file and replaced it with Serial1 (RP pi pico should be able to have 2 hardware serial connections)

GPS lock is established (red led)
![image](https://user-images.githubusercontent.com/53867268/116467214-bbc4b880-a86f-11eb-9f19-256214d30bf6.png)

data from serial console
![image](https://user-images.githubusercontent.com/53867268/116467282-cda65b80-a86f-11eb-8a11-0fc1627fa94b.png)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Raspberry Pi Pico Serial1 and Serial2 entry points and reproduce the report using TinyGPS's FullExample, replacing SoftwareSerial as described. Compare behavior with the linked PlatformIO issue and verify as done when both hardware serial ports can receive GPS data reliably on the Pico.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, raspberry-pi
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.