Skip to content
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

[Q] how to get Skr3 ez to work with TFT35 #2969

Open
inspectionsbybob opened this issue Jan 29, 2025 · 14 comments
Open

[Q] how to get Skr3 ez to work with TFT35 #2969

inspectionsbybob opened this issue Jan 29, 2025 · 14 comments
Labels
question Further information is requested

Comments

@inspectionsbybob
Copy link

I am working on putting a SKR3/TFT35 into my Tronxy X5SA.

My printer is LARGE and the distance between the SKR3 and where I want the TFT35 is over a meter…

I was hoping to use use the 5pin cable only as I have an extension cable for that.

What do I need to setup in config.h for the SKR3 so that I can use marlin mode only or do I have things mixed up and the 5pin is for the touch mode?

I have not flashed the tft35 as I though the default software would work in marlin mode…

Again, my big issue is I only want to run -1- cable front to back, in whatever mode that is. I use the Usb port and pronto for 99% of stuff (repetier actually)

Anyway, what do I need to do… I can set things up on the bench with the 3x factory cables, it seems that this combination is persnickity and not as easy as I thought it would be…

@inspectionsbybob inspectionsbybob added the question Further information is requested label Jan 29, 2025
@rondlh
Copy link

rondlh commented Feb 1, 2025

You are correct, the 5 pin cable is for the touch mode of the display, it establishes a serial connection.

In config.ini set default_mode to 1 or 3 (1 is the default value):

#### Default Mode
# Set Marlin/Touch Mode as the default mode at startup.
#
# NOTE: Mode switching is possible only for Marlin Mode and Touch Mode by a long press of
#       1.5 seconds on the display or holding down the encoder button for 1.5 seconds.
#
#   Options: [Marlin Mode: 0, Touch Mode: 1, Blocked Marlin Mode: 2, Blocked Touch Mode: 3]
default_mode:1

In Marlin you can disable the "Full Graphic Smart Controller".

I just added SERIAL_DMA to Marlin for the STM32H7, which will be a useful feature you could enable to improve serial communication reliability.

@inspectionsbybob
Copy link
Author

inspectionsbybob commented Feb 1, 2025 via email

@rondlh
Copy link

rondlh commented Feb 2, 2025

Thanks, I'm not sure if I fully understand. Anyway...
The serial port in Marlin works like this:
-1 is the virtual USB serial port
For the SKR 3 you should define serial port 1. There is no serial port 0.
So you could set:
#define SERIAL_PORT 1
#define SERIAL_PORT_2 -1

The TFT will be connected to serial port 1.
Just match the serial baudrates of Marlin and the TFT, and you should be ready to go.

@inspectionsbybob
Copy link
Author

inspectionsbybob commented Feb 2, 2025 via email

@inspectionsbybob
Copy link
Author

inspectionsbybob commented Feb 2, 2025 via email

@inspectionsbybob
Copy link
Author

inspectionsbybob commented Feb 2, 2025 via email

@inspectionsbybob
Copy link
Author

inspectionsbybob commented Feb 2, 2025 via email

@inspectionsbybob
Copy link
Author

Here is my current configuration.h

I am sure there is a typo somewhere, but I can't see it...

Configuration.zip

@rondlh
Copy link

rondlh commented Feb 3, 2025

Marlin mode will not work when you only connect the 5-pin connector, then only touch mode will work.
The TFT needs to be set to the same baudrate as the SKR 3, which is set to 115200 baud.

You should see an extra serial port when you connect the motherboard to a PC,

An update of the TFT is definitely recommended.

@inspectionsbybob
Copy link
Author

inspectionsbybob commented Feb 3, 2025 via email

@rondlh
Copy link

rondlh commented Feb 4, 2025

Wish the TFT had a "setup" mode where you could change the baud rate.

What else do you want to setup in the "setup mode"?

A auto detect of the baudrate would be very useful.

@inspectionsbybob
Copy link
Author

inspectionsbybob commented Feb 4, 2025 via email

@rondlh
Copy link

rondlh commented Feb 4, 2025

Anything that prevents the TFT from doing "something". A blank screen does nobody any good. Error msgs are really really useful.

In touch mode, you will never have a blank screen.

Maybe when at the marlin/touch choice screen, a tripple tap would bring up a service menu.

I'm afraid the LLM in the TFT currently does not support triple tapping.

I realize that I enabled M575, so I can cycle through the rates, but that will be a pain and I don't know if I would need to reset the tft between tries...

You can change the TFT baudrate without resetting. The TFT will continue to try to establish a connection.

@inspectionsbybob
Copy link
Author

inspectionsbybob commented Feb 5, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants