- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello.
I need to use USB composite device (HID + CDC) on XMC4400.
Do you have any sample code for reference?
Thank you.
Best Regards,
Ted
Solved! Go to Solution.
- Labels:
-
XMC
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Ted_Um ,
Unfortunately we do not have an example project for XMC 4400 where the USB composite device is implemented. However, there are a bunch of DAVE based USB code examples on XMC 4700 and XMC 4500 which you can have a look at to get started : https://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html . For a USB device to act as a composite device, you need to add two different interfaces - one for HID and other for CDC in the device descriptor so that the USB host gets to know about the two functionalities implementation. For the code implementation part, please go through the DAVE code examples for the help and try including the interfaces.
Meanwhile, you can also refer Application Note: Creating a USB Data Logger Application using Middleware and CMSIS to find some insights on USB composite device.
Please let us know in case of any further query.
Best Regards,
Aashita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Ted_Um ,
Unfortunately we do not have an example project for XMC 4400 where the USB composite device is implemented. However, there are a bunch of DAVE based USB code examples on XMC 4700 and XMC 4500 which you can have a look at to get started : https://www.infineon.com/cms/en/product/promopages/aim-mc/dave_downloads.html . For a USB device to act as a composite device, you need to add two different interfaces - one for HID and other for CDC in the device descriptor so that the USB host gets to know about the two functionalities implementation. For the code implementation part, please go through the DAVE code examples for the help and try including the interfaces.
Meanwhile, you can also refer Application Note: Creating a USB Data Logger Application using Middleware and CMSIS to find some insights on USB composite device.
Please let us know in case of any further query.
Best Regards,
Aashita