bigtreetech / SKR-3

158 stars 63 forks source link

REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER not working with EZ2209 drivers #74

Open amaury10 opened 1 year ago

amaury10 commented 1 year ago

Hello,

I'm facing a strange issue on a brand new SKR3EZ (STM32H723Vx_btt). I'm using ES2209 v1.0 drivers along with a REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER display unit.

Everything is working fine as long as I'm not moving E0 motor. When E0 starts to move, the display is completely incoherent, the buzzer is buzzing in a loop (around 2 times a second). Apart from that, the printer seems to be working.

I power the whole board in 24V, every motor is taking its supply from the motherboard, not the dedicated connector.

I tried with dual and single Z driver. I tried all TMC2209 fixes I can find on github (f_cpu, libraries versions, ...)

I'm using Marlin 2.1.2.1 stable release from the official repository. I have nearly the same config file working like a charm on an old SKR1.3.

When I send the M122 debug command, I got an error ALL_LOW on Z2 only.

I join my config files, platformio.ini and the board ini file.

The version of VS Code : Version: 1.80.0 (user setup) Commit: 660393deaaa6d1996740ff4880f1bad43768c814 Date: 2023-07-04T15:06:02.407Z Electron: 22.3.14 ElectronBuildId: 21893604 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.22621

Platformio versions : Core 6.1.9 Home 3.4.4

platformio.txt Configuration.txt Configuration_adv.txt stm32h7.txt

amaury10 commented 1 year ago

20230710_190805

amaury10 commented 1 year ago

Ok, the problem really seems to be linked to the E0 circuitry or configuration. I modify the pinout to use the E1 circuitry instead : it works as expected.

If people have the same issue, I post my board file to help them swith to E1: pins_BTT_SKR_V3_0_common_modify_E0.txt