Source: http://ww1.microchip.com/downloads/en/DeviceDoc/PIC32MX_FRM_Sect27_USB_OTG_61126B.pdf