Hi All,
I would like to ask a question on VPFE.
According to 643x VPFE document SPRU977a, page 89, Fig.55 VDINT0/VDINT1 Interrupt Behavior when VDPOL = 0, VPFE interrupt
VDINT0- VDINT1
are generated at the rising (in Fig.56 falling) edge of external VD. Therefore if one wants to use either of these two interrupts’ service routine, for example, VDINT0’s ISR, to change SDR_ADDR, when will SDR_ADDR be latched?
I am asking this question because in page 133, SDR_ADDR is said to be “latched by VD”. If we write code to change SDR_ADDR at the beginning of VDINT0’s ISR, so that upon entering it the command of changing SDR_ADDR is immediately issued, when will it be latched?
If it requires only a positive (or negative, in Fig. 56) VD, then the new value of SDR_ADDR will be effectively latched during the same external VD period.- However, if it can only be latched at the rising (in Fig.56 falling) edge of external VD, then it cannot be latched within the current VD period, but instead has to wait until the next VD, which means one additional frame time has to elapse.
Which is the case? It seems to me a very important question and I welcome anyone who would provide his/her opinion.
Sincerely,
Zheng