SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
This subsequence describes the setting for horizontal and vertical synchronization and signal polarity (see Table 13-120).
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Configure spatial/temporal dithering | ||
Select spatial/temporal number of frames. | DISPC_CONTROLo[31:30] SPATIALTEMPORALDITHERINGFRAMES | 0x– |
Enable spatial/temporal dithering. | DISPC_CONTROLo[7] STDITHERENABLE | 0x– |
Configure AC-bias | ||
Configure the VSYNC, HSYNC and AC bias polarity. | DISPC_POL_FREQo | 0x– |
Configure the gating of AC bias polarity. | DISPC_CONFIGo[8] ACBIASGATED | 0x– |
Configure the AC bias polarity. | DISPC_POL_FREQo[15] IEO | 0x– |
Set the AC bias frequency. | DISPC_POL_FREQo[7:0] ACB | 0x– |
Set the number of AC bias transitions per interrupt. | DISPC_POL_FREQo[11:8] ACBI | 0x– |
Configure the pixel clock | ||
Set the DISPC logic clock divisor. | DISPC_DIVISORo[23:16] LCD | 0x– |
Set the pixel clock divisor. | DISPC_DIVISORo[7:0] PCD | 0x– |
Configure the gating of pixel clock. | DISPC_CONFIGo[5] PIXELCLOCKGATED | 0x– |
Configure the data | ||
Set the pixel clock edge to drive data output. | DISPC_POL_FREQo[14] IPC and CTRL_CORE_SMA_SW_1[]DSS_CHx_IPC(1) | 0x– |
Configure the gating of data output. | DISPC_CONFIGo[4] PIXELDATAGATED | 0x– |
Set the data output mode. | DISPC_CONFIGo[22] OUTPUTMODEENABLE | 0x– |
Configure the panel parameters | ||
Set the vertical TV size. | DISPC_SIZE_LCDo[27:16] LPP | 0x– |
Set the horizontal TV size. | DISPC_SIZE_LCDo[11:0] PPL | 0x– |
Set the panel type. | DISPC_CONTROLo[3] STNTFT | 0x– |
Configure the refresh rate and horizontal and vertical parameters | ||
Set the vertical synchronization timing. | DISPC_TIMING_Vo[31:20][19:8][7:0], VBP, VFP, VSW | 0x– |
Configure the VSYNC polarity. | DISPC_POL_FREQo[12] IVS | 0x– |
Configure the gating of VSYNC. | DISPC_CONFIGo[7] VSYNCGATED | 0x– |
Set the horizontal synchronization timing. | DISPC_TIMING_Ho[31:20][19:8][7:0], HBP, HFP, HSW | 0x– |
Configure the HSYNC polarity. | DISPC_POL_FREQo[13] IHS | 0x– |
Configure the gating of HSYNC. | DISPC_CONFIGo[6] HSYNCGATED | 0x– |
Set the opposition of HSYNC and VSYNC driving. | DISPC_POL_FREQo[17] ONOFF and CTRL_CORE_SMA_SW_1[]DSS_CHx_ON_OFF(1) | 0x– |
If DISPC_POL_FREQo[17] = 1, set the pixel clock edge to drive HSYNC and VSYNC. | DISPC_POL_FREQo[16] RF and CTRL_CORE_SMA_SW_1[]DSS_CHx_RF(1) | 0x– |
Set the alignment of HSYNC and VSYNC. | DISPC_POL_FREQo[18] ALIGN | 0x– |