# HG changeset patch # User Jacob Alexander # Date 1417856136 28800 # Node ID 8c1b731d00b16487bd19e49361c810033811132d # Parent da0e842a83bdf181167a00d002ee9aa98ba9b489 Fixing pinout diff -r da0e842a83bd -r 8c1b731d00b1 Scan/MD2/pinout --- a/Scan/MD2/pinout Sat Dec 06 00:35:39 2014 -0800 +++ b/Scan/MD2/pinout Sat Dec 06 00:55:36 2014 -0800 @@ -1,7 +1,7 @@ Pin Usage ========= -mk20dx128vlf5 +mk20dx256vlh7 ---- |Keys| @@ -9,19 +9,101 @@ * Strobe (Columns) -PTB0 -PTB1 +TODO + +* Sense (Rows) + +TODO + + + ----- +|Clock| + ----- + +PTA18 <-> PTA19 + + + --- +|I2C| + --- + +* Main - Connect to all ISSI Chips - Also break out header for debugging + +PTB0 - SCL0 +PTB1 - SDA0 + +* Reserve - Might be used later if I2C bus is too slow with more than 1 ISSI chip + +PTE0 - SDA1 +PTE1 - SCL1 + +* ISSI Control (enough pins for 3 chips reserved) + +PTC0 - INTB Chip 1 +PTC1 - INTB Chip 2 +PTC2 - INTB Chip 3 (Only needed if more than 96 RGB LEDs are required) + +PTA4 - SDB (tied to tall Chips, hardware shutdown) + + + --- +|DAC| + --- + +DAC0 (N/C) + + + ---- +|UART| + ---- + +* Comm - Will be used on split keyboards + +PTC3 - RX1 (N/C) +PTC4 - TX1 (N/C) + + + ----- +|Debug| + ----- + +* SWD - (Main reflash header) + +PTA0 (Pull-down) +PTA3 (Pull-up) + +* LEDs + +PTA5 (LED only for PCB, not Teensy) + +* UARTs + +PTA1 - RX0 (UART Debug Header) +PTA2 - TX0 (UART Debug Header) + + + ------ +|Unused| + ------ + +* GPIO + +PTA12 +PTA13 PTB2 PTB3 PTB16 PTB17 -PTC4 +PTB18 +PTB19 PTC5 +PTC6 +PTC7 +PTC8 +PTC9 +PTC10 +PTC11 PTD0 - - -* Sense (Rows) - PTD1 PTD2 PTD3 @@ -30,46 +112,7 @@ PTD6 PTD7 - - ----- -|Debug| - ----- - -* SWD - -PTA0 (Pull-down) -PTA3 (Pull-up) - -* LEDs - -PTA19 (LED only for PCB, not McHCK) (XTAL) - -* UARTs - -PTA1 - RX0 -PTA2 - TX0 - - - ------ -|Unused| - ------ - -* GPIO - -PTA1 (Not broken out on PCB, available on McHCK) (Pull-up) -PTA2 (") -PTA4 (Pull-up) -PTA18 (EXTAL) - -PTC0 -PTC1 -PTC2 -PTC3 -PTC6 -PTC7 - * Analog -ADC0_DP0 -ADC0_DM0 +TODO