> Why no one answer my question? Are there any experts
> from the vendor in this group?
Perhaps because this is a question you can answer
yourself with an oscilloscope and time.
>> I want to interface a 1.3MPixel CMOS sensor to the xdio port of ts-
>> 7300. The xclock frequency of camera is 24Mhz, which means each pixel
>> should be read within 41.7ns. Can xdio achieve this high speed? I
> ever write the following code:
>>
>> unsigned char buf[1280*4];
>> for (i=0;i<1280*4;i++){
>> buf[i]=xd2->base[2];
>> }
>>
>> but it can only capure about 200 pixels per line. Why?
Write a simple test where you toggle an XDIO line.
Disassemble the code to check that it is the minimum
number of lines possible, if not, code it in assembler.
Run the test code with a scope attached to the XDIO
line.
Whats the frequency? This is the best you can do.
If its not good enough, write some VHDL/Verilog :)
Of course, if the data rate between the ARM processor and
the FPGA exceeds the rate you prove with inline assembler,
then it'll never work.
I'm not sure if the TS documentation has information on
the maximum transfer bandwidth between the ARM and the
FPGA - anyone?
I plan to measure it, so when I get done, I'll post the
data.
Cheers,
Dave
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|