-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cleanup & fix st7920 simulator (add klipper support) #705
Conversation
Hi, thank you a lot for this commit. I already updated my TFT24 firmware, but my display is black most of the time. Only some times (once a day) it draws graphics on the display (works ok with Marlin). Same beahaviour I had with previous version o TFT24 firmware. Is my Klipper printer.cfg configuration of Bigtreetech SKR 1.3 board ok? [board_pins] [display] |
* master: cleanup & fix st7920 simulator (add klipper support) (bigtreetech#705) Add detection of Mainboard firmware type( Marlin or Smoothieware), auto-detect LONG_FILENAME_HOST_SUPPORT, on-boardSD and serial_always_on option in config file & other bugfixes (bigtreetech#663) Aesthetics, language, configuration (bigtreetech#667) Fix send_cancel_gcode in abortPrinting (bigtreetech#672) Fix heater indexes (bigtreetech#670) RU language correction (bigtreetech#701) Fix a few typos and add missing translations (bigtreetech#694)
Same here - just uploaded the latest firmware to my TFT24 (compiled from the latest source) - and have the following in my config - I have a BTT SKR1.4 Turbo:
Still doesn't work - I just get a blank screen with "LCD12864 simulator" on top |
Hello have modify here
it's very important! |
fix st7920 bugs after #705
I have followed your instructions and made modifications of spi_slave.c and ST7920_Simulator.c and compiled. Last week with old revision (without font support) I had black screen with occasional draw of graphics without fonts. With this latest revision with modifications from description I have black screen also, but I had no graphics redraw ever till now. Only some garbage on screen with some changes when rotating encoder happened yesterday. I have TFT24 V1.1 and SKR 1.3. |
Hello, please try this .bin firmware. if it's ok, please set |
Great, thanks - this works great. |
I can confirm that when I made fresh git clone and made instructed modification my display started to work. Thank you. |
Can this be related to #735 ? |
hmmm - it's still not perfect - especially when you reset the printer using the reset button on the TFT. Refuses to show anything after that. |
* fix bug * improve st7920 simulator for klipper
fix st7920 bugs after bigtreetech#705
if it's ok, please set SPI_ReEnable(!!(GPIOB->IDR & (1<<13))); to SPI_ReEnable(1) not SPI_ReEnable(0) for TFT24 V1.1 With this mod and recompile from BTT display works! |
It does not still work properly. My screen sometimes shows up, sometimes it disappears completely and sometimes it shows total garbage on the screen. I think your fix does not totally fix the real issue. |
I agree. I have to restart the firmware and klipper multiple times to get
something to show on the screen sometimes. Also the print progress was not
updating during a print. Hopefully this gets fixed! Thanks.
…On Fri, Oct 9, 2020, 11:23 AM Rizwan Sarwar ***@***.***> wrote:
It does not still work properly. My screen sometimes shows up, sometimes
it disappears completely and sometimes it shows total garbage on the
screen. I think your fix does not totally fix the real issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#705 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIZZJSCYEQUJULQNPZFATUDSJ4TILANCNFSM4NIK4GSQ>
.
|
Someone have a Wire Diagramm Form TFT24 v1.1? |
Description
if you use TFT35 V3.0 etc.., modify stm32f2xx hal
from
SPI_ReEnable(!!(GPIOB->IDR & (1<<13)));
toSPI_ReEnable(0);
(because Marlin lpc176x st7920 spi is mode 0, but avr & stm32 is mode3, so marlin need to adapt by itself, but klipper is mode0, and the logic of SCK seems abnormal, so it cannot adapt, please set to mode 0 directly)to
°
will be covered byspace
Benefits
Related Issues
#290