No teensey 3.6 pinout available?

Status
Not open for further replies.

fake-name

New member
I'm trying to find the actual hardware pinout of the teensy, and as far as I can tell, it's nowhere to be found.

By hardware pinout, I mean the mapping between microcontroller pins and the teensy pads.

I picked up a teensy to use as a convenient ARM dev board, with zero interest in using any of the arduino cruft (rather, just using the hardware directly), but as far as I can tell the only way to do that at the moment is to reverse engineer the teensy arduino compatibility layer.

In this case, I want to do fast atomic 8-pin updates, so I need to be able to figure out which pins are on which port (PTA,B,C,D,E, etc...).

A schematic would be ideal, but even a table mapping the arduino pin number things to the actual MCU ball would be plenty.
 
Last edited:
Doh' Well, don't I look smrt.

-----

In my defense, where the devil is the link to that page?

The homepage (https://www.pjrc.com/) has no link at all for "help", "support", or "documentation".

Clicking "Teensy USB Board" takes you to https://www.pjrc.com/teensy/index.html, which again has no references to anything documentation related.

Clicking the "Teensy 3.6" link takes you to http://www.pjrc.com/store/teensy36.html, which again has no links to anything documentation related.

Following the navigation breadcrumbs, I see that the schematic is under "Reference", which is... odd. As far as I've seen, I've never seen datasheets or docs under any subheading other then "Documentation" or "Documents". Maybe add some direct links to the documentation from the teensy page?
 
Last edited:
For anyone searching, here's the pin mapping as a csv.

Particularly, both PTC and PTD have nice contiguous chunks at the start of the port, which I'm guess is intentional (and totally win).


Arduweenie pin,Port,Pin in port
25,PTA,5
3,PTA,12
4,PTA,13
26,PTA,14
27,PTA,15
28,PTA,16
39,PTA,17
42,PTA,26
40,PTA,28
41,PTA,29
16,PTB,0
17,PTB,1
19,PTB,2
18,PTB,3
49,PTB,4
50,PTB,5
31,PTB,10
32,PTB,11
0,PTB,16
1,PTB,17
29,PTB,18
30,PTB,19
43,PTB,20
46,PTB,21
44,PTB,22
45,PTB,23
15,PTC,0
22,PTC,1
23,PTC,2
9,PTC,3
10,PTC,4
13,PTC,5
11,PTC,6
12,PTC,7
35,PTC,8
36,PTC,9
37,PTC,10
38,PTC,11
2,PTD,0
14,PTD,1
7,PTD,2
8,PTD,3
6,PTD,4
20,PTD,5
21,PTD,6
5,PTD,7
47,PTD,8
48,PTD,9
55,PTD,11
53,PTD,12
52,PTD,13
51,PTD,14
54,PTD,15
56,PTE,10
57,PTE,11
33,PTE,24
34,PTE,25
24,PTE,26
 
Nice table. Indeed the PJRC left column is difficult to navigate - a web search can be faster.

On this K66 BETA thread there is the initial accumulation of details. Not sure if the schematic got linked - that huge thread is aging.

That post #8 has a link to a running DOC of pins by MichaelMeissner and an excel sheet by KurtE that may have this data in some form.
 
Nice table. Indeed the PJRC left column is difficult to navigate - a web search can be faster.

On this K66 BETA thread there is the initial accumulation of details. Not sure if the schematic got linked - that huge thread is aging.

That post #8 has a link to a running DOC of pins by MichaelMeissner and an excel sheet by KurtE that may have this data in some form.

My spreadsheet (https://docs.google.com/spreadsheets/d/1LSi0c17iqtvpKuNSYksMG306_FpWdJcniSRR6aGNNYQ/edit?usp=sharing) does not list the physical pin numbers (PT<x>).
 
My spreadsheet does... There are several copies up on that beta thread.

This was generated from the sources plus the K66 manual.

Now assuming it does not go against your "arduino cruft" comments, you can find a lot of information in the <cores>/teensy3/core_pins.h file.
Look for: #elif defined(__MK64FX512__) || defined(__MK66FX1M0__)
Then there are defines like:
#define CORE_PIN0_BIT 16
...
#define CORE_PIN0_PORTREG GPIOB_PDOR

So you know know Arduino pin 0 is: B16
 
Status
Not open for further replies.
Back
Top