AnsweredAssumed Answered

interrupt systick & PORT

Question asked by Luca Meloni on Aug 29, 2018
Latest reply on Aug 30, 2018 by Mark Butcher
Hi to all!
I'm working with a kinetis kv58.
I'm using 2 interrupts that work regularly.
However, when I use the "InterruptLogicZero" mode, if I keep the PORTA pin set to zero, only the PORTA interrupt is executed.
Is there a priority setting to make the SysTick interrupt work too?
For me, the Systick interrupt is a priority.
Regards, Luca.
 
PORT_SetPinInterruptConfig(PORTA, 4U, kPORT_InterruptLogicZero);
void SysTick_Handler(void)
{  
      GPIO_PortToggle(BOARD_LED_GPIO, 1u << BOARD_LED_GPIO_PIN);
}
void PORTA_IRQHandler(void) {
   GPIO_ClearPinsInterruptFlags(GPIOA, 1U << 4);
}

Outcomes