Other Parts Discussed in Thread: TMS320DM648
Hi all!
I have DM648 Evaluation Module and I'm working with Videoprot 2 which is connected to my prototype board. My data are not standart video data so I configured Videoport to use Raw Data Capture Mode. I use Noncontinuous frame capture mode now and I generate only one CAPEN by my board.
I started experiments with VCLK about 65MHz and data length was 1024 samples. Everything was OK. Then I increased length up to 8192 samples (maximum length which I have to support) and I got Capture Overrun Interrupt. As I understand it means that EDMA3 takes data from Videoport slower than Videoport takes them from the board.
Then I started to decrease VCLK and with VCLK=10MHz everything was OK again. I use 2 bytes for sample so the speed seems to be about 20 Mb per second.
To check the value of speed I made another one experiment. I set the length of data equal 1024 samples and used only one event to copy data from Videoport FIFO to memory. I think, in this case the time between Capture Complete (in Videoport) and Transfer Complete (In EDMA) is a time of copying data from Videoport to DDR2. In Capture complete interrupt handler I set one of free GPIO as 1 and in in Transfer complete interrupt handler I set it as 0. Using oscilloscope I found out that the time was about 100 micro seconds per 1024*2 bytes so the speed was again about 20 Mb per second.
Is 20 Mb/s is a limit speed of data capturing for Videoport or there must be an error somewhere in my settings.
Thanks in advance and sorry for so long explanation.
Victor