- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Currently, I am not able to receive data at the bitrate supported by the sensor. After testing with several register sets, I found a suspicious part. When testing, the other source codes were the same, and only the register set was changed. Also, Streamer was not modified. I am referring to firmware from this thread Solved: FX3 / CX3 Firmware for Streaming RAW Image Data us... - Cypress Developer Community.
As above images, bitrate was measured in half in all tests. What part should I look into to get the calculated bitrate data?
Solved! Go to Solution.
- Labels:
-
USB Superspeed Peripherals
- Tags:
- low bitrate
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Philip,
In the above picture, I see 37 prod events and 37 cons events. So, there are equal number of producer and consumer events. This is as expected.
But in the second line, I see prod as 13422 and cons as 353. For this, can you please attach your project so that I can see how this is getting printed.
Number of producer events for a frame will depend on the DMA buffer size and the frame size. Can you please let me know what they are. And if there are no commit buffer failures number of consumer events should become equal to producer events.
Also please let me know the FX3 SDK version you are using.
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please try increasing the 'Packets per Xfer' value in streamer.
When you mentioned that you tried different register sets, does it mean different resolutions as indicated in the table above?
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello Hemanth,
Thanks for your response.
Please try increasing the 'Packets per Xfer' value in streamer.
>> I also tested by changing 'Packets per Xfer' and 'Xfers to Queue', but the pictures above are the highest bitrate each. When the value is less than a certain value, the bitrate is reduced, but in the case of a value greater than the threshold, the bitrate is the same as above.
When you mentioned that you tried different register sets, does it mean different resolutions as indicated in the table above?
>> Yes, it does. In order to test whether the bitrate is low due to insufficient bandwidth, I tried using several register sets. But it doesn't seem to be a bandwidth issue.
Regards,
Philip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Philip,
In the above picture, I see 37 prod events and 37 cons events. So, there are equal number of producer and consumer events. This is as expected.
But in the second line, I see prod as 13422 and cons as 353. For this, can you please attach your project so that I can see how this is getting printed.
Number of producer events for a frame will depend on the DMA buffer size and the frame size. Can you please let me know what they are. And if there are no commit buffer failures number of consumer events should become equal to producer events.
Also please let me know the FX3 SDK version you are using.
Regards,