2350B GPIO > 30 Not working on custom board #3264
Replies: 1 comment
-
|
I had an input wired up wrong and it happened to be GPIO 31, and GPIO 30 happened to work. Unfortunately that aligns quite nicely with the pin difference between the A and B variants. So, it was a red herring. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a custom PCB with a 2350B chip on it. I am seemingly unable to take readings on any GPIO > 30. It is the exact same symptom as those described here, all the way down to the UARTS on GPIO > 30 working.
Now, I did not go through the full process of setting this board up with the makeboards file etc because I was hoping to just keep my setup local to my project. So I created a
boards/<name>.jsonfile with the following contents:{ "build": { "arduino": { "earlephilhower": { "boot2_source": "none.S", "usb_vid": "0x2E8A", "usb_pid": "0x000F" } }, "core": "earlephilhower", "cpu": "cortex-m33", "extra_flags": "-DARDUINO_DIRECT_FIT_DISPLAY -DARDUINO_ARCH_RP2040 -DUSBD_MAX_POWER_MA=250 ", "f_cpu": "150000000L", "hwids": [ ["0x2E8A", "0x00C0"], ["0x2E8A", "0x000F"] ], "mcu": "rp2350", "variant": "direct_fit_display" }, "debug": { "jlink_device": "RP2350_0", "openocd_target": "rp2350.cfg", "svd_path": "rp2350.svd" }, "frameworks": ["arduino"], "name": "Direct Fit Display", "upload": { "maximum_ram_size": 524288, "maximum_size": 16777216, "require_upload_port": true, "native_usb": true, "use_1200bps_touch": true, "wait_for_upload_port": false, "protocol": "picotool", "protocols": [ "blackmagic", "cmsis-dap", "jlink", "raspberrypi-swd", "picotool", "picoprobe" ] }, "url": "", "vendor": "Direct Fit" }And my
pins_arduino.hinside myvariants/<name>folder:I have also tried just a very minimal pins_arduino.h file and including generic/common.h at the bottom, also with no luck.
And my
platformio.inifile:I am wondering if there is
a) anything I'm missing or
b) if it's possible the issue is being caused by not going through the full process and having my board defined in the framework folder alongside all the other boards? I can do that, but was trying to avoid it since it's so project-specific. I'd prefer not to fork the entire repo just for my own private board to be created.
It really feels like somehow the board is still being build for a 2350A but all things I see so far point to it being for the B variant.
Beta Was this translation helpful? Give feedback.
All reactions