CRServoF icon indicating copy to clipboard operation
CRServoF copied to clipboard

Any reason this will not work with raspberry pi pico

Open mjsharma opened this issue 3 years ago • 6 comments

I am just asking because I have a few picos with me. Just want to make sure that Pico is powerful enough to do this.

mjsharma avatar Oct 08 '21 07:10 mjsharma

I do not know I have never used a Pi Pico, but I would assume it would if the code updated to support the Pico's timer mechanism. I assume their UART can do 420000 baud, yes?

CapnBry avatar Oct 08 '21 12:10 CapnBry

https://raspberrypi.stackexchange.com/questions/9422/can-a-raspberry-pi-be-operated-at-more-than-115200-baud-rate-i-e-230400

Thanks for the prompt response. Really appreciate it. Looks like that may be outside the limits of pi pico.

mjsharma avatar Oct 08 '21 16:10 mjsharma

The Raspberry Pi and the Pi Pico (RP2040) are completely different things though.

CapnBry avatar Oct 08 '21 16:10 CapnBry

Ahh. Good catch.

supports a maximum baud rates of 921600 bps in UART mode. mentioned in https://datasheets.raspberrypi.org/rp2040/rp2040-datasheet.pdf

mjsharma avatar Oct 09 '21 03:10 mjsharma

I've tried running this library on the RP2040 (both the Pi Pico and Arduino Nano Connect) using both the Mbed core and the earlephilhower core and each time it compiles with no errors, but when run the boards go into an error state (4 short then four long flashes of the inbuilt led)

Any ideas what might be causing it/how to fix it?

James-Denton avatar Apr 03 '22 11:04 James-Denton

I've tried running this library on the RP2040 (both the Pi Pico and Arduino Nano Connect) using both the Mbed core and the earlephilhower core and each time it compiles with no errors, but when run the boards go into an error state (4 short then four long flashes of the inbuilt led)

There's no code to make it work with the RP2040? There's no environment for it, there's no target definition for it, and more importantly, this code doesn't do any blink patterns at all, so I have nothing to base my advice on to you.

That said, this is probably possible since the RP2040 appears to be able to actually do 420000 baud since it works with CrsfJoystick without any extra work.

CapnBry avatar Apr 04 '22 11:04 CapnBry