MarlinFirmware / Marlin

Marlin is an optimized firmware for RepRap 3D printers based on the Arduino platform. Many commercial 3D printers come with Marlin installed. Check with your vendor if you need source code for your specific machine.
https://marlinfw.org
GNU General Public License v3.0
16.3k stars 19.25k forks source link

[BUG] Color UI Full Move Screen Garbage when using encoder and E0 #20746

Open filichev opened 3 years ago

filichev commented 3 years ago

Bug Description

If you turn on the stepper motor E0 and then use the encoder, garbage appears on the screen.

Configuration Files

Included Configuration_and_adv.zip pins_MKS_ROBIN_NANO_V2.zip

Steps to Reproduce

  1. Switch to the mode of movement of axes and press E- or E +
  2. Rotate or push the encoder

Expected behavior: Filament feeding. Normal encoder response

Actual behavior: When the encoder is connected, when you press E + or E-, garbage appears at the bottom of the screen. When the encoder is activated, garbage fills the entire screen. This happens ONLY if the extruder motor has been turned on before. If the extruder motor has not started yet, the encoder is working normally.

Additional Information

video https://youtu.be/9RClAyWFGi0 tmc2209 uart, tmc2208 standalone - There is a problem. TFT_480x320_SPI or Upscaled 128x64 Marlin UI - There is a problem.

If the encoder is unsoldered from the board, there is no problem - everything works fine. Replacing the encoder, additional noise filters 100nf capacitors do not help.

thinkyhead commented 1 year ago

ColorUI has been revamped a lot. Please confirm the latest bugfix-2.1.x code works (or not) and you can go ahead and close this issue if we solved the problem.

thisiskeithb commented 1 year ago

I just tested this on a Robin Nano V2 + TS35 V2.0 SPI display and the TFT is fully white/non-functional on current bugfix.

paweljarosz82 commented 1 year ago

Confirmation: TS35 V2.0 SPI + ROBIN NANO V3.1 bugfix-2.1.x results in white screen on the display

thisiskeithb commented 1 year ago

Confirmation: TS35 V2.0 SPI + ROBIN NANO V3.1 bugfix-2.1.x results in white screen on the display

That’ll be fixed in https://github.com/MarlinFirmware/Marlin/pull/26052