Hi Guys,
Started a FC Pi PICO project, added a CAN component.
Component Channel options are Software/ Channel 1 SPI0 / Channel 2 SPI1
Unfortuantly the CAN device we have on the bench (Waveshare CAN Module) has a fixed pinout.
MISO - GP4
CS - GP5 or GP19
CLK - GP6
MOSI - GP7
INT - GP21 or GP22
FC Pinout options for Channel1 SPI0 are,
MISO - GP4, GP16
CS - Anypin
CLK - GP2, GP18
MOSI - GP3 GP19
This seems to be a partial combination of SPI pins allowed by the possible PICO SPI pins ( unless as is usual I miss understand!)
PICO Pinouts from the Web give the following options.
MISO - GP0, GP4, GP16
CS - GP1, GP5, GP17
CLK - GP2, GP6, GP18
MOSI - GP3, GP7, GP19
Is there a technical reason why not all options are availibe?
Thanks, J.
Pi PICO SPI / CAN component pins in FC
-
- Posts: 132
- http://meble-kuchenne.info.pl
- Joined: Sun Dec 20, 2020 6:06 pm
- Has thanked: 47 times
- Been thanked: 31 times
-
- Valued Contributor
- Posts: 401
- Joined: Mon Dec 07, 2020 1:00 pm
- Has thanked: 71 times
- Been thanked: 217 times
Re: Pi PICO SPI / CAN component pins in FC
Try the attached, into
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PICO
(seems to work ok, one for the repo)
C:\ProgramData\MatrixTSL\FlowcodeV10\FCD\PICO
(seems to work ok, one for the repo)
- Attachments
-
- Raspberry_Pi_Pico.fcdx
- (40.96 KiB) Downloaded 267 times
Re: Pi PICO SPI / CAN component pins in FC
Thanks Leigh. That looks great in my FC10. I have yet to test on hardware but I'll have a play this weekend. Thanks Again. J.
OK Fantastic, just checked on some smashed together hardware. Getting CAN out. Thanks. Needs a bit of fudging on the Controller Oscillator value but thats a different post.
OK Fantastic, just checked on some smashed together hardware. Getting CAN out. Thanks. Needs a bit of fudging on the Controller Oscillator value but thats a different post.