I’m trying to get video from camera using CY7C68013A.
Image Sensor -----CY7C68013
I am using EP6IN, AutoIN,BULK transfers, 512 byte 4x buffered.
I referred “9.Slave FIFO” in Technical Manual.
It was made window program(Host) using streamer that provided by Cypress. This is pretty much adapted from the Streamer example.
Window program received data but can’t be synchronized.
(Please, See attached image file)
I want to get images like left side image, but I got images like right side image and the start pixel changed everytime.
How can I get synchronized image(video)?
The easiest way is to set width and height of the image such that (width x height) mod 512 is not zero. Then any packet received which is not 512 bytes long is the last in the frame.
Try addind a header at the start of a frame before sending frame to pc.If it is costing you bandwidth try adding header once in multiple frames.
This thread is very old and I doubt James is monitoring it.
Going by his statement that he is using Streamer based host application he is most probably using CyUSB.sys hence a custom video class implementation.