Xinyuan-LilyGO / T-Display-S3-AMOLED

An upgraded version of T-Display-S3. It has a high-resolution color screen and more configurable GPIO ports. Enrich your needs.
MIT License
143 stars 29 forks source link

SPI instead of QSPI #9

Closed jpenninkhof closed 11 months ago

jpenninkhof commented 11 months ago

What needs to be done to the board in order to drive it through SPI instead of QSPI? I understand there are soldering pins, but can't find any instructions on what to do with them.

lewisxhe commented 11 months ago

image Move the two resistors from QSPI to SPI4

set LCD_USB_QSPI_DREVER to 0

https://github.com/Xinyuan-LilyGO/T-Display-S3-AMOLED/blob/6d36b052a34786995ad95af934157700721c0857/examples/factory/pins_config.h#L4

lpzsn8888 commented 11 months ago

Does the source code in the example need to be modified?

teastainGit commented 11 months ago

Lewis: Can you elaborate on what effect QSPI or SPI4 has on the board and our sketches? Is your QSPI type: "Q" Quad SPI or "Q" Queued SPI Is this the SPI interface to the AMOLED video chip or the Flash memory?

My current understanding: The supplied example TFT_eSPI_Sprite.ino in the LilyGO github runs fine with QSPI, as shipped. The board that I received was already QSPI, which is higher performance than plain old SPI. I imagine that there are other legacy applications that require the older standard SPI. The resistors shown need to be unsoldered and re-soldered on the SPI option contacts, which is delicate work.

lewisxhe commented 11 months ago

I have updated my answer and be careful not to damage the screen when welding resistors

jpenninkhof commented 11 months ago

I was hoping to use it with Tasmota. Tasmota unfortunately doesn’t support QSPI yet and it doesn’t seem to be supported anytime soon. Also, soldering SMD is not something I’m comfortable doing. Hope it can be switched with a jumper or maybe even software on a next version of the board.