Hi Stephen Colley
Thank you for your interest in NXP kinetis product, I would like to provide service for you.
Now, answer you two questions:
1. About the prescaler counter
I think the figure is not correct enough.
Take an example, if the input the TPM clock is 20Mhz, then the prescaler is 2, then the module counter clock is 20Mhz/2=10Mhz, it won't count for both edge.
So, just ignore that figure.
2. Also, in the diagram, what is "CNTIN = 0x0000" in the upper left corner? CNTIN is nowhere else in the manual.
CNTIN is the initial counter value for FTM, it has the specific register, and can set it. But to TPM, the CNTIN is fixed to 0. You can consider CNTIN is 0, it is the initial counter value.
Wish it helps you!
Have a great day,
Kerry
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------