infineon4engi@twitter infineon@linkedin infineon4engineers infineon@youtube
twitter Facebook Linkedin Youtube

+ Reply to Thread
Results 1 to 2 of 2

Thread: XMC4200 USB doesn't transmit data

  1. #1
    Beginner Beginner agrus has a spectacular aura about
    Join Date
    Jan 2016

    XMC4200 USB doesn't transmit data

    Hi all,

    I am writing a small application for XMC4200 (evaluation kit) to use its USB module (not using Apps). To the best of my knowledge, I configured the device correctly as I am able to receive and decode the first SETUP packet that requests the device descriptor. This tells me that (a) clock is configured correctly and (b) endpoint 0 (at least the OUT functionality) is also configured correctly.

    However, when I use the API function XMC_USBD_EndpointWrite(...) to respond to the request, the host (PC) does not see it. It also looks like I don't receive any transfer complete interrupts on endpoint 0 IN.

    Can anybody share some advice as to what they think the problem might be?

    Thanks very much,


    UPD #1: I tried running identical code (except for the device-specific libraries) on an XMC4700 eval. board, and it worked! Unlike XMC4200, XMC4700 does receive transfer complete interrupts. I've checked the interrupt mask register for both devices, and in both cases interrupts are unmasked.

    UPD #2: Got to try this on an XMC4400 evaluation board, and everything works as expected. Also got my hands on another XMC4200 board to rule out any defects with my primary board - the USB application still doesn't work! Perhaps there's an extra configuration step needed for XMC4200 core that I am not aware of.
    Last edited by agrus; Sep 12th, 2017 at 10:24 AM. Reason: New details to the question

  2. #2
    Beginner Beginner ADCGuy is on a distinguished road
    Join Date
    Jun 2017
    Kindly share the Source Code to analyze the problem.

+ Reply to Thread

Tags for this Thread


All content and materials on this site are provided “as is“. Infineon makes no warranties or representations with regard to this content and these materials of any kind, whether express or implied, including without limitation, warranties or representations of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, whether express or implied, is granted by Infineon. Use of the information on this site may require a license from a third party, or a license from Infineon.

Infineon accepts no liability for the content and materials on this site being accurate, complete or up- to-date or for the contents of external links. Infineon distances itself expressly from the contents of the linked pages, over the structure of which Infineon has no control.

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 Usage Terms of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Usage Terms of this site. Infineon reserves 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.