2017-10-10 10:33 AM
I am using an STM32F439BIT processor and developing in Keil uVision 5. My goal is to make a touchscreen GUI for a VGA resolution touchscreen. I have implemented STEmWin to the best of my abilities, using the LIN32 Driver (which should work with my touchscreen). Using the hltdc.Init.Backcolor.Red/Green/Blue elements in LCD_LL_Init() I am able to set a solid color to the screen. When I begin calling STEmWin functions (GUI_Clear(), GUI_DispStringAt(), etc.), nothing is printed to the screen.
Has anyone experienced this? Anyone have insight into some common causes for this or what I may have missed?
Thanks!
#gui #display #touchscreen #stemwin2017-10-11 08:21 AM
Hello!
did you enabled CRC module? Its essential to work the driver.
2017-10-11 11:39 AM
HAL_CRC_MODULE_ENABLED is defined in stm32f4xx_hal_conf.h, and __HAL_RCC_CRC_CLK_ENABLE() is called before any GUI functions are called, so yes, I believe the CRC module should be enabled. Is there anything else you can think of that may be causing the problem?
Thanks for your help!
2017-10-11 11:57 AM
Which LCD type you use?
LIN driver is for direct access to video memory only
GUI functions like GUI_DispStringAt use commands also , like SetWindowSize .
2017-10-11 12:58 PM
The LCD is a UMSH-8247MD-15T from URT. It uses an 18 bit parallel color interface, and matches up with the LTDC interface on the processor. Using the LTDC functions provided in the HAL I am able to get the screen to work. A previous project of mine involved a STM32f4xx Eval board with a touchscreen with a very similar interface and the LIN driver worked with that. What exactly is meant by video memory? I haven't been able to get a good explanation of where video memory is located/what accesses it etc.
Thanks!