SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
The BL is the interface with the memory (SDRAM). In that case, the SDRAM address and line offset registers must be programmed in units of 32 bytes.
Two types of data can be stored in memory: pixel data and dark frame data.
For pixel data, the HD and VD signals are reconstructed with:
The IPIPEIF_HNUM and IPIPEIF_VNUM registers define the number of pixels per line and lines per frame to read from the SDRAM, and the IPIPEIF_LPFR and IPIPEIF_PPLN registers define the interval of VD and HD, respectively.
Vertical blanking for the frame is defined with the following equation: IPIPEIF_LPFR – IPIPEIF_VNUM – 1.
Horizontal blanking for the frame must be at least eight ISP_FCLK cycles, and is defined with the following equation: IPIPEIF_PPLN – IPIPEIF_HNUM > 7.
Figure 9-38 shows the global frame definition for all SDRAM input modes, except for dark frame subtract.
For dark frame data, the HD and VD signals come from the VP through the ISIF. The IPIPEIF_PPLN and IPIPEIF_LPFR registers must be used to indicate the horizontal and vertical start position of the subtraction from the ISIF data, as shown in Figure 9-39. The value of the IPIPEIF_LPFR[12:0] LPFR bit field must be greater than 0 because the first line from the VP or ISIF cannot be subtracted from. The IPIPEIF_HNUM and IPIPEIF_VNUM registers must be used to set the number of valid pixels horizontally and the number of valid lines vertically.