AnsweredAssumed Answered

EZ-KIT ADSP-21469: TIMER counter TM0CNT problem

Question asked by Remy-ASTIER on Nov 17, 2014
Latest reply on Nov 17, 2014 by Jithul_Janardhanan

Hi all,

 

I'm using a EZ-KIT ADSP 21469 with integrated debug agent.

 

My aim is to measure compiler optimization for a simple "for" loop. Idea is to compare compiler optimization between TI and ADI.

 

For that, I must use hardware Timer to count clock cycle.

 

Here the algorithms:

 

     - Configure Timer0.

     - start Timer 0.

     - For loop.

     - Close Timer 0

     - read TM0CNT <-----  doesn't work: value read is always at 0.

 

If you have any advice, I'm open..

 

best regards,

 

Remy

Outcomes