External Crystal issue when STM33H7 LTDC interface used with RGB to HDMI convertor TI TFP410
I am using STM32H743IIT6 MCU to drive HDMI display using LTDC peripheral and Texas Instrument TFP410 for RGB to HDMI conversion. Issue I am facing is I use external crystal as clock source then I see disturbance on my HDMI monitor and its display blinks randomly, say screen is proper for some 5-10 sec then it will flicker and turn off and on then again be stable for some time and these repeats. My guess is that some HDMI timing related parameters are not matched and that's why this behavior on monitor. Surprisingly, this issue resolves if I use internal CSI RC oscillator as clock source. I even tried doing the PCB layout again using an external agency, but same issue persists in that layout as well. What could be the issue here that it works with internal CSI RC clock source and not external crystal ? Please find below related parameters configured in my project. I have also attached my projects CubeMX .ioc file for reference.
- Clock Source: External Crystal 25MHz
- FMC: External SDRAM ISSI IS42S32200L-6TL which is 32bit SDRAM
- LTDC Settings: 1280 x 720p HD resolution @60Hz (Below parameters are as specified in standard without which if I connect to Dell monitor then it gives timing error on screen)
- LTDC Clock 74.250 MHz
- 16bit RGB565
- LTDC data, clock, HSync, VSync, DE signal goes to TI TFP410 IC whose output are then connected with HDMI connector.
- Horizontal Timings
- Active Pixels 1280
- Front Porch 110
- Sync Width 40
- Back Porch 220
- Blanking Total 370
- Total Pixels 1650
- Sync Polarity pos
- Vertical Timings
- Active Lines 720
- Front Porch 5
- Sync Width 5
- Back Porch 20
- Blanking Total 30
- Total Lines 750
- Sync Polarity pos
