2024-08-26 06:06 AM
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?
2024-08-26 06:34 AM - edited 2024-08-26 06:35 AM
You're going to have to give more details for anyone to be able to help!
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?
2024-08-26 06:37 AM - edited 2024-08-26 06:37 AM
@Berlin-raj123 wrote:hello NXP Expert
Errr ... this is ST's STM32 community - not the place to find NXP experts!
2024-08-26 06:44 AM - edited 2024-08-26 07:12 AM
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?
2024-08-26 09:09 PM
oh!!! sorry for my mistakes @Andrew Neil and @SofLit 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
2024-08-27 01:22 AM
Why don't you set the speed of the SPI clock to the Max baudrate?
2024-08-27 01:59 AM
@Berlin-raj123 wrote:the maximum speed of the TFT clock running at 15MBits/s
but i am using 8Mbits/s
And is it the same on your still-unidentified "NXP controller" ?
Other remaining questions:
2024-08-27 02:18 AM
@Andrew Neil wrote:
And is it the same on your still-unidentified "NXP controller" ?
Indeed to compare, you need to be at the same configuration: at least CPU frequency, SPI bitrate, same code etc ..
2024-08-27 02:29 AM
@SofLit I already set the maximun baudrate of 15Mbits/sec,but still working slow
2024-08-27 02:32 AM
Do you have the same CPU frequency for STM32 as for NXP?