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.

TMS320F28066: Timer0 interrupt cannot be shield

Part Number: TMS320F28066

Hi Team,

1. My customer used DINT in the function for global interrupt mask. But why can't the Timer0 interrupt be shielded?

Fullscreen
1
#define DINT __asm(" setc INTM")
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

2. When the function pointer is used to jump in the code, the code does not jump normally, but enters an illegal interrupt:

Fullscreen
1
2
3
4
5
6
#define APP_ENTRY_ADDR 0x3D8000
DINT;
IER = 0x0000;
IFR = 0x0000;
((void (*)(void))(APP_ENTRY_ADDR))();
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

--

Thanks & Regards

Yale

  • Yale,

           Sorry, I don't understand your question. Are you saying even when the interrupts were disabled at the core level y setting INTM = 1, Timer 0 interrupt was successfully asserted? This cannot happen. Did you check the value of INTM bit via CCS?

    2. When the function pointer is used to jump in the code, the code does not jump normally, but enters an illegal interrupt:

    There is very little information in your post to understand what might be going on.