Other Parts Discussed in Thread: MSP430F5529
Tool/software: TI-RTOS
Hello , I have a problem of measure frequency
I used timer capture mode with P2.1(TA1.1) to get input singal (which is almost 0~266Hz function wave);
But the Precision is not accurate.
And I measure the same freq for 1HZ frequenct that i get a random value for my variable (timer_temp) value; It is random
so please help me to debug.
1.The problem is timer is not 0.5us for clock;(I see that is almost equal 0.50766u s for one timer clock)
2.All the frequency range is not accurate.... assume the 255Hz , the code will get 240~266Hz....
I can't find the bug please help me thx.
This is my project.
https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/166/MSP430_5F00_CP_5F00_GetSpeed_5F00_20190408.7z


