2021-11-22 09:34 PM
Hello,
I am using STM32F429BI.
I use CubeIDE 1.7.0 and CubeMX.
I use touchGFX 4.16.1 as a graphic tool.
The LCD specification used is attached as a file.
LTDC is set up like the attached image
My question is
1. Are there any wrong LTDC settings?
2. Do I need to initialize the LCD driver (ST7282) in the LCD after setting the LTDC?
3. There are Sync mode and DE mode in the LCD data sheet. Is it possible to set Sync mode and DE mode in LTDC?
If possible, what should I do?
Thanks in advance.
Solved! Go to Solution.
2021-11-26 04:46 AM
> The basic structure of the program is the code generated by TouchGFX, and it has been confirmed that it works well in STM32F429I-EVAL.
Then find the differences between your board and STM32F429I-EVAL and work from that. Try to simplify code to avoid external memory, first on the EVAL and then on your board. Observe signals on the LCD using oscilloscope/LA.
JW
2021-11-23 02:42 AM
Hello @Hwoo- ,
Do you have any compilation issue?
Do you have same issue using the examples provided within the Cube package?
You can follow the LTDC example of display for the STM32F429I-Discovery board under STM32Cube_FW_F4_Vx.xx.x\Projects\STM32F429I-Discovery\ Examples\LTDC.
Have a look at the AN4861 Application note LCD-TFT display controller (LTDC) on STM32 MCUs, that will help you to configure the LTDC peripheral.
Imen
2021-11-26 01:00 AM
Hello,
Thanks for your reply.
The LCD on my custom board is still not responding.
The basic structure of the program is the code generated by TouchGFX, and it has been confirmed that it works well in STM32F429I-EVAL.
After reading the AN4861 you recommended, I couldn't find a clear answer.
I would appreciate any answers or advice to my questions.
Thank you.
2021-11-26 04:46 AM
> The basic structure of the program is the code generated by TouchGFX, and it has been confirmed that it works well in STM32F429I-EVAL.
Then find the differences between your board and STM32F429I-EVAL and work from that. Try to simplify code to avoid external memory, first on the EVAL and then on your board. Observe signals on the LCD using oscilloscope/LA.
JW
2021-11-29 07:10 PM
Hello,
Thanks for the reply.
I solved the problem.
The problem was that there was something wrong with the datasheet.
(DISP pin was marked as NC)
For DE or SYNC mode, connect the DE pin to GND when using it as SYNC.
Hwoo