T2080 MPIC Global Timer not multicasting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

T2080 MPIC Global Timer not multicasting

767 Views
OXmose
Contributor I

Hello,

I have been implementing a time triggered routine on the T2080RDB PCA platform. I use the global timer A group, more precisely the timer 0. 

I set the GTVPRA0 accordingly, the destination register to multicast on all cores. The CTPR is also correctly set for all cores (masks interrupts 0 to 14, my GTVPRA0 is set to have a priority of 15).

However, the interrupt is only triggered on the CPU 0 (I don't use SMT so only one thread is enabled).

I can't find where my mistake is. I am pretty sure I forgot to set a register somewhere, but the fact that the CPU 0 receives the interrupts bugs me. Also, this implementation was first done on the P2020 target (that uses a PIC, not an MPIC) and it worked like a charm.

I was wondering if anyone had an idea about what to check to fix this issue.

Best regards,

Alexy

Labels (1)
0 Kudos
2 Replies

745 Views
ufedor
NXP Employee
NXP Employee

What is the MPIC_GTDRA0 value?

0 Kudos

725 Views
OXmose
Contributor I

Hello, 

 

Sorry for the late reply, I was not able to connect for the past week.
The value of MPIC_GTDRA0 is 0x000000FF.

We are investigating a synchronization issue at the moment, maybe the issue comes from here.

Thanks,

Alexy

0 Kudos