TFT_eSPI Library / STM32 / ILI9488 Display

Good morning,

I'm trying to setup an ILI9488 (SKU MSP3520) display with a STM32F1 MCU, via the SPI Bus, but, I have difficulty for customizing the associated files of TFT_eSPI library,
I get a compilation error that I can't understand.

'class SPIClass'
spi.setFrequency(SPI_FREQUENCY);

Please, what method would you suggest to carry out this configuration?

Thanks!

RF_Tec
[Arduino IDE v2.3.4 - Core boards STM32duino v9.2022 - ST-Link v2]

Code:

#include <TFT_eSPI.h>

//#define ILI9488_DRIVER // (attempt with this driver)  
#define ILI9341_STM32F103_DRIVER // (attempt also with this driver optimized for STM32)

#define TFT_CS PA0    
#define TFT_DC PA1    
#define TFT_RST PA2   
  
TFT_eSPI tft = TFT_eSPI(); 

void setup()
{ }

void loop()
{ }

Hi @rf_tec. I see you are using the "STM32F1xx/GD32F1xx boards" platform by Roger Clark. Although this is an excellent platform, it has not been under active development for some time and so you will encounter some outdated aspects and incompatibilities while using it.

Unless you have a specific reason for using that platform, I recommend switching to the actively maintained "STM32 MCU based boards" platform. I did a quick test and found that your code does compile when I select an STM32F1 board from that platform.

1 Like

Hello ptillisch

Thank you for your recommendation !

To make you part of my project, I build radiocommunication equipment, currently, a radio transceiver with digital display, and would like to have a better screen resolution.

Indeed, this SPI platform is very well developed, but I also think that the setup method of the additional files should be updated to simplify implementation.

I'm going to try to play on STM32 MCU based boards library.

Yours sincerely,

Happy Holidays

You are welcome. I'm glad if I was able to be of assistance.

Regards, Per

Hi

Thank you so much for your assistance in my TFT_eSPI Library / STM32 /
ILI9488 Display project.

It's been an fully resolved.

Have a nice day

RFTEC

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.