- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am currently working with a CX3 in order to transfer data frame from a CIS sensor to the host.
I need to send some custom information with each frame for, but I don't know if it is possible to modify or add byte information into Payload Header or to the end of the frame.
Please could you give me same advice about how to do that? I guess I will have to modify the DMA buffer size in order to add byte information. But I would like to know if there are already some bytes that I can modify without to change the DMA buffer size.
Thanks.
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the following thread where a similar query was asked before:
Please let me know if this is not your requirement. Also, please let me know if you need any clarifications on the responses given in the above thread.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to the following thread where a similar query was asked before:
Please let me know if this is not your requirement. Also, please let me know if you need any clarifications on the responses given in the above thread.
Jayakrishna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Before starting to modify the CX3_UVC_STREAM_BUF_SIZE.
I know that there is a UVC DMA buffer footer buffer which recently has 4 bytes.
I just want to send to host a single byte information. For this reason, Could I modify one of these 4 footer bytes which already are in buffer? Or these 4 footer bytes are not settable?
On the other hand, I have seen the CyCx3UvcAppAddHeader() function to write the header information. How could we do in case to write information in the footer? I guess It could be similar but changing the pointer address
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please let us know where exactly do you want to add the custom data in the video frame? Is it at the end of the last partial buffer or do you want to add information in each DMA buffer sent to the host?
Also, please let me know the amount of bytes to be added. Is it just one byte or is it a set of bytes?
Instead of adding data to footer, you can directly add data to the end of the DMA buffer and modify the DMA buffer size & footer size appropriately as mentioned in the thread link shared before.
Jayakrishna