Hi,
There are two interrupts in S32K144 vector table (DS, startup_S32K144.S):
LPUART0_RxTx_IRQHandler /*LPUART0 receive/transmit interrupt*/
LPUART0_ERR_IRQHandler /*LPUART0 Receive overrun, parity error, framing error… */
The vector numbers are 32 and 33 for LPUART0_RxTx_IRQHandler and LPUART0_ERR_IRQHandler respectively. So you should have:
// LPUART1 receive/transmit interrupt
S32_NVIC->ICPR[1] = (1 << (32 % 32));
S32_NVIC->ISER[1] = (1 << (32 % 32));
S32_NVIC->IP[32] = PRIORITY_N;
// LPUART1 Receive overrun, parity error, framing error or noise error
S32_NVIC->ICPR[1] = (1 << (33 % 32));
S32_NVIC->ISER[1] = (1 << (33 % 32));
S32_NVIC->IP[33] = PRIORITY_N;
Note the IP index is also the vector number.
I have tried received data via UART and the interrupt 32 is triggered when the flag is set.
Regards,
Daniel