PSRAM crashes on 252MHZ overclock (set in code , not from the IDE menu) #2619
-
High. I am using a PICO2 Plus with PSRAM and running the Adafruit "PicoDVI" library. This library over-clocks the processor in code to 252Mhz to get the PIO outputting at the correct speed for DVI. I tried adding some PSRAM stuff (fame buffer takes up a lot of the normal RAM) and I am experiencing crashes. Is the PSRAM access speed set up from the IDE menu ? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
PSRAM is driven from arduino-pico/cores/rp2040/psram.cpp Lines 198 to 231 in ca30518 |
Beta Was this translation helpful? Give feedback.
-
Many Thanks. That did it, I changed the clock divider and it running ok . |
Beta Was this translation helpful? Give feedback.
-
252MHz is maybe Ok, but above 266MHz, need to change other things (rxdelay to 4 for example) |
Beta Was this translation helpful? Give feedback.
PSRAM is driven from
clk_sys
, so if you change that then you need to change the divider or it'll go out of spec and the PSRAM chip will probably go very badly. See:arduino-pico/cores/rp2040/psram.cpp
Lines 198 to 231 in ca30518