cancel
Showing results for 
Search instead for 
Did you mean: 

ST7735 display driver usage

Rad Rad
Associate II
Posted on March 07, 2018 at 08:10

Hi .

I have a LCD display with st7735 and wanted to use library included within STM32Cube_FW_F3_V1.8.0 package.

Unfortunately the lib seems to be written only for specific boards and while compiling the code I get errors:

st7735.c:241: undefined reference to `LCD_IO_WriteReg'

/st7735.c:323: undefined reference to `LCD_IO_WriteMultipleData'

Is there a way to run it or a lib that would suit to STM32Cube HAL?

2 REPLIES 2
Amel NASRI
ST Employee
Posted on March 07, 2018 at 10:21

Hi

Rad.Rad

‌,

Do you have already suitable driver for ST7735? If not, you find them under STM32Cube_FW_F3_V1.9.0\Drivers\BSP\Components\st77

This component is used in the demonstration provided for

STM32F303ZE-Nucleo, which is available under

STM32Cube_FW_F3_V1.9.0\Projects\STM32F303ZE-Nucleo\Demonstrations\Adafruit_LCD_1_8_SD_Joystick\Src\main.c.

You need to refer to this example and adapt for your need.

May I know with which hw will you be using this LCD display?

-Amel

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.

Posted on March 21, 2018 at 15:20

Hi Amel,

Thanks for your reply.

I am using lib from: ...STM32Cube_FW_F3_V1.8.0\Projects\STM32F303RE-Nucleo\Demonstrations\Adafruit_LCD_1_8_SD_Joystick.

However as I wrote is seems to be written for a nucleo board specyfic and throws the following errors:

st7735.c:241: undefined reference to `LCD_IO_WriteReg'

/st7735.c:323: undefined reference to `LCD_IO_WriteMultipleData'

which I am not quite able to get over.

I am using Arduino TFT: 

https://www.arduino.cc/en/Guide/TFT