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: Multiple reads of the timer GTC on MCU1_0 give always the same result

Part Number: TDA4VM

Hello Support,

According to the documentation (and forum) reading the GTC from the MCU1_0 is possible.

Our problem actually is that reading the timer several times, gives always the same result.

Same thing for the mirror register. The first read on each timer is plausible then the timer seems to be freezed.

We are running the T32 Lauterbach debugger but the bit HDGB is not set, and the enable bit is always set.

I used very basic code to test this use case:

for(j=0; j<8; j++)
{
       tabTime[j] = (uint64_t)(*(volatile uint64_t*)((0xa90000UL)  + 0x8U));
       tabMirrorTime[j] = (uint64_t)(*(volatile uint64_t*)((0xa90000UL)  + 0x10000U));
      for(i=0; i<0xffffff;i++) {;}
}

I tried also to force enabling and disabling of the timer at different stages with no success.

Are there other reasons for the timer to freeze?

Thank you,

Khalil