I have two mode. The run mode use radio CLK output + PLL is 48M. The VLPR mode use fast IRC 4M. When the two mode is exchange. I have to confige the UART baud because the system clock changed. This could happen when the UART is work. So I want to confige the UART clock static. When the mode change. The UART clock is not change. How can I do this? Thank you.
Hi Yu Huixuan
Could you share your project? how are you setting you UART configuration, and how you change the operation mode? After you change power mode you need to "reinitialize" your UART configuration.
Are you using KSDK drivers? if so, You could check the examples for power management in demo apps. In KSDK 1.3 you can find them in <Path_KSDK_1.3.0>\examples\frdmkw24\demo_apps or if you have KSDK 2.0 you can find them in <Path_KSDK_2.0>\boards\frdmkw24\demo_apps.
Hope this information helps you
Have a great day,
Jorge Alcala