Hi Vignesh,
in my first response, I set system/core clock by setting DIV1 in SIM module
your code sets system/core clock by setting BDIV in ICS module.
Carlos is correct, you can only remove ICS_C3= 0x90; to get 24M core clock if don't consider clock Trim.
with your code, in FEI mode, FLL output 37.5k*1280=48Mhz
with this code:
ICS_C2|=ICS_C2_BDIV(1) ; // BDIV=divide by 2
ICSOUTCLK = FLL output/2 = 48/2=24Mhz
thus with default SIM_CLKDIV value: DIV1=00, we can get system/core clock = ICSOUTCLK = 24Mhz

can this help you?
Have a great day,
Jennie Zhang
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------