2019-07-12 04:03 AM
Hola,
I need your help in order to configure the LTDC controller of my project because I've a very limited knowledge of LCD screens. After having read this tutorial, everything appeared clear and I thought it would be straightforward to configure my file. Little did I know that the documentation of my screen would use a rather different terminology and that I can't translate between the twos. Plus, it seems that some parameters are missing from the doc… The datasheet of the screen is attached to this message.
All I need to configure to get it working are these few lines I think :
hltdc.Init.HorizontalSync = 40;
hltdc.Init.VerticalSync = 20;
hltdc.Init.AccumulatedHBP = 46; //Acculumutaled Horizontal Back Porsh
hltdc.Init.AccumulatedVBP = 23; //Accumulated Vertical Back Porsh
hltdc.Init.AccumulatedActiveW = 846;
hltdc.Init.AccumulatedActiveH = 503;
hltdc.Init.TotalWidth = 886;
hltdc.Init.TotalHeigh = 523 ;
(located in HW_Init.cpp)
A huge thanks in advance.