cancel
Showing results for 
Search instead for 
Did you mean: 

LTDC configuration on STM32F469

LucasStartTech
Associate III

@Tesla DeLorean 

Hi! I wonder if someone can help me! I am trying to initialize a LCD screen and I have some questions. I am using a STM32F469IIT6, and it does not have enough memory in itself to hold a buffer for my screen 800x480. I did not set up a DMA to use an external memory o handle the buffer, however I have the following questions:

I - What would happen if I assign a smaller buffer for the LTDC? will it still paint partial part of the screen, or it will not work at all?

II - Once I set the background colors in the .ioc, give the buffer address in the configuration and do not use the function: HAL_LTDC_SetAddress(&hltdc, buffer, 0), will the buffer be filled with the colors set in the background?

 

I've set up a logic analyzer to try to answer these questions, however, unless I am understanding it wrongly, my buffer is so small compared to the size that I need, that it is being very difficult to identify the colors I am inserting, if it is the case that I am being able to send it. My result so far it only a screen with the same color as when it turns on, so I wasn't able paint anything on the screen. 

 

Thank you!!

3 REPLIES 3
LucasStartTech
Associate III

I'm not sure, I'd imagine you could create some truncated LINE counts, and it would either give you some repeating screen sections, or your get one section, and the remaining is the colour snow pattern

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Also, do you mind seeing if I got my set up correctly? Because for some reason the results I got in the logic analyzer are very different from what I expect. Also, I understand the logic in RGB888, but how is the MCU interpreting the buffer values to send it? is it getting the lower 24bits in three bytes or am I supposed to send have a buffer of 8bits values, with sequencies of R-G-B? Hope I am not being so confusing.

Note: Since I've updated the buffer and set it as the buffer for the LTDC, I was expecting to have at least part of the screen painted.

LucasStartTech_0-1740784260297.pngLucasStartTech_1-1740784387832.pngLucasStartTech_2-1740784407129.png

LucasStartTech_3-1740784435244.png

LucasStartTech_4-1740784720261.png