AnsweredAssumed Answered

How to set the clock of desired frequency?

Question asked by Karthik Poojary on Aug 25, 2016
Latest reply on Sep 4, 2016 by xiangjun.rong

I am working with MK66 MCU .

I need to set clock frequency for Ethernet(RMII Mode), I am giving 50MHZ oscillator clock frequency to both EXTAL0 pin(PIN 72) as well as Ethernet PHY(LAN8710). How can I get desired Core , flash, flex, bus clocks by choosing EXTAL0 pin(50MHZ) as Source clock and not giving any source clock for XTAL32 and EXTAL32 pins. 

My requirement is :

                                     Core clock : 180MHZ

                                      Flex clock: 60MHZ

                                      Bus clock : 60MHZ

                                      Flash clock  : 25.5 MHZ.

I am getting 50MHZ clock frequency in OSCERCLK( pin 106).according to the reference manual RMII mode takes oscerclk as input for its operation do we have change any registers values. Iam not giving clock to the XTAL32.

Outcomes