SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
This section describes the VIP module from an environment point of view (external connections). It describes the VIP connectivity options and lists all possible interfaces. Figure 9-2 is a block diagram of the VIP environment.
Figure 9-2 VIP
EnvironmentThe path from a module pin to device pad(s) is defined at the device I/O logic level. The I/O logic maps the module signals to different pads of the device and is programmable in the device Control Module registers and/or dedicated module registers. For more information, see Pad Configuration Registers in Control Module.
Additionally, by configuring the [6:4] VIP_SEL_1A and [2:1] VIP_SEL_2A bit-fields of CTRL_CORE_VIP_MUX_SELECT register in the device Control Module it is possible to map the signals of the CAL video port (described in Section 8.3.2, CAL Integration - Video Port) to Port A of each VIP1 slice.
| Sub-module Name | Signal Name | Type(1) | Description |
|---|---|---|---|
| Slice 0 | vin1a_d[23:0] | I | Pixel data. |
| Port A | vin1a_clk0 | I | Pixel clock. |
| vin1a_vsync0 | I | Vertical synchronization. | |
| vin1a_hsync0(2) | I | Horizontal synchronization. | |
| vin1a_de0 | I | The DE signal acts as an Input-enable signal to indicate when data must be latched using the input clock. DE is also referred to as ACTVID throughout the VIP chapter. Both of these terms, ACTVID and DE, are the same and used interchangeably. | |
| vin1a_fld0(2) | I | The FID signal indicates the field identifier for the video input field:
| |
| Slice 0 | vin1b_d[7:0] | I | Pixel data. |
| Port B | vin1b_clk1 | I | Pixel clock. |
| vin1b_vsync1 | I | Vertical synchronization. | |
| vin1b_hsync1 | I | Horizontal synchronization. | |
| vin1b_de1 | I | The DE signal acts as an Input-enable signal to indicate when data must be latched using the input clock. DE is also referred to as ACTVID throughout the VIP chapter. Both of these terms, ACTVID and DE, are the same and used interchangeably. | |
| vin1b_fld1 | I | The FID signal indicates the field identifier for the video input field:
| |
| Slice 1 | vin2a_d[23:0] | I | Pixel data. |
| Port A | vin2a_clk0 | I | Pixel clock. |
| vin2a_vsync0 | I | Vertical synchronization. | |
| vin2a_hsync0(2) | I | Horizontal synchronization. | |
| vin2a_de0 | I | The DE signal acts as an Input-enable signal to indicate when data must be latched using the input clock. DE is also referred to as ACTVID throughout the VIP chapter. Both of these terms, ACTVID and DE, are the same and used interchangeably. | |
| vin2a_fld0(2) | I | The FID signal indicates the field identifier for the video input field:
| |
| Slice 1 | vin2b_d[7:0] | I | Pixel data. |
| Port B | vin2b_clk1 | I | Pixel clock. |
| vin2b_vsync1 | I | Vertical synchronization. | |
| vin2b_hsync1 | I | Horizontal synchronization. | |
| vin2b_de1 | I | The DE signal acts as an Input-enable signal to indicate when data must be latched using the input clock. DE is also referred to as ACTVID throughout the VIP chapter. Both of these terms, ACTVID and DE, are the same and used interchangeably. | |
| vin2b_fld1 | I | The FID signal indicates the field identifier for the LCD output field:
|
Table 9-2 summarizes the mapping of RGB and YUV color components to VIP input data signals, with corresponding settings of VIP_MAIN[1:0] DATA_INTERFACE_MODE register bit-field.
| VIP Port A Data Signals | VIP Port B Data Signals | 24-bit RGB888 Input Mode | 16-bit RGB565 Input Mode | 24-bit YUV444 Input Mode | 16-bit YUV422 Input Mode (1) | 8-bit YUV422 Input Mode (2) |
|---|---|---|---|---|---|---|
| X = 1 to 2 | X = 1 to 2 | DATA_INTERFACE_MODE = 00b | DATA_INTERFACE_MODE = 00b | DATA_INTERFACE_MODE = 00b | DATA_INTERFACE_MODE = 01b | DATA_INTERFACE_MODE = 10b |
| vinXa_d23 | - | Red 7 (MS bit) | Red 4 (MS bit) | Y7 (MS bit) | - | - |
| vinXa_d22 | - | Red 6 | Red 3 | Y6 | - | - |
| vinXa_d21 | - | Red 5 | Red 2 | Y5 | - | - |
| vinXa_d20 | - | Red 4 | Red 1 | Y4 | - | - |
| vinXa_d19 | - | Red 3 | Red 0 | Y3 | - | - |
| vinXa_d18 | - | Red 2 | - | Y2 | - | - |
| vinXa_d17 | - | Red 1 | - | Y1 | - | - |
| vinXa_d16 | - | Red 0 | - | Y0 | - | - |
| vinXa_d15 | - | Green 7 | Green 5 | Cb7 | Y7 (MS bit) | - |
| vinXa_d14 | - | Green 6 | Green 4 | Cb6 | Y6 | - |
| vinXa_d13 | - | Green 5 | Green 3 | Cb5 | Y5 | - |
| vinXa_d12 | - | Green 4 | Green 2 | Cb4 | Y4 | - |
| vinXa_d11 | - | Green 3 | Green 1 | Cb3 | Y3 | - |
| vinXa_d10 | - | Green 2 | Green 0 | Cb2 | Y2 | - |
| vinXa_d9 | - | Green 1 | - | Cb1 | Y1 | - |
| vinXa_d8 | - | Green 0 | - | Cb0 | Y0 | - |
| vinXa_d7 | vinXb_d7 | Blue 7 | Blue 4 | Cr7 | Cb7/Cr7/... | Cb7/Y7/Cr7/... (MS bit) |
| vinXa_d6 | vinXb_d6 | Blue 6 | Blue 3 | Cr6 | Cb6/Cr6/... | Cb6/Y6/Cr6/... |
| vinXa_d5 | vinXb_d5 | Blue 5 | Blue 2 | Cr5 | Cb5/Cr5/... | Cb5/Y5/Cr5/... |
| vinXa_d4 | vinXb_d4 | Blue 4 | Blue 1 | Cr4 | Cb4/Cr4/... | Cb4/Y4/Cr4/... |
| vinXa_d3 | vinXb_d3 | Blue 3 | Blue 0 (LS bit) | Cr3 | Cb3/Cr3/... | Cb3/Y3/Cr3/... |
| vinXa_d2 | vinXb_d2 | Blue 2 | - | Cr2 | Cb2/Cr2/... | Cb2/Y2/Cr2/... |
| vinXa_d1 | vinXb_d1 | Blue 1 | - | Cr1 | Cb1/Cr1/... | Cb1/Y1/Cr1/... |
| vinXa_d0 | vinXb_d0 | Blue 0 (LS bit) | - | Cr0 (LS bit) | Cb0/Cr0/... (LS bit) | Cb0/Y0/Cr0/... (LS bit) |
16-bit RGB data can be captured also on the vinXa_d[15:0] input data bus of Port A. In this case, the 16-bit RGB data captured by the VIP_PARSER will be passed to VPDMA, as if it is a 16-bit YUV data. The VIP_MAIN[1:0] DATA_INTERFACE_MODE register bit-field must be configured for a 16-bit input mode. The VPDMA will then directly store this data in memory as a 16-bit data, provided that any 16-bit data type in the VPDMA outbound descriptor is set.