- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Camera Sensor CY7C68013A
PIXCLK------------> IFCLK
LINE_Sync--------> SLWR
FRAME_Sync-----> PKTEND
Data0..7-----------> FD0..FD7
I referred “9.Slave FIFO” in Technical Manual.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I’m trying to get video from camera using CY7C68013A.
Hardware connection
Image Sensor -----CY7C68013
PIXCLK------------>IFCLK
LINE_Sync-------->SLWR
FRAME_Sync------>PKTEND
Data0..7----------->FD0..FD7
Firmware-Setting
I am using EP6IN, AutoIN,BULK transfers, 512 byte 4x buffered.
I referred “9.Slave FIFO” in Technical Manual.
Windows program
It was made window program(Host) using streamer that provided by Cypress. This is pretty much adapted from the Streamer example.
Problem
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)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
-shub
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi James,
Are developing a Generic UVC device or a custom class video device?
Thanks
Subbarao.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Cheers,
Anand