Hi, sorry if this has been asked before, searched but couldn't find.
Starting from Teensy LC processor's datasheet (https://www.pjrc.com/teensy/KL26P64M48SF5.pdf) under "5.1 KL26 Signal Multiplexing and Pin Assignments" it says QFN48 package pin 33 and 39, names PTC0 and PTC6, have as ALT3 function one signal I'm interested in.
Now that I know to use either PTC0 or PTC6, I'd like to set CORE_PIN<what?>_CONFIG PORT_PCR_MUX(3) to chose ALT3.
How can I look up the "core pin" number of PTC0? Are they also somewhere in the datasheet?
I already searched existing headers for PTC0. A hit in SPIFIFO.h suggests pin is 15. Where does this 15 come from? In addition this search hit chooses PORT_PCR_MUX(2), but ALT2 according to the datasheet has no function. That means SPIFIFO.h is perhaps not correct for Teensy LC (__MKL26Z64__). What is a more reliable way to figure out the "core pin"?
Starting from Teensy LC processor's datasheet (https://www.pjrc.com/teensy/KL26P64M48SF5.pdf) under "5.1 KL26 Signal Multiplexing and Pin Assignments" it says QFN48 package pin 33 and 39, names PTC0 and PTC6, have as ALT3 function one signal I'm interested in.
Now that I know to use either PTC0 or PTC6, I'd like to set CORE_PIN<what?>_CONFIG PORT_PCR_MUX(3) to chose ALT3.
How can I look up the "core pin" number of PTC0? Are they also somewhere in the datasheet?
I already searched existing headers for PTC0. A hit in SPIFIFO.h suggests pin is 15. Where does this 15 come from? In addition this search hit chooses PORT_PCR_MUX(2), but ALT2 according to the datasheet has no function. That means SPIFIFO.h is perhaps not correct for Teensy LC (__MKL26Z64__). What is a more reliable way to figure out the "core pin"?