Hello @bryan_hong
Thanks for your question.
The LPC55S28 does not support USB dual-role (OTG) function. However, if you use USB0, there is a pin called USB0_IDVALUE. You can develop software to switch between host and device modes at runtime based on the status of this pin.
Alice_Yang_0-1762506413747.png
BR
Alice