Other Parts Discussed in Thread: HALCOGEN
Tool/software:
I am using the PMU as recommended in TI literature SPNA138A
I configured event counter 0 to count processor cycles.
When I run the loop below, doing a "free run", after the loop finishes, there are about twice as many cycles counted as I expect.
Each iteration through the for loop is 10 asm instructions (shown in picture)
If I run the loop 500 times, I get about 10,000 in the counter, where I expect 5,000
If I run the loop 1,000 times, I get 20,000 in the counter, where I expect 10,000.
So the value in the counter is twice as big as I expect
Processor clock speed is 200 MHz, but I don't think this matters.