Hi Pavel,
Thanks for the help.
I intend to use MK22 as OTG (host and device). On Micro USB connector - we have the ID pin that tells the MCU if it should be host or device (If i understand correctly, there is not dedicated pin, but a GPIO that I need to set for this purpose).
I want to use USB-C connector, so looking at HW connections aspect, I think (If I'm not wrong) that PN5150A should help the MCU to understand the required information (host/device) - but now its through I2C. That is leading me to the question - if there is any SW aspect that needed to be covered and if there is SW libs that required and already exists.
And generally, I would like to verify that I didn't miss any other aspect of the implementation planning.
BTW, when the MK22 is host, I plan that it will talk to mass storage device (usb flash drive).
Thanks again!