Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > How to capture Data from FX3 on PC Host

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



How to capture Data from FX3 on PC Host
Moderator:
RSKV

Post Reply
Follow this topic



How to capture Data from FX3 on PC Host

Phuc Nguyen Pham posted on 06 May 2013 4:15 PM PST
Member
5 Forum Posts

 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




Re: How to capture Data from FX3 on PC Host

PRJI posted on 06 May 2013 08:42 PM PST
Cypress Employee
329 Forum Posts

 Hi,

Yes, you can modify Control Center for capturing data.

Do you want to stream data from FX3?

-PRJI



Re: How to capture Data from FX3 on PC Host

Phuc Nguyen Pham posted on 07 May 2013 11:09 PM PST
Member
5 Forum Posts

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

 



Re: How to capture Data from FX3 on PC Host

PRJI posted on 07 May 2013 03:17 AM PST
Cypress Employee
329 Forum Posts

 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



Re: How to capture Data from FX3 on PC Host

Phuc Nguyen Pham posted on 10 May 2013 08:10 PM PST
Member
5 Forum Posts

 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.
 
 

 



Re: How to capture Data from FX3 on PC Host

PRJI posted on 14 May 2013 06:31 PM PST
Cypress Employee
329 Forum Posts
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




ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20