How does the IMX7D reverse the polarity of HSYNC and VSYNC?

cancel
Showing results for 
Search instead for 
Did you mean: 

How does the IMX7D reverse the polarity of HSYNC and VSYNC?

203 Views
864535720
Contributor II

Hello, my development board is IMX7Dsabresd. When I drive my screen through the RGB signal on the development board, I found that the polarity of HSYNC and VSYNC output from the development board is opposite to the polarity required by my screen. How can I change it? The polarity of HSYNC and VSYNC.

This is the waveform of the vsync measured by my IMX7D development board.

TEK0005.JPG

This is the waveform I need for my screen:无标题.png

My LCD driver file is using...\git\drivers\video\fbdev\mxsfb.c

What should I modify so that the waveforms of HSYNC and VSYNC match the requirements of my screen.

Labels (1)
Tags (1)
0 Kudos
1 Reply

109 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi

HSYNC,VSYNC polarity can be changed using VDCTRL0 register, please check

sect.13.2.4.8 eLCDIF VSYNC Mode and Dotclk Mode Control Register0 (LCDIFx_VDCTRL0n)
i.MX7D Reference Manual


Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos