2025-01-02 06:52 AM
Hi,I'am a beginner of STM32F469 DISCO-AU1.
In the Next week,I will use STM32F469 to light up a external screen. This external screen's driver IC is GC9503CV.It can only work in video mode(In my opinion).
In order to do early prepare,So I am trying to let STM32F469I DISCO-AU1 work in video mode,use TOUCHGFX tool,but I failed.
I have view a lot about F469 vedio mode,download and rewrite and try for 1 month ,but finally failed.
Does now have a STM32F469 DISCO-AU1&TOUCHGFX&Video mode example?
I upload two project ,one is video mode failed project named "M1-H800",one is cmd mode succeeful project named "M1-H800-OK"
I want to know the key error of my DSI video mode setting. Thanks a lot.
This is now a part setting of MX_DSIHOST_DSI_Init:
VidCfg.VirtualChannelID = 0;
VidCfg.ColorCoding = DSI_RGB565;
VidCfg.LooselyPacked = DSI_LOOSELY_PACKED_DISABLE;
VidCfg.Mode = DSI_VID_MODE_BURST;
VidCfg.PacketSize = 800;
VidCfg.NumberOfChunks = 0;
VidCfg.NullPacketSize = 0xfff; //0XFFF
VidCfg.HSPolarity = DSI_HSYNC_ACTIVE_HIGH;
VidCfg.VSPolarity = DSI_VSYNC_ACTIVE_HIGH;
VidCfg.DEPolarity = DSI_DATA_ENABLE_ACTIVE_HIGH;
VidCfg.HorizontalSyncActive = 4;
VidCfg.HorizontalBackPorch = 77; //71
VidCfg.HorizontalLine = 1977; //1813
VidCfg.VerticalSyncActive = 1; //1
VidCfg.VerticalBackPorch = 15; //16
VidCfg.VerticalFrontPorch = 16; //15
VidCfg.VerticalActive = 480;
VidCfg.LPCommandEnable = DSI_LP_COMMAND_ENABLE;
VidCfg.LPLargestPacketSize = 0;
VidCfg.LPVACTLargestPacketSize = 16;
VidCfg.LPHorizontalFrontPorchEnable = DSI_LP_HFP_ENABLE;
VidCfg.LPHorizontalBackPorchEnable = DSI_LP_HBP_ENABLE;
VidCfg.LPVerticalActiveEnable = DSI_LP_VACT_ENABLE;
VidCfg.LPVerticalFrontPorchEnable = DSI_LP_VFP_ENABLE;
VidCfg.LPVerticalBackPorchEnable = DSI_LP_VBP_ENABLE;
VidCfg.LPVerticalSyncActiveEnable = DSI_LP_VSYNC_ENABLE;
VidCfg.FrameBTAAcknowledgeEnable = DSI_FBTAA_DISABLE;
if (HAL_DSI_ConfigVideoMode(&hdsi, &VidCfg) != HAL_OK)
{
Error_Handler();
}
if (HAL_DSI_SetGenericVCID(&hdsi, 0) != HAL_OK)
{
Error_Handler();
}
2025-01-02 07:26 AM