Hi All,
I would like to ask quantitatively on some details of VPFE.
According to SPRU977a, page 24, Fig. 5 “BT.656 signal interface”, which describes BT.656 signal interface configuration, timing sequence and signal rise/fall graph is given on the relationship between external BT.656 and internal signal CCDC signal.
8512.Fig.5 BT.656 Signal Interface.pdf
Please refer to the PDF file (1 page, extracted) if the picture quality is not good.
I have several questions on this, all quantitatively:
First is on the edge of HD and VD.
In this graph internal HD and VD are negative during SAV, so upon entering or exiting SAV there are both first a falling edge and then a rising edge. Since many of the registers, including SDRAM address register SDR_ADDR, are all “latched by VD” according to the specification (p.133, table 67), so does these “latched by VD” registers latched at the rising or falling edge of the internal VD here?
How long is the latency? The forgoing question is probably trivial since as long as the data is latched after the period of VD, it doesn’t matter whether on the falling or rising end this happens. But after the register is latched, specifically, taking the particular case of SDR_ADDR, will the frame immediately following this preceding VD be written to a new address specified by the updated SDR_ADDR? It is just a question on the latency so that how long the new setting will start to take effect.
Second is on the length of HD and VD.
In this graph the internal HD and VD have equal length as SAV, which, according to BT.656 standard, is a four bytes sequence FF 00 00 XY. Therefore, does the bottom of HD and VD also last for the time equaling the transferring time for four bytes?
Third is on “internal delay”.
In this graph there is an internal delay between “Data in” and “Internal data”. For
1. “Data in”, is this the data from image sensor or encoder?
2. “Internal data”: According to p.14, Fig.1” Video Processing Subsystem (VPSS) Block Diagram”, and p.19, Fig.2 “VPFE block diagram”, and the first section in p.15 that CCDC “provide an interface to image sensors and digital video sources”, do does “internal data” here mean the output of CCDC, which goes to VPI (video port interface) in Fig.1which are then supplied to either resize, previewer, H3A or histogram?
Fourth is on SPH.
According to p.129, Table 61, SPH:
“Sets pixel clock position at which data output to SDRAM begins, measured from the start of HD.”
But contrary to this description, in this graph, the left end of the SPH interval is aligned with the rising end of HD, which is its end rather than start. Why there is such a difference here? From where should SPH be measured?
I sincerely appreciate anyone who would answer these questions.
Zheng