ts-7000
[Top] [All Lists]

[ts-7000] Re: Can I use xdio of ts-7300 as CMOS sensor interface?

To:
Subject: [ts-7000] Re: Can I use xdio of ts-7300 as CMOS sensor interface?
From: "zzmde" <>
Date: Fri, 25 May 2007 07:54:56 -0000
Thank you very much for your quick response!
Now I agree with you that I need to write a FPGA code to FIFO the 
byte data from XDIO to a block of memory in SDRAM. I plan to revise 
the ts7300-opencore to achieve this.
Since most memory in FPGA is reserved for video-core or sd-core, what 
I want to use is the RAM reserved for ethernet (because I don't need 
the ethernet in the final product). The manual saids that Ethernet 
packet ram from 0x7210_0000 - 0x7210_ffff (32-bit, 8Kbyte).
Is there a simple code that I fifo the pixel data to the 8KB ram 
synchronously (1 pixel per 41.7ns)? that is 
pixel 1 (DIO0 to DIO7)-> 0x7210_0000
wait 41.7ns
pixel 2 (DIO0 to DIO7) -> 0x7210_0001
wait 41.7ns
pixel 3 (DIO0 to DIO7) -> 0x7210_0002
wait 41.7ns
pixel 4 (DIO0 to DIO7) -> 0x7210_0003...

Thanks,
Zhaomin

--- In  David Hawkins <> wrote:
> 
> You'd need to explain your CMOS interface.
> 
> If the sensor uses a read-control signal, and data
> bits, and your controlling those, then all you'd have
> to do is slow the sensor enough that you could read
> 640 times before the next frame.
> 
> However, if the sensor just writes out 640-samples at
> a fixed clock rate, you'd be better writing some FPGA
> code.
> 
> I haven't used the XDIO interfaces other than to test
> toggle rates. Its possible there is a mode that you
> can use them in, but I couldn't comment on it.
> 
> Given that you can slow the sensor down, the FPGA code would
> be as simple as a FIFO. The sensor would write synchronously
> to the FIFO, while the Linux code would read from it
> (asynchronously). So long as the worst-case latency of
> Linux is absorbed by the FIFO, you shouldn't lose any
> data. If you're more adventurous, then have the FPGA
> write to SDRAM, and then read from SDRAM.
> 
> I hope that gives you some ideas,
> 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/
 

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU