- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone.
I'm using CX3 to transfer image data to Jetson Xavier board through USB port.
I'm using cyusb_bulk_transfer function and there is a problem of timeout.
When I check the packet transfer time, each packet tranfer usually takes 300 us but sometimes it takes 280000 us.
It causes severe frame drops of my system.
Is this due to CPU resources or an intrinsic problem of bulk data transfer?
Thank you in advance.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Edited: Since the device is working fine in another PCs and it is working as expected with Jetson Xavier. It looks like there is some issue on Jetson Xavier side.
Hello,
>> When I check the packet transfer time, each packet tranfer usually takes 300 us but sometimes it takes 280000 us.
>> It causes severe frame drops of my system.
>> Is this due to CPU resources or an intrinsic problem of bulk data transfer?
There are no problem with bulk data transfer. It should work perfectly from the device side.
It looks like there is issue on the Jetson Xavier CPU side.
Please capture the USB traces and collect the UART logs to debug further.
Regards,
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Can you please let me know how did you come across this number 300 us and 280000 us?
Also mention which host application that you are using to receive/transmit the bulk data.
Regards,
Sridhar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I used gettimeofday function in <sys/time.h> back and forth of cyusb_bulk_transfer function call.
Differences of the values are usually 300 usec but sometimes they are upto 280000 usec and caused frame drops.
The application is a modified version of 08_cybulk.cpp in "FX3_SDK_1.3.4_Linux\cyusb_linux_1.0.5\src" and its structure is the same.
The application perfectly works on other ubuntu or windows PC but there are frame drops in xavier.
Thank you in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Edited: Since the device is working fine in another PCs and it is working as expected with Jetson Xavier. It looks like there is some issue on Jetson Xavier side.
Hello,
>> When I check the packet transfer time, each packet tranfer usually takes 300 us but sometimes it takes 280000 us.
>> It causes severe frame drops of my system.
>> Is this due to CPU resources or an intrinsic problem of bulk data transfer?
There are no problem with bulk data transfer. It should work perfectly from the device side.
It looks like there is issue on the Jetson Xavier CPU side.
Please capture the USB traces and collect the UART logs to debug further.
Regards,
Sridhar