I'm using a KL03 and the default mode of operation is using the HIRC 48MHz clock which is also used to clock the 2 TPM channels on module 0. When I go into VLPS, I want to keep TPM running and so need to enable the LIRC 8MHz clock and switch the TPM clock source.
Is there any recommended sequence of how this should be done? I'm having problems making it work.
Any help is greatly appreciated.