pls help anyone how to configure fmpll in mpc5644a by Fref =40 MHZ for Fsys=120MHZ
i configured but it not working in EVT board ..my configuration is
void FMPLL_config()
{
ECSM.MUDCR.R = 0x40000000; /* 1 SRAM waitstate for fsys above 98MHz */
FMPLL.ESYNCR2.R = 0x00000002;
FMPLL.ESYNCR1.R = 0xF0020024;
while (FMPLL.SYNSR.B.LOCK != 1) {}; /* Wait for FMPLL to LOCK */
FMPLL.ESYNCR2.R = 0x00000001; /* Fsys =120Mhz */
SIU.ECCR.R = 0x00001003; /* CLKOUT to /4 because of 66MHz limit */
}