Hi,
I am usign SM470R1B1M which is the High Temperatrure version of TMS470R1B1M. I am trying to use HET for counting pulses(not high frequency) every half second. I have questions and confusion as below:
1. As I think, ECNT instruction can be used for this application. Is it correct?
2. Once I put the instrution in the HET RAM. I have to read the pluses number every half second in my normal loop program. How to do it? From the HET document, it is said we can read the value( data field stored in the HET RAM) though shadow register0 and shadow register1. But I cannot find these two registers' definition in the IAR files.
3. Every half second, after I read the pulse number. The data field of ECNT in the HET RAM must be cleared. How to do it?
Thanks all for your help,
Qi