Hello,
I am currently using an OMAP3530 with an decoder chip(tvp5146m2). There are only cam[7:0], vs, hs and cam_pclk connected.
Now there is a function busy() always return 1 representing the ccdc is always busy. This busy() is called by isp_buf_process(). Meanwhile Isp_buf_process() is called by omap34xx_isp_isr(). I already enable ccdc before tvp5146.
According to the OMAP3 TRM, "The CCDC_PCR 1] BUSY status bit is set when the start of frame occurs (if the CCDC_PCR[0] ENABLE bit is 1 at that time). It is automatically reset to 0 at the end of a frame."(spruf98p, page 1465)
Also some questions confusing me much are as follows:
1. Is it necessary to connect the cam_fld pin in ITU-R BT.656 mode? According to the OMAP3 TRM, cam_fld is left unconnected in Parallel Interface in ITU-R BT.656 Configuration(page 1316). However, fld field in CCDC_SYN_MODE is always 1 every time when isp interrupt occurs.
2. What is the exact value of VDINT to trigger isp interrupt? In ITU-R BT.656(PAL) mode, the number of active lines and of frame lines is 576 and 625, respectively. How does isp counts lines to reach VDINT? I have tried 287 and 312(interlaced frame). Both trigger isp interrupt. But 313 does not. What is strange to me is that TI's default value is 287.
3. How ITU-R BT.656(PAL) data are processed by isp is what I want to know most. A relative document will be highly appreciated.
Thanks in advance,
Jack