I have now problem with RP2350B that is on Olimex RP2350-PICO2-XL board.
https://github.com/OLIMEX/RP2350-PICO2-XXL
https://www.olimex.com/Products/Raspber ... e-hardware
The problem is that GPIO26 is working only as input, I cannot use it as output in PIO state machine. When using as output, it very randomly would contain correct value. This same problem is with at least 2 boards.
There was no board specific h-file for this olimex board, so i just edited existing pico2.h file from sdk folder:
Changed from:
// --- RP2350 VARIANT ---
#define PICO_RP2350A 1
To:
// --- RP2350 VARIANT ---
#define PICO_RP2350B 1
#define PICO_RP2350A 0
I also added to c-code part (there is only one pio at the moment):
pio_set_gpio_base (pio0, 0);
I have for example used GPIO40-47 to test that those extra pins work from SIO side, so the compilation result shuold be for RP2350B and not for RP2350A, right?
GPIO19-GPIO26 are used as D7-D0 for Z80 bus via 74LVC245(tried another 74LVC245, so this is not faulty), and only this GPI026 is the problem when trying to output from it. Input from it is just fine. So what can be the problem? Configuration problem in SDK side? Bug in SDK? or RP2350B is faulty in both boards?
https://github.com/OLIMEX/RP2350-PICO2-XXL
https://www.olimex.com/Products/Raspber ... e-hardware
The problem is that GPIO26 is working only as input, I cannot use it as output in PIO state machine. When using as output, it very randomly would contain correct value. This same problem is with at least 2 boards.
There was no board specific h-file for this olimex board, so i just edited existing pico2.h file from sdk folder:
Changed from:
// --- RP2350 VARIANT ---
#define PICO_RP2350A 1
To:
// --- RP2350 VARIANT ---
#define PICO_RP2350B 1
#define PICO_RP2350A 0
I also added to c-code part (there is only one pio at the moment):
pio_set_gpio_base (pio0, 0);
I have for example used GPIO40-47 to test that those extra pins work from SIO side, so the compilation result shuold be for RP2350B and not for RP2350A, right?
GPIO19-GPIO26 are used as D7-D0 for Z80 bus via 74LVC245(tried another 74LVC245, so this is not faulty), and only this GPI026 is the problem when trying to output from it. Input from it is just fine. So what can be the problem? Configuration problem in SDK side? Bug in SDK? or RP2350B is faulty in both boards?
Statistics: Posted by popolon — Sun Feb 02, 2025 6:30 pm — Replies 0 — Views 7