Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 05:31 21 Aug 2025 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Two SPI Options at Once?

Author Message
grroel.tech
Newbie

Joined: 09/12/2021
Location: Spain
Posts: 24
Posted: 12:28pm 17 Aug 2025
Copy link to clipboard 
Print this post

I have a Pico installed on a SeenGreat expansion board. The included SD card connector has defined pins, and there is a connector for a display that points to specific pins. Both use SPI, so I wonder, can two SPI buses be declared at the same time with OPTION SYSTEM?
 
matherp
Guru

Joined: 11/12/2012
Location: United Kingdom
Posts: 10364
Posted: 01:00pm 17 Aug 2025
Copy link to clipboard 
Print this post

No: but on 6.01.00 betas you can use OPTION LCD SPI for the LCD and OPTION SYSTEM SPI for the rest.
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2669
Posted: 01:11pm 17 Aug 2025
Copy link to clipboard 
Print this post

The SD card doesn't have to be on SYSTEM SPI either.
  Manual said  Dedicated I/O Pins
Alternatively, where no other devices share the SPI bus with the SD card it can be set up with:
OPTION SDCARD CS_pin, CLK_pin, MOSI_pin, MISO_pin
In this case the pins can be assigned completely flexibly and do not need to be capable of SPI operation but SD card performance will be better if valid SPI pins are chosen.
 
Mixtel90

Guru

Joined: 05/10/2019
Location: United Kingdom
Posts: 8004
Posted: 02:14pm 17 Aug 2025
Copy link to clipboard 
Print this post

{Bursts into tears on seeing yet another "load the system up with stuff on specific pins" system}


:)
Mick

Zilog Inside! nascom.info for Nascom & Gemini
Preliminary MMBasic docs & my PCB designs
 
Print this page


To reply to this topic, you need to log in.

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025