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.

MSP430FR5994: interrupt function cycle time

Part Number: MSP430FR5994

Configure the FR5994 MCLK to 16Mhz, SMclk to 16Mhz, start the IO interrupt, in the IO interrupt will use DMA read, measure the execution time issue, the same statement in the IO interrupt time is longer than in the main loop, in theory

P1OUT |= BIT5;
f_waitadcrdy111 = false;

g_adc_cnt111++;
P1OUT &= ~BIT5;

The above code only needs 0.75us in the main loop, it can be completed, but it needs 2us more in the interrupt function, can you tell what caused it

**Attention** This is a public forum