Page 1 of 1

Pi PICO SPI and I2C pin options in components

Posted: Thu Feb 08, 2024 11:37 am
by jay_dee
Hi FC team, Just working through the Pi PICO IO and compatability with current FC SPI, I2C and UART components.
A) *** SPI Pins ***
SPI 0 - In a previous post another user help modify the CAl so that all SPI 0 Pins could be read, is this updated in the official Cal?
Rx MISO GP0, GP4, GP16
Tx MOSI GP3, GP7, GP19
Sck CLK GP2, Gp6, GP18

SPI 1 - Are the SPI1 pins correct, I'm getting option of A5,A6,A7 in SPI component. which I dont think is correct.
Rx MISO GP8, GP12 A6?
Tx MOSI GP11, GP15 A7?
Sck CLK GP10, GP14 A5?

B) *** I2C Pins ***
I2C 0 (FC Channel 1)
SDA GP0, GP4, GP8, GP12, GP16, GP20 - I think A8 is missing from i2C Cal.
SCL GP1, GP5, GP9, GP13, GP17, GP21 - I think A9 is missing from i2C Cal

I2C 1 (FC Channel 2)
SDA GP2, GP6, GP10, GP14, GP18, GP26 - I think A18 is missing from i2C Cal.
SCL GP3, GP7, GP11, GP15, GP19, GP27 - I think A19 is missing from i2C Cal.

Thanks, John. :) Keep up the great work guys!

Re: Pi PICO SPI and I2C pin options in components

Posted: Fri Feb 09, 2024 10:15 am
by LeighM
Good spot :D
Here's a couple of updates that the Matrix team can drop into the repo to save the good lads some time :D
Raspberry_Pi_Pico.fcdx
(41.01 KiB) Downloaded 592 times
Raspberry_Pi_RP2040.fcdx
(46.03 KiB) Downloaded 636 times

Re: Pi PICO SPI and I2C pin options in components

Posted: Fri Feb 09, 2024 10:22 am
by Steve-Matrix
LeighM wrote:
Fri Feb 09, 2024 10:15 am
Good spot :D
Here's a couple of updates that the Matrix team can drop into the repo to save the good lads some time :D
Raspberry_Pi_Pico.fcdx
Raspberry_Pi_RP2040.fcdx
Thanks, Leigh. You're a star!

Re: Pi PICO SPI and I2C pin options in components

Posted: Fri Feb 09, 2024 10:26 am
by jay_dee
Thanks Leigh, I'm still using the first one you did. The second is fantastic.
A rocky start for me with the PICO but its proving to be a solid drop in module. :)

Re: Pi PICO SPI and I2C pin options in components

Posted: Fri Feb 09, 2024 3:23 pm
by medelec35
Steve-Matrix wrote:
Fri Feb 09, 2024 10:22 am
Thanks, Leigh. You're a star!
I could not agree more.
Thanks Leigh, I have just added your updated files for Ben to push :D