AnsweredAssumed Answered

Dual display on imx53 WinCE7

Question asked by larson on Jan 10, 2013
Latest reply on Nov 13, 2014 by Seetharam Nayak
Branched to a new discussion

Hi ,

I am working on imx53 customized board. My problem is I am not able to have two display's at the same time.I want to have both LCD and VGA working at the same and same contents.Please help me out in solving this.

I try to modify the REG to have one of the LDC or the VGA, that is OK. When i have both of them, the code is only check the DI0(pNewModePanelInfo->PORTID) and ingore the DI1, so there is only one can be light. The debug MSG at below:

 

PID:00400002 TID:0521000E BSPGetNumSupportedModes here NUM_SUPPORTED_PANELS = 5

PID:00400002 TID:0521000E DisplayGetNumSupportedModes here totalModes = 5

PID:00400002 TID:0521000E BSPGetPixelDepthFromRegistry here dwPixelDepth = 16

PID:00400002 TID:0521000E BSPGetPixelDepthFromRegistry here dwPixelDepth = 16

PID:00400002 TID:0521000E GetPanelTypeFromRegistry here regPathString = Drivers\Display\DDIPU\DI0

PID:00400002 TID:0521000E BSPGetPanelInfo here

PID:00400002 TID:0521000E BSPGetPanelInfo NUMBER_PANEL_DI0_PANELS = 1

PID:00400002 TID:0521000E BSPGetPanelInfo panelNum = 0

PID:00400002 TID:0521000E BSPGetPanelInfo NUM_SUPPORTED_PANELS = 5

PID:00400002 TID:0521000E BSPGetSupportedModes here counter = 5

PID:00400002 TID:0521000E GetPanelTypeFromRegistry here regPathString = Drivers\Display\DDIPU\DI0

PID:00400002 TID:0521000E BSPGetPanelInfo here

PID:00400002 TID:0521000E BSPGetPanelInfo NUMBER_PANEL_DI0_PANELS = 1

PID:00400002 TID:0521000E BSPGetPanelInfo panelNum = 0

PID:00400002 TID:0521000E BSPGetPanelInfo NUM_SUPPORTED_PANELS = 5

PID:00400002 TID:0521000E GetPanelTypeFromRegistry here regPathString = Drivers\Display\DDIPU\DI1

PID:00400002 TID:0521000E BSPGetPanelInfo here

PID:00400002 TID:0521000E BSPGetPanelInfo NUMBER_PANEL_DI0_PANELS = 1

PID:00400002 TID:0521000E BSPGetPanelInfo panelNum = 2

PID:00400002 TID:0521000E BSPGetPanelInfo NUM_SUPPORTED_PANELS = 5

PID:00400002 TID:0521000E DisplayGetSupportedModes g_bDI0Connected = 1

PID:00400002 TID:0521000E BSPGetPixelDepthFromRegistry here dwPixelDepth = 16

PID:00400002 TID:0521000E DisplayGetSupportedModes g_bDI1Connected = 1

PID:00400002 TID:0521000E BSPGetPixelDepthFromRegistry here dwPixelDepth = 16

PID:00400002 TID:0521000E BSPGetModeInfo here 1 modeNo = 0

PID:00400002 TID:0521000E DisplayGetPrimaryMode here pNewModePanelInfo->MODEID = 0

PID:00400002 TID:0521000E BSPGetModeInfo here 1 modeNo = 0

PID:00400002 TID:0521000E DisplayGetPrimaryMode here pNewModePanelInfo->MODEID = 0

PID:00400002 TID:0521000E BSPGetVideoPixelDepthFromRegistry here dwVideoPixelDepth = 32, DISPLAY_REG_PATH = Drivers\Display\DDIPU

PID:00400002 TID:0521000E BSPEnableSecondaryPrimarySurface here

PID:00400002 TID:0521000E DisplayEanbleSPrimarySurface here Enable = 1

PID:00400002 TID:0521000E BSPIsRotationSupported here

PID:00400002 TID:0521000E BSPGetC2DInfoFromRegistry here

PID:00400002 TID:0521000E Display IOMUX setted.

PID:00400002 TID:0521000E BSPGetModeInfo here 1 modeNo = 0

PID:00400002 TID:0521000E DisplayGetPrimaryMode here pNewModePanelInfo->MODEID = 0

PID:00400002 TID:0521000E BSPGetModeInfo here 1 modeNo = 0

PID:00400002 TID:0521000E BSPGetModeInfo here 1 modeNo = 0

PID:00400002 TID:0521000E DisplaySetMode: g_pDI0PanelInfo->PANELID = 0

PID:00400002 TID:0521000E DisplaySetMode: g_pDI1PanelInfo->PANELID = 2

PID:00400002 TID:0521000E DisplaySetMode: g_pDI0PanelInfo->PIX_CLK_FREQ = 64995840

PID:00400002 TID:0521000E DisplaySetMode: g_pDI1PanelInfo->PIX_CLK_FREQ = 64995840

PID:00400002 TID:0521000E DisplaySetMode:g_bDI0Connected = 1

PID:00400002 TID:0521000E DisplaySetMode:pNewModePanelInfo->PORTID = 5

PID:00400002 TID:0521000E DisplaySetMode:g_pDI0PanelInfo->PORTID = 5

PID:00400002 TID:0521000E DisplaySetMode:g_bDI1Connected = 1

PID:00400002 TID:0521000E DisplaySetModeg_pDI1PanelInfo->PORTID = 3

PID:00400002 TID:0521000E BSPInitializePanel here

PID:00400002 TID:0521000E BSPInitializeDC here

PID:00400002 TID:0521000E SyncDCConfig here

PID:00400002 TID:0521000E SyncDCConfig + pDIPanelInfo->PORTID = 5, DISPLAY_PORT_VGA= 3

PID:00400002 TID:0521000E BSPInitializeDI here

PID:00400002 TID:0521000E SyncDIConfig here

PID:00400002 TID:0521000E SyncDIConfig pDIPanelInfo->PORTID = 5

PID:00400002 TID:0521000E BSPEnableDisplayClock here

PID:00400002 TID:0521000E BSPEnableDCChannels here

PID:00400002 TID:0521000E LVDSEnablePanel: LVDS come in

PID:00400002 TID:0521000E LVDSEnablePanel: 4

PID:00400002 TID:0521000E DI0->CH1 is not a recommended routine.

PID:00400002 TID:0521000E BSPEnablePanel here

PID:00400002 TID:0521000E DisplaySetMode:BSPEnablePanel

 

 

Thanks and Best Regards,

larson

 

Outcomes