manna-harbour / crkbd

Crkbd Keymap by Manna Harbour (Extras). This keymap includes crkbd-specific hardware feature support. This repository provides additional content outside QMK.
209 stars 7 forks source link

Help to debug it (Almost there!) #3

Open Zeioth opened 3 years ago

Zeioth commented 3 years ago

Hi, I've soldered all components, and flashed the manna-harbout driver correctly, but the trackpoint doesn't work yet, so I'm measuring with a multimeter. This is the current I get:

On the driver board

RST (0.0V) GND (0.0V) VCC (4.33V) CLK (4.33V) DATA (4.33V)
2u2 -   2u2 +    
100k 100k      
    4k7 1/2   4k7 1/2
    4k7 2/2 4k7 2/2  
  GND (0V) VCC (4.33V) SCK (4.33V) SDA (4.33V)

On the trackpoint's 4 pins I get:

0.93V 0.93V 0.0V 1.93V

From this results, I find weird RST has 0.0V. Is this normal? On the trackpoint everything looks about right, but I don't have data to compare.

Zeioth commented 3 years ago

I flashed the drivers with the instructions you provided BTW

sudo make clean && sudo make crkbd:manna-harbour:avrdude-split-right MH_MODULE=trackpoint MH_AUTO_BUTTONS=yes MH_RGB=matrix LTO_ENABLE=yes
sudo make clean && sudo make crkbd:manna-harbour:avrdude-split-left MH_MODULE=oled MH_OLED_MODE=static MH_OLED_IMAGE=qmk.c MH_RGB=matrix LTO_ENABLE=yes
Zeioth commented 3 years ago

A couple photos

a1 a2

Zeioth commented 3 years ago

Just to be sure I made another driver board, and this time I'm getting this values:

driver board

RST (0.0V) GND (0.0V) VCC (4.25V) CLK (4.25V) DATA (0.05V)
2u2 - 2u2 +
100k 100k
4k7 1/2 4k7 1/2
4k7 2/2 4k7 2/2
GND (0V) VCC (4.25V) SCK (4.25V) SDA (0.05V)

trackpoint's controller:

DATA     RST     VCC       GRD     CLK
0.05v    0.0v    4.25v     0.0     4.25v

On the trackpoint's 4 pins I get:

0.0V 0.0V 0.0V 0.0V

driver board to controller: Most likely ok. Controller to trackpoint: Seems to be failing.

Researching...

EDIT: Nah, I think I fucked up the controller. It gets current but it doesn't reach the tp pads. At least the driverboard should be fine now. I'll tell you in 1 month when I get new trackpoints.

Zeioth commented 3 years ago

Also, I'm using unpolarized ceramic capacitors, that's probably causing problems too. I'm gonna try with "3216A 16V 2.2UF 225C" instead.

Zeioth commented 3 years ago

Meanwhile I've made the screen in inkscape so anyone can just print it. corne-screen.zip