Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 21:09 08 Sep 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 : Just need to clarify a couple of things

Author Message
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 994
Posted: 04:19am 07 Sep 2025
Copy link to clipboard 
Print this post

I am setting up my first project for a 2350B development board upgrading from a 2040 project to get more i/o and have a couple of questions.

Firstly, am I right in assuming that Peter's labels SPI RX and SPI TX are Geoff's SPI MOSI and MISO respectively?

Secondly, can I allocate a dedicated SPI2 port for the SDCARD to avoid the CS clashing issue (and the additional circuitry)?  

OA47
 
phil99

Guru

Joined: 11/02/2018
Location: Australia
Posts: 2689
Posted: 05:11am 07 Sep 2025
Copy link to clipboard 
Print this post

SPI Rx (receive = in) is MISO (master in, slave out)
SPI Tx (transmit = out) is MOSI (master out, slave in)
as the MCU is the master and the device is the slave.

If you have 4 pins to spare for SPI2 there would not be any need have SPI2 as there will be no need to share the CS pin.  Any pin can be assigned to CS so each device can have it's own CS pin, so no clash..
 
OA47

Guru

Joined: 11/04/2012
Location: Australia
Posts: 994
Posted: 05:34am 07 Sep 2025
Copy link to clipboard 
Print this post

Thankyou Phil.

OA47
 
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