How to capture Data from FX3 on PC Host

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

cross mob
Anonymous
Not applicable

 Hello,

   

             We are trying to generate random bytes on the FX3 to send to the PC. However, we are not sure how to create and capture the data. Which example should we look at to start with this process? Can we view this data in the control center?

   

Regards,

   

Phuc

0 Likes
5 Replies
Anonymous
Not applicable

 Hi,

   

Yes, you can modify Control Center for capturing data.

   

Do you want to stream data from FX3?

   

-PRJI

0 Likes
Anonymous
Not applicable

Hello PRJI,

   

       Thank you for your answer. Here is our setup:             Image Sensor <=> FPGA <=> FX3 <=> PC

   

       We are trying to capture the data from the FPGA and send it to the PC through FX3. However, we want to generate dummy data first on the FX3 to make sure that we can transfer to PC and receive them correctly. From you answers, it appears that we can modify Control Center to capture the data sent to PC from the FX3, but how can we do so? Is there any tutorial or examples that you can point me to? And how can we generate dummy data on the FX3?

   

Thanks,

   

Phuc

0 Likes
Anonymous
Not applicable

 Hi,

   

I think Streamer is the best example you can start with. Streamer example pumps 0xAA from FX3 to PC. In the PC end you need to receive data in a buffer and display it.

   

-PRJI

0 Likes
Anonymous
Not applicable

 Hello PRJI,

   

               Thank you for your reply. I have been playing around with the example codes given with the SDK for a while now. Is there anyway I can incorporate the USBDebug into USBBulkLoopAutoManyToOne? I have attempted to do so for a couple days. The project can be built; however, the FX3 doesn't appear in the Control Center after the img was loaded on it. I have included the source code along with this post, can you take a look and show me where I mess up? 

   

http://pastebin.com/Fgxrk9ZQ (cyfxbulklpautomanytoone.c)

   

http://pastebin.com/kiNUvB9C (cyfxbulklpautomanytoone.h)

   

http://pastebin.com/7SBB9g2e (cyfxbulklpdscr.c)

   
     Thank you.   
   
     Phuc   
   
    
P/s: I'm running on USB 2.0 so I didn't modify the USB3.0 section in the cyfxbulklpdscr.c file.
   
   
        
   
        
0 Likes
Anonymous
Not applicable
        Hi, Please try to build your Host app first, which receives data from FX3 and displays. Attached firmware pumps 0xAA to PC. You can try this in control center as well. -PRJI   
0 Likes