Part Number: SM320F2812
Tool/software: Code Composer Studio
Good Morning,
I am running on a SM320F28128HFGM150 and using capture ports 3 and 6 capture a square wave signal with timers set to 25MHz and 25hz/128, respectively, providing a high resolution and low resolution count.
The two capture ports work flawlessly without the qualification period/filter turned on. I get an exact number of counts, 37765 every time and it is what I expect.
I turned the qualification filter on and set the qualprd to 150 (0x0096) which gives me a filtering sampling period of 2*5*150*.0000000067 (SYSCLKOUT) = 10 us qualification window. When I do this, the count oscillates between two to three discrete values, 37745, 37765 and 37775.
It seems as though there is a timing or some sort of priority issue. Could enabling the qualification period cause issues with timing of the capture port and capturing rising edges?
Respectfully,
Dan