Replies: 1 comment 1 reply
-
I've just verified w/a Pimoroni PGA2350 using the Generic RP2350 that the upper pins work and I can get a I would guess you haven't actually set the right chip variant. Assuming that board really has the B variant with extra GPIO, use the menus to select |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I have a problem with using the upper I/O pins on the We Act Studio 2350 Core Board in the Arduino IDE. I have selected the "Generic RP2350" option in the IDE. I have been able to use the lower I/O pins to read files from a SD card as well as configure a FPGA. I can flash the LED (on I/O 25) using the standard Arduino pinMode and digitalWrite functions.
When I try to configure I/O 39 as an output pin and toggle it, there is no response from the pin. I have tried the standard pinMode and digitalWrite commands with no luck. I have even tried the different SDK functions. It seems that the gpio_set_dir_***** functions do nothing. When I try them for the LED pin, it will not flash. The gpio_put_masked_n function does flash the LED, however.
I assumed that using a generic 2350 would work, but apparently not. I would appreciate any insights anyone has.
Here are some snippets of code I have tried
pinMode(25, OUTPUT);
pinMode(39, OUTPUT);
// gpio_set_dir(25, true);
// gpio_set_dir_masked(1<<25, 1<<25);
// gpio_set_dir_out_masked(0b00000010000000000000000000000000);
// gpio_set_dir_out_masked64(1<<25);
while(1){
digitalWrite(FPGACMD_CSN, HIGH);
digitalWrite(25, HIGH);
// gpio_put(FPGACMD_CSN, true);
// gpio_put_masked_n(0, 1<<25, 1<<25);
// gpio_put_masked_n(1, 0b00000000000000000000000010000000, 0b00000000000000000000000010000000);
}
Thanks
Beta Was this translation helpful? Give feedback.
All reactions