Hello!
I'd like to raise the question already discussed several times on TI forums, but unfortunately I failed to find clear and detailed answer to the issue. If somebody can give me a link to explanation I will be very thankful.
The problem is dma resizer interrupt which is not running when set up is made for full vertical resolution. You can find similar discussions here :
http://e2e.ti.com/support/embedded/linux/f/354/t/62644.aspx
http://e2e.ti.com/support/embedded/linux/f/354/t/53786.aspx
http://e2e.ti.com/support/embedded/linux/f/354/t/143585.aspx
http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/100/p/219393/806734.aspx#806734
In my case, I have custom DM368 board which is supposed to be configured between PAL tvp5150 mode and 720P sensor. In case of 5150 everything works fine, while for 720P case dma resizer interrupt doesn't work, if setup is made for 720 lines. As a result of absence of the interrupt, DQBUF call stalls forever. When configured for smaller amount of lines (704 for instance) dma interrupt runs. At the same time VINT0 and VINT1 interrups run in all cases. The situation has already been described several times by other developers on the forum.
So, it looks like when triggering of VPSS is made by external SYNC pulses, resizer needs couple extra pulses to finish frame transmission to memory (or, it can be a result of configuration error, but where should I look for this error?). PAL decoder provides a lot of additional syncs during blank interval, that's why it works without problem.
TI employees, who took part in similar discussions ( Anshuman Saxena, ) mentioned that it could be a result of improper timing, but can it be explained in details: which timing adjustments are critical for the interrupt?
Thanks for any advice.
PS. I'm calling the source assigned to vpss_int5 "dma_resizer_interrupt", though in TI's VPFE user's guide (rev C) this interrupt source is still called "reserved"
PPS I've read in one of the forum threads about interesting workaround, based on replacement of interrupt source from 15 to 14 (resizer last pixel), but if 15 works OK for 720x576 and 1280x70x , probably it can be adjusted for normal work?
German Baranov