bigtreetech / BIGTREETECH-Kraken

32 stars 8 forks source link

Cannot get a BTT Mini 12684 display to work with Marlin on the Kraken #9

Open BoothyBoothy opened 3 months ago

BoothyBoothy commented 3 months ago

Hi All, I am testing a Kraken with Marlin on a DIY CNC machine. I find it useful to have some form of display for ease of tweaking settings when tuning or jogging the axis for general maintenance. I just cannot get the Mini display or the neo pixels to work at all with the Kraken with Marlin firmware? I have tried many different combinations in the Marlin firmware including selecting other generic Mini display options with zero response. On earlier control boards I have used an old BTT touchscreen which has been perfect for my use case but this does not appear possible with no TFT connection for the board? I am using the latest Kraken Marlin branch form the Marlin git. I have neo pixels enabled in Marlin. Anyone any ideas? Thanks in advance Boothy

Update: 18\03\24. FYI for anyone else using a Display in Marlin with the Kraken. Still cannot get the Mini display to work in Marlin but I have got the a BTT Touch Screen to work\connect by connecting the serial connector to the SBC port on the Kraken but swapping the RX & TX pins on the connector. Credit to Teamgloomy\RRF support pages for this solution: https://teamgloomy.github.io/tft.html

thisiskeithb commented 3 months ago

I can confirm that none of the Mini 12864 displays with NeoPixels work on the Kraken under Marlin. The LCD lights up & NeoPixels will cycle on boot, but nothing is displayed. Using M250 C255 to set max contrast also doesn't work.

Can you file a bug report in the main Marlin repo so this can be tracked? I'll do some more digging to see if I can get it working.

Actually, simply add #define FORCE_SOFT_SPI anywhere in your config and that will work. I'll submit a PR to fix this bug upstream in Marlin shortly. PR submitted: https://github.com/MarlinFirmware/Marlin/pull/26918

h/t to @ellensp for finding that missing define!

BoothyBoothy commented 3 months ago

Thank You