Sorry, I didn’t get back to you sooner. I was out of the office Friday.
Anyway, I put your code in and it does not work.
The code hangs at:
while((MCG->S & MCG_S_CLKST_MASK) != 0x04u) {} /* Check that the clock
source is the LIRC clock. */
Thanks for your help.
George
From: jeremyzhou
Sent: Friday, May 20, 2016 2:00 AM
To: George Weatherford
Subject: Re: - Using the MKL17Z256VLH4
processor. Can you switch from the internal clock to an external clock and
then back?
NXP Community
<https://community.freescale.com/resources/statics/1000/35400-NXP-Community-Email-banner-600x75.jpg>
Using the MKL17Z256VLH4 processor. Can you switch from the internal clock
to an external clock and then back?
reply from jeremyzhou
<https://community.freescale.com/people/jeremyzhou?et=watches.email.thread>
in Kinetis Microcontrollers - View the full discussion
<https://community.freescale.com/message/652506?et=watches.email.thread#comment-652506>