I am trying to detect whether the USB device plugged in, is a peripheral device or a host. In order to do that I have mapped a "UFP DFP Event" to GPIO pin 6. I'd expect according to the documentation, in case a peripheral or a host is connected, that the pin signal would change states (at this point I don't care which is which, as long as long as I observe a change). In my case this doesn't happen; instead the GPIO signal remains high, no matter any device connection (or removal). I tested whether I could pull it down by enabling the Internal Pull Down, and indeed this seems to work as expected.
Is there something I am doing wrong or have misunderstood here?
Attached you may find both the project file as well as a screenshot from the Application Customization Tool.