EmbeddedRelated.com
Forums
Memfault Beyond the Launch

LPC2148 T0CTCR counter value

Started by dingdingchen23 July 14, 2009
Hi guys, I'm new to the arm. I have someproblems with the external event
counter, please help. I configured an external event counter, anduse
the UART to check the TC value in the hyper terminal. However it only
worksat very low frequency, i.e 1 or 2 Hz, when the frequency reaches
20Hz andabove, the TC started to increment by 2 or 3 or even more. My
pclk is 30MHz.

Thank you very much!

Jason

Here is my code.

An Engineer's Guide to the LPC2100 Series

Didn't one of your classmates just ask a question about this?
Yes. you are right.Now, I can get the TC value, but the value is not what I expect in the higher frequency.

Memfault Beyond the Launch