- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used the example of cycx3 UVC ov5640 of the cx3 to modify the DMA callback and realize an image transmission in u3v format through override mode. But I found that every other complete frame, there will be a problem that the next frame does not come for a long time, which can be solved by re start and stop the acquisition. I want to know why?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please program the firmware attached and check the traces (Wireshark)
I have disabled the GPIF state machine on getting one frame and then sending 10 bytes of data (DMA Override mode). When the transfers are complete enabling the GPIF state machine and sampling the next frame.
You can add two buffers in this firmware as per you application
Please let me know if it helps
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please confirm that are you getting the PROD_EVENTS.
How many PROD_EVENTS do you get. You can increment a variable in the DMA callback and print the value in the for {}.
Also, let me know the value of count parameter (second parameter) passed to CyU3PDmaMultiChannelSetXfer API and the DMA channel configuration used.
Do you get any error prints in the debug logs? If yes please share your debug logs
Regards,
Rashi
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please program the firmware attached and check the traces (Wireshark)
I have disabled the GPIF state machine on getting one frame and then sending 10 bytes of data (DMA Override mode). When the transfers are complete enabling the GPIF state machine and sampling the next frame.
You can add two buffers in this firmware as per you application
Please let me know if it helps
Regards,
Rashi
Rashi