Hi
I want to reset the TSC, but I cannot reset it even if I implement it as documented. Please let me know the correct reset procedure or the missing settings.
The following document contains the details of the registers
・C71x DSP CPU, Instruction Set, and Matrix Multiply Accelerator
There is a statement that the TSC can be reset by accessing the GTSC.
Problems
・MVK instructions cause errors and need to be changed to MVK64 instructions.
・The STSC column in the second row of the table is probably a typo and "Update TSC value" is correct.
・Considering the above, accessing GTSC as per the sample code does not reset the TSC.
■Execution Procedure
Test code :Timer.zip
In this test code, TSC is displayed three times. Between the second and the third time, it tries to access GTSC according to the above procedure to reset TSC.
Build and run the provided project.
→The following execution result will be displayed in the console.
■Results
===============
GTSC(0):0x00000029957118cd
STSC(0):0x0000000000000000
TSC(0):0x000000018b252e25
===============
GTSC(1):0x00000029957118d3
STSC(1):0x0000000000000000
TSC(1):0x000000018b252e43
===============
GTSC(2):0x00000029957118dc
STSC(2):0x000000018b252e4f
TSC(2):0x000000018b252e5e
・About the result of TSC(2)

