Greetings<br><br>Currently I have a MPC885 based board running at 50MHz. I want USB host working at full speed with internal clock. Assuming I need to change the General System Clock Frequency (GCLK2) to 48MHz, I got this calculation with input frequency of 10MHz from an u-boot script.
<br><br>pdf mfi mfn mfd s dbrmo&nbsp;&nbsp;&nbsp;&nbsp; dpref&nbsp;&nbsp;&nbsp; dpgdck&nbsp;&nbsp;&nbsp;&nbsp; jdbck&nbsp;&nbsp;&nbsp;&nbsp; gclk2 exact?<br>--- --- --- --- - -----&nbsp;&nbsp;&nbsp;&nbsp; -----&nbsp;&nbsp;&nbsp; ------&nbsp;&nbsp;&nbsp;&nbsp; -----&nbsp;&nbsp;&nbsp;&nbsp; ----- ------<br>&nbsp; 0&nbsp;&nbsp; 9&nbsp;&nbsp; 3&nbsp;&nbsp; 4 1&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 10000000 192000000&nbsp; 96000000&nbsp; 48000000&nbsp;&nbsp;&nbsp; YES
<br>&nbsp; 0&nbsp;&nbsp; 9&nbsp;&nbsp; 6&nbsp;&nbsp; 9 1&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 10000000 192000000&nbsp; 96000000&nbsp; 48000000&nbsp;&nbsp;&nbsp; YES<br>&nbsp; 0&nbsp;&nbsp; 9&nbsp;&nbsp; 9&nbsp; 14 1&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 10000000 192000000&nbsp; 96000000&nbsp; 48000000&nbsp;&nbsp;&nbsp; YES<br>&nbsp; 0&nbsp;&nbsp; 9&nbsp; 12&nbsp; 19 1&nbsp;&nbsp;&nbsp;&nbsp; 0&nbsp; 10000000 192000000&nbsp; 96000000&nbsp; 48000000&nbsp;&nbsp;&nbsp; YES
<br><br clear="all">I modified CFG_PLPRCR (to 19194000) in u-boot config file to match this. But I'm getting only 45MHz output clock (not exactly 48MHz which is needed for USB to work) <br><br>If anyone can shed some info making the USB work on MPC885 with internal clock or changing the clock freq to exact 48MHz, it will be helpful.
<br><br>Thanks<br><br>-- <br>With best regards,<br>Prakash