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

SDK • Re: SPI Configuration PI / Pico

$
0
0
Hi all,
I need to correct my post. SPI-default-mode with WiringPi is not 3. Using the Function wiringPiSPISetup(CHANNEL, SPEED) Mode is set by default to 0. Using wiringPiSPISetupMode(CHANNEL, SPEED, 3) will set the mode to 3.
Then I found out that configuring a Pico as SPI-slave will only work with a PI as master with the Pico-SPI-mode set to 1 or 3. If Pico-SPI-mode is set to 1 then the master can only use SPI-Modes 1, 2 or 3. If Pico-SPI-mode is set to 3 then the master can only use SPI-Modes 0, 1 or 2.

Statistics: Posted by MarkusDaum23 — Thu Apr 10, 2025 12:37 pm



Viewing all articles
Browse latest Browse all 8023

Trending Articles