Hi,
We are testing low power mode for K60 Tower board.
Processor Expert generated low power BSP code on for K60F for 2 MHz clock configuration and the VLPR power mode is not working as it is getting stuck in an endless while loop.
while((MCG_S & MCG_S_IRCST_MASK) == 0x00U) { /* Check that the source internal reference clock is fast clock. */
}
It was mentioned that the CW10.2 version has this problem but it is rectified in CW10.3 version. We are using CW10.5 with MQX 4.0 . but still has this problem.
Kindly provide the solution for resolving the same.
Regards,
Kiran
Can you please give details on the bug in the generated CPU.c file.
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.
Any updates? I am stuck in this issue.....
Hi Kiran,
the issue is fixed in CodeWarrior 10.5 Update 1 which should be already released.
To update your CodeWarrior run Menu -> Help -> Check for Updates.
Regards Petr
Hi,
We have updated the code warrior as suggested by you, but still the issue persists. There is no difference between newly generated CPU.c file with the CPU.c file before update.
Could you please help us to resolve this issue.
Thanks & Regards,
kiran
Kiran,
have you done any modifications of ProcessorExpert.pe specifically in Cpu component settings? If so please send your ProcessorExpert.pe file.
Regards Petr
Is there any updates on this issue?
Hello,
I am also facing the same issue with PE generated code when switching to low power mode.
Please help to solve the issue.
Regards
Annie