![]() |
Forum Index : Microcontroller and PC projects : PSRAM PIN
Author | Message | ||||
ville56 Senior Member ![]() Joined: 08/06/2022 Location: AustriaPosts: 220 |
I've upgraded a Waveshare RP2350 with a PSRAM chip.Tried it first on GP8 and it worked successfully. Then I moved the CS signal to GP19. When setting the option I got the following error: > option psram pin gp19 Error : Invalid pin for PSRAM chip select (GP0,GP8,GP19,GP47) I've tried to use the pin number 25, same error. Strange enough, using GP20 or pinnr 26 works syntactically, but has no effect on the PSRAM usage in MMbasic. The pin and the PSRAM CS signal do work on gp20, as "setpin gp20, dout" immediately crashes the system as the PSRAM CS is pulled low ... quod erat demonstrandum I really need to move to GP19 (or GP20) because GP8 is used by the Pico-restouch-lcd and GP0 is used for serial I/O. Is this a bug or is GP19 for PSRAM CS just not implemented? Gerald 73 de OE1HGA, Gerald |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7857 |
The Datasheet states that pins GPIO0, GPIO8, GPIO19 or GPIO47 can be used as QMI CSn, i.e. to enable external QMI memory such as PSRAM. No others are possible. If GP19 is used as HSTX7 (i.e. for HDMI output) then it is no longer available. You can probably use it, but not if your system is using HDMI. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
ville56 Senior Member ![]() Joined: 08/06/2022 Location: AustriaPosts: 220 |
No HDMI or whatsoever in use. It's plain V6.00.01, flash reset and no options set. So I would consider it as a bug in this version as GP19 should be usable as PSRAM CS. 73 de OE1HGA, Gerald |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5056 |
What firmware is in the pico2. Please show OPTION LIST. Normally gp19 should work also. Maybe a conflict in configuration. Volhout PicomiteVGA PETSCII ROBOTS |
||||
ville56 Senior Member ![]() Joined: 08/06/2022 Location: AustriaPosts: 220 |
Version is V6.00.01 (latest). For me it seems as a bug in the firmware, as it does not accept GP19 as valid parameter (see errormessage in my first post). No options whatsoever are in effect. 73 de OE1HGA, Gerald |
||||
Mixtel90![]() Guru ![]() Joined: 05/10/2019 Location: United KingdomPosts: 7857 |
Exactly which version though? That is shown on the OPTION LIST. It will also show if GP19 is being allocated to anything else on boot. Also try SETPIN GP19, OFF before anything else. Mick Zilog Inside! nascom.info for Nascom & Gemini Preliminary MMBasic docs & my PCB designs |
||||
Volhout Guru ![]() Joined: 05/03/2018 Location: NetherlandsPosts: 5056 |
hi ville56, Reason for asking OPTION LIST is that it shows (top line) the exact firmware version you have in the pico2. There are 12 versions, and maybe...just maybe....you have programmed one that prevents use of gp19. And maybe it is just a bug... possible, because 8 and 47 have been tested before the release of 6.00.01, and 19 not. The error text also indicates gp19 is not capable of controlling PSRAM (which it is) , and not that it is not free to use for controlling PSRAM. It could be a bug. Volhout EDIT: duplicated on 2350 . it seems to be a bug. Edited 2025-01-12 03:32 by Volhout PicomiteVGA PETSCII ROBOTS |
||||
matherp Guru ![]() Joined: 11/12/2012 Location: United KingdomPosts: 10232 |
It's a typo/bug. I'll put it on the list |
||||
ville56 Senior Member ![]() Joined: 08/06/2022 Location: AustriaPosts: 220 |
Thanks Peter 73 de OE1HGA, Gerald |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |