2020-02-24 10:06 AM
I am working with a project that was generated from CubeMX 5.5, and then TouchGFX 4.13 using the partial project file generated from Cube. The issue I am seeing is everything appears to be working (details below) except I am not seeing any activity on the VSYNC or HSYNC pins. The screen appears all white and does not change.
Things I have measured/observed that seem correct:
Additional info: there are no DMA2D errors, and 1 LTDC error (transfer error) that occurs on startup. LTDC global error interrupt is not enabled. I copied CubeMX settings from the STM32H750B-DK examples, except for the sync width settings, which were copied from the screen datasheet and are as in the attached picture:
Any ideas or clues what could be going on? I have tried this with a few different screens and boards, but VSYNC and HSYNC remain high and do not toggle.
Solved! Go to Solution.
2020-02-24 12:12 PM
SOLVED.
I had the wrong polarity for the LCD_DISP_ONOFF pin (different from the DATA_ENABLE pin). I figured since I could see a white backlight coming on, I had the correct polarity. I switched the polarity and now all works well.
As for the VSYNC/HSYNC pins always appearing high - this was due to improper acquire and trigger settings on my cheap oscilloscope. I adjusted them and now am seeing them toggle as expected.
2020-02-24 12:12 PM
SOLVED.
I had the wrong polarity for the LCD_DISP_ONOFF pin (different from the DATA_ENABLE pin). I figured since I could see a white backlight coming on, I had the correct polarity. I switched the polarity and now all works well.
As for the VSYNC/HSYNC pins always appearing high - this was due to improper acquire and trigger settings on my cheap oscilloscope. I adjusted them and now am seeing them toggle as expected.