Forum Discussion
Altera_Forum
Honored Contributor
11 years agoI have decided to not use a FIFO. I guess I will need the following:
- use a 50Mhz master clock. To the sensors this will be a half clock. - divide by 2 and use as main clock for the sensors -For each sensor: latch the data on the rising edge of the pixel clock (which is almost the same as the sensors main clock) - Clock out the 1st sensors data on the 1st half-clock cycle after reception of the data - clock out the 2ns sensors data on the 2nd half-clock cycle I think you can call this pretty much synchronous. There might be some skew issues, but the basic phase info will be known. Yes the MCU will mainly use DMA. The data will be transferred from the sensor to USB through a FIFO. The basic rate is a bit too fast for USB, so the data will need to be temporarily buffered. One DMA will take the image data to the RAM. The other will move from memory to USB. The sensor has blanking periods in which the FIFO can be flushed. Fortunately we can afford to use a lower frequency for sensor clk if the MCU will not keep up.