criscecconello
New member
Hi,
I am intend to use 4 SPI devices and I would like to use 2 SPI in Teensy 4.1, but I would like to confirm the pins if am right or not.
SPI0 - 2 devices
MOSI0 - PIN 11
MISO0 - PIN 12
SCK0 - PIN 13
CS0 - PIN 10 (for the first device)
CS0-1 - PIN 37 (for the second device)
SPI1 - 2 devices
MOSI1 - PIN 26
MISO1 - PIN 1
SCK1 - PIN 27
CS1 - PIN 0 (for the third device)
CS1-1 - PIN 38 (for the fourth device)
Am I right with these pins configurations? In my case, how I set up CS pin in code for the second device and the fourth device?
Thanks for your support.
I am intend to use 4 SPI devices and I would like to use 2 SPI in Teensy 4.1, but I would like to confirm the pins if am right or not.
SPI0 - 2 devices
MOSI0 - PIN 11
MISO0 - PIN 12
SCK0 - PIN 13
CS0 - PIN 10 (for the first device)
CS0-1 - PIN 37 (for the second device)
SPI1 - 2 devices
MOSI1 - PIN 26
MISO1 - PIN 1
SCK1 - PIN 27
CS1 - PIN 0 (for the third device)
CS1-1 - PIN 38 (for the fourth device)
Am I right with these pins configurations? In my case, how I set up CS pin in code for the second device and the fourth device?
Thanks for your support.