Hi All,
We are using Freescale MPC5534.
we nedd to configure the timer for 2ms.
crystal value=16Mhz.we didn't get that formula.
Please share us, if any one known.
Thanks in advance.
Hi,
the general formula is next: comparation value = (oscilator_frequency / prescaler) * time.
In your case it could be for example: (16 000 000 / 256)*0.002 = 125 = 7DH.
Martin