Skip to main content
Associate III
August 26, 2024
Question

how to increase the TFT Speed on STM32G0B1RCT6

  • August 26, 2024
  • 3 replies
  • 2368 views

hello NXP Expert,

                          I am trying to achieve the maximum speed for the ST7735S  1.8 inch TFT, but it's very slow on the STM32 microcontroller. However, it reaches maximum speed with the NXP controller. In the video below, you can see that the TFT color filling is very slow. How can I increase the speed?

3 replies

Andrew Neil
Super User
August 26, 2024

You're going to have to give more details for anyone to be able to help!

https://community.st.com/t5/community-guidelines/how-to-write-your-question-to-maximize-your-chances-to-find-a/ta-p/575228

What interface mode are you using?

What have you done to determine where the bottleneck(s) is/are?

What speed is your STM32G0B1RCT6 running at ?

What "NXP controller", and at what speed ?

Is this "NXP controller" running the same code?

Optimisation level?

Have you looked at the interface with a scope or logic analyser - with both STM32 and "NXP" controllers?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
August 26, 2024

@Berlin-raj123 wrote:

hello NXP Expert


Errr ... this is ST's STM32 community - not the place to find NXP experts!

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
mƎALLEm
Technical Moderator
August 26, 2024

Hello @Berlin-raj123 ,

 

hello NXP Expert,.

 

Here we are ST not NXP ;)!


I am trying to achieve the maximum speed for the ST7735S  1.8 inch TFT, but it's very slow on the STM32 microcontroller. However, it reaches maximum speed with the NXP controller. In the video below, you can see that the TFT color filling is very slow. How can I increase the speed?


What interface are you using? I suppose you are using SPI interface as there is no FMC on STM32G0B1 product.

What is the frequency you set for SPI clock? Are you at the maximum speed of the LCD SPI clock?

 

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."
Associate III
August 27, 2024

oh!!! sorry for my mistakes @Andrew Neil  and @mƎALLEm  i am using spi1.

>What is the frequency you set for SPI clock?

 64MHZ

>Are you at the maximum speed of the LCD SPI clock?

Actually the maximum speed of the TFT clock running at 15MBits/s  

but i am using 8Mbits/s

mƎALLEm
Technical Moderator
August 27, 2024

Why don't you set the speed of the SPI clock to the Max baudrate?

"To give better visibility on the answered topics, please click on ""Accept as Solution"" on the reply which solved your issue or answered your question."