.
Hello
Is it possible to use SPI2 with Teensy 3.5?
I can not use SPI0 because it is connected to other hardware, and SPI1 is connected to the SD card (SDHC), so only SPI2 is free to use it (pin 43, 44, 45 and 46).
I do not know if it is possible to use SPI2, and in the same application also use SPI0. I need both, each connected to different hardware devices.
Its possible assign SPI2 with these commands, or these is only for alternative SPI0 pins ?.
SPI.setMOSI(44); // SPI2 MOSI, PTB22
SPI.setMISO(45); // SPI2 MISO, PTB23
SPI.setSCK(46); // SPI2 SCK, PTB21
Best regards
Hello
Is it possible to use SPI2 with Teensy 3.5?
I can not use SPI0 because it is connected to other hardware, and SPI1 is connected to the SD card (SDHC), so only SPI2 is free to use it (pin 43, 44, 45 and 46).
I do not know if it is possible to use SPI2, and in the same application also use SPI0. I need both, each connected to different hardware devices.
Its possible assign SPI2 with these commands, or these is only for alternative SPI0 pins ?.
SPI.setMOSI(44); // SPI2 MOSI, PTB22
SPI.setMISO(45); // SPI2 MISO, PTB23
SPI.setSCK(46); // SPI2 SCK, PTB21
Best regards
Last edited: