Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8374

SDK • Re: spi_read_blocking isn't outputting on MOSI line like it says in the SDK

$
0
0
How did you connect the wires on MISO, MOSI?
Who is putting data on Channel 6 SPI-MISO?

Be aware that the GPIO pin:
gpio_set_function(PICO_DEFAULT_SPI_TX_PIN, GPIO_FUNC_SPI);
is always transmitting, in master mode is MOSI (master out), but in slave mode it becomes MISO (slave out), always out.

The other way around with gpio_set_function(PICO_DEFAULT_SPI_RX_PIN, GPIO_FUNC_SPI);

Statistics: Posted by gmx — Wed Jan 21, 2026 5:33 pm



Viewing all articles
Browse latest Browse all 8374

Trending Articles