Thank you for your support.
I have checked with the files you have given, but the same issue again. It hangs in the while loop in CPU.c file.
while((MCG_S & MCG_S_IRCST_MASK) == 0x00U) { /* Check that the source internal reference clock is fast clock. */
}
I have generated the PE code for DAC along with MQX. Hence the PE generated CPU.c file which contains the clock configuration is being executed by the system instead of bsp_cm.c file.
We are using CodeWarrior 10.5 .
Could you please help us to resolve this issue.