Pi PICO SPI and I2C pin options in components

Any bugs you encounter with Flowcode should be discussed here.
Post Reply
jay_dee
Posts: 132
http://meble-kuchenne.info.pl
Joined: Sun Dec 20, 2020 6:06 pm
Has thanked: 47 times
Been thanked: 31 times

Pi PICO SPI and I2C pin options in components

Post 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!

LeighM
Valued Contributor
Posts: 401
Joined: Mon Dec 07, 2020 1:00 pm
Has thanked: 70 times
Been thanked: 217 times

Re: Pi PICO SPI and I2C pin options in components

Post 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 21 times
Raspberry_Pi_RP2040.fcdx
(46.03 KiB) Downloaded 18 times

Steve-Matrix
Matrix Staff
Posts: 1253
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 167 times
Been thanked: 277 times

Re: Pi PICO SPI and I2C pin options in components

Post 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!

jay_dee
Posts: 132
Joined: Sun Dec 20, 2020 6:06 pm
Has thanked: 47 times
Been thanked: 31 times

Re: Pi PICO SPI and I2C pin options in components

Post 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. :)

medelec35
Matrix Staff
Posts: 1451
Joined: Wed Dec 02, 2020 11:07 pm
Has thanked: 512 times
Been thanked: 472 times

Re: Pi PICO SPI and I2C pin options in components

Post 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
Martin

Post Reply