Hi gaston,
Have you try to refer the tpm_timer example in SDK_2.7.0_MKL17Z64xxx4?

enableStopOnOverflow = false; means TPM counter continues running after overflow.
You can disable below IRQ related codes.

Seems that you don't need to interrupt 1ms anymore, so configure MOD=0xffff by using TPM_SetTimerPeriod function.

Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------