Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5103

MicroPython • Re: RP2350 compatibility with RP2040 micropython code

$
0
0
I dropped a Pi Pico 2 into a project I've had sitting around now. It has a bunch of Ws2812 LEDs and a touchscreen.

I selected v1.24.0-preview.201.g269a0e0e1 (2024-08-09) .uf2 as this was what came up after clicking on the pico 2

However the code that worked on the RP2040 fails in a number of different ways on the RP2350; I had expected this device to be more or less a 'drop in' replacement.

For instance this WS2812 code which works perfectly on the RP2040 causes the LEDs to flash and flicker wildly with the Pico 2.



Just a hunch - because it is an area I have never investigated - but rather than 'MicroPython' itself being the culprit, might it be that your embedded PIO stuff has different behaviour/timing on the new RP2350 hardware?



Micropython itself is not developed or supported by Raspberry Pi, so if the problem is with that firmware then somewhere like
https://github.com/orgs/micropython/discussions
or
https://github.com/micropython/micropython/issues
might be more fruitful?

Statistics: Posted by B.Goode — Sun Aug 18, 2024 5:01 pm



Viewing all articles
Browse latest Browse all 5103

Trending Articles