makerbase-mks / SGEN_L

MKS SGEN_L is a powerful 32-bit 3D printer control board with LPC1768. Support Marlin2.0, Smoothieware. Support MKS LCD12864B/MINI12864/LCD2004/12864 and MKS TFT Touch Screens. The motherboard integrates SPI / UART interface and works with MKS TMC2130/TMC2208 V2.0/TMC2209. It can be used after plugged in. No soldering or flying lead is required ...
https://es.aliexpress.com/item/33036918120.html?spm=a2g0o.store_home.slider_165457030.3
GNU General Public License v3.0
87 stars 61 forks source link

MKS SGen L V1 with LCD12864B slow screen refresh #37

Closed DanJunior78 closed 3 years ago

DanJunior78 commented 4 years ago

Hello gents,

I've a problem with the refresh of the LCD screen. It's behaving like a laptop screen below 5 degrees Celsius or above 50 degrees Celsius. I'm not aware of a possible setting in Marlin Firmware to increase the refresh rate. On my other board, it's a Gen L with the counterpart display version A...all is running smooth. Does anyone have an idea?

makerbase-mks commented 4 years ago

Use LCD12864B on SGEN_L motherboard?

DanJunior78 commented 4 years ago

Yes, for the SGen L I use the version B. For my Gen L I use version A.

DanJunior78 commented 4 years ago

Please check the small movie to compare both boards and LCD´s...it´s the best way to see what i mean

https://www.dropbox.com/s/ev6r1zp6h4e9l25/200822_SGen_L_vs_Gen_L_LCD.zip?dl=0

NeoMod commented 4 years ago

@DanJunior78 sorry for bothering you, but I'm having troubles getting the same LCD on the same Board work with Marlin 2.0. May I ask what version of Marlin are you running on the MKS SGEN L ?

As per your issue, if it's still unsolved have you tried enabling #define LIGHTWEIGHT_UI ?

DanJunior78 commented 4 years ago

@NeoMod no problem. It's running on Marlin 2.0.5.4 . Usually the LCD is easy to activate. You've only to activate the MKS mini display. I had at the beginning the same problem as I had 2 display drivers activated. But I've not tried to use the lightweight UI as it should be running with the standard UI, like my Gen L which is running the same firmware (I've only swapped the motherboard in the settings). If MKS would answer,it might help, because I'm running on the SGen the TMC 2130. On the Gen only the TMC2208.

DanJunior78 commented 4 years ago

If you want to give it a try...there is a bin file and the Marlin source...for display testing it might be enough...as i mentioned. I´m using the TMC2130 with SPI.

https://www.dropbox.com/s/g8ld2f8rhiy8z99/MKS-SGen-master.zip?dl=0

makerbase-mks commented 3 years ago

https://github.com/makerbase-mks/SGEN_L/issues/38

DanJunior78 commented 3 years ago

Could @makerbase-mks do a test to verify that the problem is caused by the SPI connection to the TMC2130? I've tried to compile the Marlin 2.0.6.1 and using the drivers in normal mode there is no overload on the SPI and the display works fine. I'm little bit unhappy not being able to use the SPI functionalities for the drivers.

DanJunior78 commented 3 years ago

Yes, I had also this phenomenon from #38, when I tried to use the TMC2130. Depending on the Marlin version. Even with Marlin 2.0.5.4.

makerbase-mks commented 3 years ago

I think, the SPI driver of LPC176x needs further improvement and it's just a matter of time.

DanJunior78 commented 3 years ago

Is it working now? There is a conflict in the SPI, because the SPI for the LCD and e.g. TMC 2130 run on the same bus/connection. Will there be a workaround?