I reviewed the TMP initialization code generated by PE, and I think the value in "Details" column is the real maximum time of even used in code. When selecting the 5.461333 ms option in your project, the PS bit in TPMx_SC is configured into 0, see the code generated by PE as below:
TPM2_SC = (TPM_SC_CMOD(0x01) | TPM_SC_PS(0x00));
The modulo is initialized as 0xFFFF:
TPM2_MOD = TPM_MOD_MOD(0xFFFF); /* Set up modulo register */
The maximum time of even should be: 65535/(24*10^6) s = 2.731ms
I have contacted PE dev. team for how to configure this option correctly, and reply you later.
Fiona Kuang
Technical Information & Commercial Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------