can fx3 receive command for camera sensor from the host while it is streaming video ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

I want to know whether the fx3 development board can receive a command from PC while it is busy is streaming video. If it is possible then whether the streaming will be halted or continued simultaneously while receiving command   

0 Likes
1 Solution
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

I hope by 'receive a command from PC', you mean a control request.

If fx3 enumerated as 2.0 device:

Then, the BULK channel will be suspended during the handling of control transfer. Streaming is halted for some duration.

If fx3 enumerated as 3.0 device:

Then, both can happen simultaneously with interruption to streaming.

Regards,

Hemanth

Hemanth

View solution in original post

0 Likes
6 Replies
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

I hope by 'receive a command from PC', you mean a control request.

If fx3 enumerated as 2.0 device:

Then, the BULK channel will be suspended during the handling of control transfer. Streaming is halted for some duration.

If fx3 enumerated as 3.0 device:

Then, both can happen simultaneously with interruption to streaming.

Regards,

Hemanth

Hemanth
0 Likes
Anonymous
Not applicable

Thank you for the information. I will be happy if I find those information

in some document or any datasheets. so, can you suggest me a documents

which speak reading these information.

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

Please refer to Section 2.3 -> IV -> Point 2 of FX3_SDK_TroubleShooting_Guide.pdf in the following path:

"InstallPath\EZ-USB FX3 SDK\1.3\doc\firmware"

Regards,

Hemanth

Hemanth
0 Likes
Anonymous
Not applicable

Thank you,

Information is so useful for me.

0 Likes
Anonymous
Not applicable

what is the maximum size of video frame can be sent over the fx3 USB 3.0

0 Likes
Hemanth
Moderator
Moderator
Moderator
First like given First question asked 750 replies posted

Hi,

The GPIF of FX3 can run at a maximum rate of 100MHz. If the data bus width is 32, then the maximum possible bandwidth would be 400MB/s.

You have to consider the following to decide whether streaming can be done:

1. Your image data rate: (H active in bytes) * (V active in bytes) * fps should not exceed the bandwidth possible over GPIF.

2. (One line data in bytes)/(Total Horizontal Time) gives you the average data rate that is needed on USB bus. You have to make sure that this is achievable on the USB bus.

3. Make sure that the line size in bytes is a multiple of GPIF data bus width selected.

4. With the AN75779 GPIF state machine you have to make sure that the vertical blanking is atleast 500uS.

4K resolution can also be streaming, providing all of the above are taken care.

Regards,

Hemanth

Hemanth
0 Likes