T2080 MPIC Global Timer not multicasting

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

T2080 MPIC Global Timer not multicasting

978 次查看
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

标签 (1)
标记 (4)
0 项奖励
回复
2 回复数

956 次查看
ufedor
NXP Employee
NXP Employee

What is the MPIC_GTDRA0 value?

0 项奖励
回复

936 次查看
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 项奖励
回复