Hi,
I suppose you use K22 which can run in 120Mhz for example, you can select the MK22FX512AVMC12. If you use 16MHz crystal which is connected to EXTAL0/XTAL0 pins, I think it is okay to generate 48MHz clock signal for usb module.
Assume you use PLL to get 120MHz clock signal, there is a register SIM_CLKDIV2, which can divide the 120MHz to output 48mhz signal with the configuration SIM_CLKDIV2=0x09.
USB clock frequency=(2/5)*120MHz=48MHz. It is recommended that you use PLL to get the 120mhz clock signal for the core/system/bus/flash especially USB, the PLL can output clock signal with low jitter.
BTW, the PLL input reference clock frequency is 2~4mhz, you can use PLL internal divider to get 2Mhz clock signal as the PLL reference clock signal, use PLL to multiply it to 120mhz.
I suggest you use FlexBus to access external frame buffer.
Hope it can help you.
BR
Xiangjun Rong
