Author Topic: Custom Keyboard TMK Firmware Help  (Read 1074 times)

0 Members and 1 Guest are viewing this topic.

Offline yehoshuaf

  • Thread Starter
  • Posts: 33
Custom Keyboard TMK Firmware Help
« on: Thu, 18 June 2015, 18:58:51 »
I'm having an issue on a new custom keyboard using a teensy and the TMK firmware. When I push the column 14 buttons, it's also activating the column 15 buttons on the same row.

This is my fourth custom keyboard using a teensy and the TMK firwmare, so I'm rather familiar with it.

I can rule out hardware for a few reasons:

- I tested everything! 5 times!
- When I swap the port for column 15 to 2 in the firmware, the problem exhibits itself on column 2, column 15 works fine
- When I manually short the pins the problem still occurs

Bad firmware build? I built it from scratch. 3 times.

I am using ports D5 and D4, which isn't normal for me, but these seem to be working fine. I also removed the LED code.
I tried swapping B2 to E6 (the weird one) and re-made the firmware, but the same problem occurred.

Please help! Any suggestion would be appreciated!

Here's the basics of the config (actual files attached too):

#define MATRIX_ROWS 6
#define MATRIX_COLS 17

/* Column pin configuration
 * col: 0   1   2   3   4   5   6   7   8   9   10  11  12  13 14 15 16
 * pin: F7  B6  B5  B4  D7  D4  D5  C7  C6  D3  D2  D1  D0  B7 B3 B2 B1
 */

/* Row pin configuration
 * row: 0   1   2   3   4  5
 * pin: B0  F0  F1  F4  F5 F6
 */

These are the modified files from the keyboard/gh60 that I used as a starting point. If you diff between mine and the gh60 files you can see my changes.

Offline yehoshuaf

  • Thread Starter
  • Posts: 33
Re: Custom Keyboard TMK Firmware Help
« Reply #1 on: Thu, 25 June 2015, 18:40:57 »
FYI, I got this to work after making several more TMK builds. Never again....

I used Soarer's firmware. So much easier to work with!