Teensy 3.1 microcontroller replacement

Comparing Figure 31. K22 64 LQFP Pinout Diagram in that datasheet with Figure 27. K20 64 LQFP/QFN Pinout Diagram in the K20 subfamily datasheet indicates they are both LQFP64 devices and the pinouts appear to be very similar. There is a list of differences between K22 and K20 pinouts on page 63 of the datasheet you linked to:

The analog input signals ADC0_DP2 and ADC0_DM2 on PTE2 and PTE3 are available only for K21 and K22 devices and are not present on K10 and K20 devices.
• The TRACE signals on PTE0, PTE1, PTE2, PTE3, and PTE4 are available only for K11, K12, K21, and K22 devices and are not present on K10 and K20 devices.
• If the VBAT pin is not used, the VBAT pin should be left floating. Do not connect VBAT pin to VSS.
• The FTM_CLKIN signals on PTB16 and PTB17 are available only for K11, K12, K21, and K22 devices and is not present on K10 and K20 devices. For K22D devices this signal is on ALT7, and for K22F devices, this signal is on ALT4.
• The FTM0_CH2 signal on PTC5/LLWU_P9 is available only for K11, K12, K21, and K22 devices and is not present on K10 and K20 devices.
• The I2C0_SCL signal on PTD2/LLWU_P13 and I2C0_SDA signal on PTD3 are available only for K11, K12, K21, and K22 devices and are not present on K10 and K20 devices.

My understanding is that the Mini54 programming had to be altered to support Teensy 3.1 and thus, I would assume that MK22FX512VLH12 would not be supported. The Mini54 programming is proprietary to PJRC, to control unlicensed cloning and to allow the rest of the software and hardware to be openly documented.
 
Back
Top