cyw43_driver: explicitly init clock pin? #1141

Closed
opened 2022-12-12 20:15:29 -06:00 by bruelltuete · 0 comments
bruelltuete commented 2022-12-12 20:15:29 -06:00 (Migrated from github.com)

Looking at https://github.com/raspberrypi/pico-sdk/blob/develop/src/rp2_common/cyw43_driver/cyw43_bus_pio_spi.c#L194, should this function also have a gpio_set_function(CLOCK_PIN, bus_data->pio_func_sel);?
Because the clock pin is shared with adc, so could have been left in that adc config. (i just tripped over that right now)

Looking at https://github.com/raspberrypi/pico-sdk/blob/develop/src/rp2_common/cyw43_driver/cyw43_bus_pio_spi.c#L194, should this function also have a `gpio_set_function(CLOCK_PIN, bus_data->pio_func_sel);`? Because the clock pin is shared with adc, so could have been left in that adc config. (i just tripped over that right now)
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-raspberrypi/pico-sdk#1141
No description provided.