2023-02-26 08:50 PM
Hi,
I'm to SPI in stm32,I want to interface LCD with SPI RGB i need your support to provide SPI intialzaton code for LCD WF40ESWAA6DNN0 480*480 resolution.
Thanks
Solved! Go to Solution.
2023-03-05 02:09 PM
Hello @Bhanu,
You can start from STM32CubeMX where you configure your SPI and LCD peripherals and generate the initialization code.
Please have a look at this AN4861 Application note and you can follow this Article to configure the LTDC peripheral.
You can refer to the one of LCD examples under the STM32CubeF4 package, which can help you to develop your application:
Imen
2023-03-05 02:09 PM
Hello @Bhanu,
You can start from STM32CubeMX where you configure your SPI and LCD peripherals and generate the initialization code.
Please have a look at this AN4861 Application note and you can follow this Article to configure the LTDC peripheral.
You can refer to the one of LCD examples under the STM32CubeF4 package, which can help you to develop your application:
Imen
2023-03-05 08:39 PM
Hi @Imen DAHMEN ,
If possible give reply ASAP
thanks
2023-03-05 08:40 PM
Hi @Imen DAHMEN (ST Employee),
i have already implemented LTDC code for RGB LCD but now i want you to provide initial code to initialise SPI for display WF40ESWAA6DNN0 480*480 resolution.
Bhanu
2023-03-08 03:27 AM
hi,
waiting for your reply,
i'm sending comands and data using HAL_SPI_Transmit() but still i im not able to see any color in display for your reference im attaching the display data shet please have a look and provide spi intialzation code to send data through out RGB
please find the attached display data sheet
2023-03-14 06:08 AM
Hi @Imen DAHMEN
its been almost 1 week still i didn't any reply form your side.
it issue is our main priority please help us to resolve the issue ASAP .@Imen DAHMEN if you cant able to help me please forward this ticked to someone who can help me to clear this issue.
Thanks
2023-03-15 04:53 AM
Hello @Bhanu ,
Based on the datasheet attached, it is mentioned WF40ESWAA6DNN0 is without control board interface; you may need to set up your hardware first. No SPI Interface is embedded.
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.
2023-03-15 10:34 AM
2023-03-16 04:26 AM
Hi again @Bhanu
In order to interface with the WF40ESWAA6DNN0 display, you will need to communicate with the ST7701S driver IC through its SPI interface to send commands and data to control the display's pixels.
Here is an example STM32CubeF7/stm32f7xx_nucleo_144.c at f8bda023e34ce9935cb4efb9d1c299860137b6f3 · STMicroelectronics/STM32CubeF7 (github.com), it may need some changes to adapt your driver IC. Here is a set of functions STM32CubeF7/st7735.c at c7c5ec99c7482ea8bcdbf0a869c930af4547088f · STMicroelectronics/STM32CubeF7 (github.com) needed to drive the * ST7735 LCD. It is up to the user to get inspired and customize the code.
Thank you for your understanding.
Firas
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.
2023-03-16 07:04 AM
It's not ST's job, to do your job.
As the embedded engineer on this project it get's to be your responsibility to code drivers for parts/boards that you have chosen.