- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello
The product (CY7C65211A) is connected to the HOST PC (Windows 10) via USB. Up to 16 products can be connected to one PC.
They need to identify multiple connected devices using Cypress API.
In particular, The device is selected and operated with the device number (deviceNumber) obtained by the CyGetListofDevices () function included in CyUSBSerial.h.
So, they want to know the physical location of the device corresponding to this device number, but it seems that there is no parameter that can be distinguished in CyUSBSerial.h when the same device is connected multiple times. Is there a better way?
Best Regards
Arai
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please refer to this KBA: Accessing Multiple USB-Serial Devices using the Device Instance Path – KBA228257 and use the function GetDevicePath() mentioned in the KBA. Using this you can get the unique device instance path of a Cypress device by passing the device number as an argument.
Another method to identify a cypress device is assigning a unique serial number to each device and retrieving the same using the CyGetDeviceInfo API and CY_DEVICE_INFO structure from the Cypress USB-Serial API library. Please refer to the API document in the USB-Serial SDK.
Thanks,
Yatheesh