Reassigning a pin (SPI SCK)

Status
Not open for further replies.
Reassigning pin 27 (SPI1 clock) Teensy 4.0

SPI.setSCK(14);
and there's also SPI.setMOSI(7) if you need it.

Pete

Hello
In my project with Teensy 4.0 I need SPI and SPI1
My initial wiring for SPI1 used pin 27 for clock signal. Unfortunately I damaged the pad (when I removed the Teensy from breadboard) and now is not working.
How can I reassign pin 27 (and eventually also the 26-MOSI) ? Is there a special procedure and/or limitations, and if so where can be found ?
I do not use SD card interface
I read the i.MX RT1060 Processor Reference Manual revision 2, chapter 10 and I found this:
LPSPI1_SCK GPIO_SD_B0_00 ALT4
LPSPI1_SCK GPIO_EMC_27 ALT3
So probably means it can be redirected to GPIO_SD_B0_00 ALT4.
Thank you in advance
Leo
 
Status
Not open for further replies.
Back
Top