Capturing 8 bit data on 10 mhz square wave

Status
Not open for further replies.

abhilash

Banned
hello friends,
i am doing a project in which i have to sample 8 bit parallel data on positive edge of 10 mhz clk.i used attachinterrupt() function on the clk pin,but i am unable to capture the every clk data.it is working with frequency less than 1 mhz. can anyone give me few pointers?

Thanks & Regards,
abhilash v
 
Yes: this is not possible without external additional Hardware like RAM.
We have 48MHz F_BUS, so only 4 cycles to capture the data at 10MHz.

The easiest is, to buy a cheap logic analysator :)
 
You might be able to keep up with 10 MHz using a tightly coded loop that polls the input pin, reads an 8 bit GPIO register and writes to a buffer. Maybe. Timing would be very tight, since 10 MHz is only 9 cycles.

The easy (but expensive) way to build this sort of project involves a FIFO memory chip. Here's one example:

http://www.cypress.com/?mpn=CY7C4261V-15JXC
 
Status
Not open for further replies.
Back
Top