bossredman
Well-known member
The fact I am actually asking this question will show you my limited knowlwedge on this whole SPI thing - but...
on the Teensy 3.6 there are muiltple pins for each of the SPI functions (ie MISO - 0, 1 & 2 etc).
Can I mix SPI pin suffx mumbers in a project OR do the suffix numbers always have to match.
ie could I use:
MISO0, MOSI1, SCK0, CS0
or does it have to be:
MISO0, MOSI0, SCK0, CS0
or
MISO1, MOSI1, SCK1, CS1
or
MISO2, MOSI2, SCK2, CS2
Reason I ask is that a while ago I upgraded my project to use the 3.6.
That used a 20 x 4 LCD display (I/O pins 18-23).
And my switch inputs use I/O pins 2 -32 & midi IN/OUT pins 0 & 1.
So all pins on the lower side of the Teensy are being used.
But now got interested in using a TFT screen via SPI & to save having to do a whole load of re-wiring/soldering & re-coding it would be a lot easier for me if I can mix the pins?
As the top row of Teensy has MOSI1 only , SCK0 &1, MISO0 only, CS0 only.
on the Teensy 3.6 there are muiltple pins for each of the SPI functions (ie MISO - 0, 1 & 2 etc).
Can I mix SPI pin suffx mumbers in a project OR do the suffix numbers always have to match.
ie could I use:
MISO0, MOSI1, SCK0, CS0
or does it have to be:
MISO0, MOSI0, SCK0, CS0
or
MISO1, MOSI1, SCK1, CS1
or
MISO2, MOSI2, SCK2, CS2
Reason I ask is that a while ago I upgraded my project to use the 3.6.
That used a 20 x 4 LCD display (I/O pins 18-23).
And my switch inputs use I/O pins 2 -32 & midi IN/OUT pins 0 & 1.
So all pins on the lower side of the Teensy are being used.
But now got interested in using a TFT screen via SPI & to save having to do a whole load of re-wiring/soldering & re-coding it would be a lot easier for me if I can mix the pins?
As the top row of Teensy has MOSI1 only , SCK0 &1, MISO0 only, CS0 only.