AnsweredAssumed Answered

USB(0/1)_LEDN  LED indicator not working

Question asked by janbertran on May 10, 2019
Latest reply on May 21, 2019 by Sabina Bruce

Both pins work if configred as GPIO mode but not if configured as USB led indicators for their respective USB device controllers.

The indicator for USB1 never goes on (with USB1 configured), the USB0 led is always on in one board and blinks for a moment in another board when plugging/unplugging USB connector but is also always on.

Tested with different USB demos.

Microcontroller is a LPC54S018M

pins configured as

//Usb FS Led (M8)
IOCON->PIO[2][15] = IOCON_PIO_FUNC(IOCON_FUNC2) | IOCON_PIO_DIGIMODE(1);
//Usb HS Led (P10)
IOCON->PIO[2][17] = IOCON_PIO_FUNC(IOCON_FUNC2) | IOCON_PIO_DIGIMODE(1);

 

There is a post describing similar behavior on LPC18xx/LPC43xx

 

Thanks

Jan

Outcomes