Hi Everyone
Platform:LPC844M201JHI33
Software:LPC845-Example-Code-Bundle-MCUXpresso
Main clock:30MHz
We would like implement capture function of CTimer, but we are encountering some problems.
1. use a signal generator to generate a signal(20Hz, 20 high pulse per second)
2. setup PR(Prescale register)=1(15MHz), the TC(Timer Counter) only report 10 time per second.
3. setup PR(Prescale register)=0(30MHz), the TC(Timer Counter) report 20 time per second.
4. setup PR(Prescale register)=29(1MHz), the TC(Timer Counter) no any response.
input frequency is low, why must use a high frequency PR setting be used to calculate the correct number of pulses?
why use capture channel 0, the CR0 can't read any value? only TC(Timer Counter) have increase numbers, what function for CR0~3?
Thanks.