Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Multi FX2 devices parallel access

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



Multi FX2 devices parallel access
Moderator:
RSKV

Post Reply
Follow this topic



Multi FX2 devices parallel access

RIE posted on 04 Mar 2012 11:00 PM PST
Member
2 Forum Posts

I have 2 FX2 devices with different PIDs. Is it possible to open 2 of them for parallel control. If it so please advice how to do it

Thanks




Re: Multi FX2 devices parallel access

PRJI posted on 05 Mar 2012 12:57 AM PST
Cypress Employee
333 Forum Posts

 Hi,

       Yes, It is. Please explain your requirement in detail so that we can help you more.

 



Re: Multi FX2 devices parallel access

RIE posted on 05 Mar 2012 07:10 AM PST
Member
2 Forum Posts

Hi PRJI, thanks for your help.

Here is the situation: I have 2 controller boards which use CY7C68013A for controlling communication with PC. They are the same VID but different PID, thus CyUSB can recognize them through their PID. I have no problem control each board one of a time, but if I try to control both of them in parallel by using 2 separate threads for each device, then runtime error issues happen. I lose the board control randomly (timeout). Seem to me that I just can take control on one board at a time.

On the app not of CyAPI, I find that if I open one device then it will call close() first if there is any open. This could be my problem since I try to open the handle for 2 devices in their thread. Thus if I open device 1 then will close then handle of device 2 if devece 2's opened --> lose the control of the device 2 control.

I really don't know how to work around on the issue. Is there any way to get a separate handle for each device?

Regards

 



Re: Multi FX2 devices parallel access

PRJI posted on 08 Mar 2012 06:29 AM PST
Cypress Employee
333 Forum Posts

 Hi,

        It can be done. Please create a tech support case at Support>Technical Support>Create my case: so that one of our Engineers can help you on this.

 






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