Hi
You can use the FRDM-K82F board as HW reference for connecting the VREGIN to a local power supply. The internal regulator is a linear one at about 0.6V drop-out and passes through when the input voltage is less than about 3.6V. Normally it is used with 5V input to have 3.3..3.6V output but will accept inputs down to 2.7V, with 2.1V output. It is worth checking that the USB transceivers still work well at low levels but 3V3 input is foreseen for such operation too.
Pulling the input/output to GND will disable the regulator to save power but will not allow the USB interface to operate since its transceiver will be disabled too.
The uTasker project also supports your device and USB in case you would like to look at an alternative solution which allows simulating the chip and the USB peripheral operation, as well as crystal-less USB mode. Applications are then automatically compatible with faster i.MX RT devices in case a switch is required later without extra firmware redevelopment effort, or benefit from lower price/better performance - eg.600MHz i.MX RT 1020 with 2 HS USB costs $2.30 against the K80 with single FS USB at $4.35. The uTasker K8x loader also gives secure, fail-safe field updating for applications from any source.
You probably are fully aware already but only use device mode of operation (not host) is possible without a crystal source.
In any case, the code that you seem to be missing is the following:
SIM_SOPT2 |= (SIM_SOPT2_USBSRC | SIM_SOPT2_PLLFLLSEL_IRC48M); // set the source to IRC48M
SIM_CLKDIV2 = SIM_CLKDIV2_USBDIV_1; // no divide when IRC48M is used
USB_CLK_RECOVER_IRC_EN = USB_CLK_RECOVER_IRC_EN_IRC_EN; // enable 48MHz IRC clock and clock recovery
USB_CLK_RECOVER_CTRL = USB_CLK_RECOVER_CTRL_CLOCK_RECOVER_EN;
Regards
Mark
[uTasker project developer for Kinetis and i.MX RT]
Contact me by personal message or on the uTasker web site to discuss professional training or product development requirements
https://www.utasker.com/kinetis/FRDM-K82F.html
https://www.utasker.com/kinetis/TWR-K80F150M.html
https://www.utasker.com/iMX/RT1020.html