Hello all,
I am testing my program on the tms55dsk board with the CCS. And I have
found something weird. This code is supposed to take just 6 cycles :
AND #001FFh, mmap(ST0_55) ;clear all ACOVxTC1, TC2, C
OR #04140h, mmap(ST1_55) ;set CPL, SXMD, FRCT
AND #0F9DFh, mmap(ST1_55) ;clear M40, SATD, 54CM
AND #07A00h, mmap(ST2_55) ;clear ARMS, RDM, CDPLC,
AND #0FFDDh, mmap(ST3_55) ;clear SATA, SMUL
OR #ST2mask, mmap(ST2_55) ;config circ/linear pointers
But, when I compute the cycle count using the code composer I get 26
cycles, and this number is correct becouse I have also checked it with
a trigger signal in a scope. So I don't know where it arise from.
Could anyone help me in this stupid thing?
Thanks in advance,
Jose