SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
DISPC supports maximum 256 bytes of horizontal blanking when the LCD outputs are configured in BT modes (bitfield HSW of DISPC_TIMING_H1/2/3 registers is 8 bits wide). This is not compliant with BT.656 and BT.1120 standards, both of which require higher blanking periods. If more than 256 bytes of horizontal blanking are required by the application, then the RGB mode must be used for the LCD outputs.
Table 13-121 lists the steps to configure BT.656 or BT1120.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Enable BT.656 mode (1) | DISPC_CONFIGo[20] BT656ENABLE | 0x1 |
Enable BT.1120 mode (1) | DISPC_CONFIGo[21] BT1120ENABLE | 0x1 |
Configure the blanking values | See Table 13-122 | - |
Configure the color phase rotation block | See Table 13-119 | - |
Disable STALL mode | DISPC_CONTROLo[11] STALLMODE | 0x0 |
Disable TDM | DISPC_CONTROLo[20] TDMENABLE | 0x0 |
Table 13-122 lists the blankng values for BT.656 and BT.1120.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
For Progressive Mode | ||
Select progressive mode | DISPC_CONFIGo[22] OUTPUTMODEENABLE | 0x0 |
Set Horizontal blanking | DISPC_TIMING_Ho[7:0] HSW | 0x- |
Set Vertical frame blanking No 1 | DISPC_TIMING_Vo[19:8] VFP | 0x- |
Set Vertical frame blanking No 2 | DISPC_TIMING_Vo[31:20] VBP | 0x- |
Set Number of lines | DISPC_SIZE_LCD1[27:16] LPP | 0x- |
Set Number of pixels per line | DISPC_SIZE_LCD1[11:0] PPL | 0x- |
For Interlaced Mode | ||
Select interlaced mode | DISPC_CONFIGo[22] OUTPUTMODEENABLE | 0x1 |
Set Horizontal blanking | DISPC_TIMING_Ho[7:0] HSW | 0x- |
Set Vertical field blanking No 1 for Even Field | DISPC_TIMING_Ho[19:8] HFP | 0x- |
Set Vertical field blanking No 2 for Even Field | DISPC_TIMING_Ho[31:20] HBP | 0x- |
Set Vertical field blanking No 1 for Odd Field | DISPC_TIMING_Vo[19:8] VFP | 0x- |
Set Vertical field blanking No 2 for Odd Field | DISPC_TIMING_Vo[31:20] VBP | 0x- |
Set Number of lines per field (even) | DISPC_SIZE_LCD1[27:16] LPP | 0x- |
Set Delta number of odd field compared to even field (in a single line) | DISPC_SIZE_LCD1[15:14] DELTA | 0x- |
Set Number of pixels per line | DISPC_SIZE_LCD1[11:0] PPL | 0x- |