Hello I work on a Kinetis MKE18F512 with SDK 2.6 and now I have problems to understand and use the interrupts in a correct way.
My Problem:
I have interrupt settings at reset state.
I drive a system-timer wit the sysTick interrupt. Now if I use a UART transfer the sysTick don't run and I don't get any timings.
It also don't help to lower the UART interrupt priority by
NVIC_SetPriority( LPUART0_TX_IRQn, 1 );
NVIC_SetPriority( LPUART0_RX_IRQn, 1 );
NVIC_SetPriority( CAN0_ORed_IRQn, 2 );
NVIC_SetPriority( CAN0_Error_IRQn, 2 );
NVIC_SetPriority( CAN0_Wake_Up_IRQn, 2 );
NVIC_SetPriority( CAN0_ORed_Message_buffer_IRQn, 2 );
If one interrupt is running no other will be called.
How could I setup that the systick interrupt can preempt all others?