LCD connector weirdness

There is no shortage of weirdness when it comes to the popular RepRap LCD connectors. The traditional connector is dual 10-pin IDC male sockets.

Alas it appears that someone made a mistake in the original schematics, so now some LCD panels have the connectors backwards. For example the FYSETC Mini 12654 Panel.

I had to create this small adapter to easily flip the direction of the wires:

Here it is i use in my PrntrBoardV2 test prototype:

Tested LCD interface

I had one RAMPS discount full graphics controller laying around from my RigidBot. I did use it with the original controller and decided to test it with the PrntrBoard.

In Rev1 and Rev2 of the board I did not have enough pins on the LCD connector to be able to use all buttons on the panel. In the Rev3 I used every last pin of the tiny 64-pin package and I just got enough (or so I thought).

I learned the SPI used by the LCD panel is not very standard and had to fight with Marlin to make the TMC drivers and the LCD co-exist on the same SPI bus.

Finally I was able to use the panel:

One of the pins I used for the button input did not quite cooperate, so I have only one button + the rotary controller for the UI. Lucky for me both Marlin and Smoothieware were functioning with that configuration.

I had to disable the TMC diver monitoring, because the LCD controller was getting confused by the SPI communication with the TMC drivers. I think I can create a small breakout board with a few AND gates to alleviate this interference.

Here is a video of the panel working in Smoothieware: