UM11155 manual defines the below pins available for USB1 HS Device function to indicate USB1 configured LED indicator
belmontbob59_0-1620405194643.png
Per manual:
belmontbob59_5-1620406552300.png
I configure PIO4_10 per below before initializing USB1 HS Device function.
belmontbob59_1-1620405481424.png
Here is the wiring for the LED itself:
NXP LED.PNG
My board is communicating fine with the host via USB1 but the USB1_LEDN remains OFF, I can confirm that the LED itself works because if I configure PIO4_10 as a GPIO and set the pin LOW then the LED turns ON.
What am I missing ? How should I configure PIO4_10 with Function 4 to get it to work with USB1 HS ?
I tried switching form MODE_INACT to MODE_PULLDOWN and it did not work.