This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VM: error count when TIMER7 cascaded to TIMER6.

Part Number: TDA4VM

Hi experts:

          I build a 64bit timer through timer6 and timer7 in main domain. ( Each odd numbered timer instance from each of the domains may be optionally cascaded with the previous
even numbered timer instance from the same domain to form up to a 64-bit timer
)

1. Timer6 works in PWM mode, output clock 1HZ,See picture above ;

2. Set register CTRLMMR_TIMER7_CTRL(0x0010421C)  = 0x100 (bit8 is set to 1 ),  enable cascading of TIMER7 to TIMER6

3. enable TIMER7.

     Test method: Get Timer7 count every second and print

           Pseudocode:

                 for(;;){
                       TaskP_sleepInMsecs(1000);
                        printf("TIMER7 counter %d\n",TIMERCounterGet(CSL_TIMER7_CFG_BASE));
                 }

     Test result: TIMER7 TIMER_TCRR(value of the internal counter) increase by 3 each 3 seconds  instead of  increase 1 each 1 seconds

          
(Print once per second )
 

Thanks