Hi BARN_RD,
After checking your code, I find you enable the TPM before you complete the TPM register initialization.
Normally, we disable the TPM clock at first, TPM_SC[CMOD]=0, then configure all the related TPM register, then enable the TPM clock, TPM_SC[CMOD]=1.
If you are new to kinetis, I highly suggest you refer to the MK66 SDK code, which can be downloaded from this link:
https://mcuxpresso.nxp.com/
Choose the board as FRDM-K66, then generate the code and download it.
You will find the TPM code in folder:
SDK_2.7.0_FRDM-K66F\boards\frdmk66f\driver_examples\tpm
Wish it helps you!
If you still have questions about it, please kindly let me know.
Best Regards,
Kerry