I am having an issue relating to LPUART interrupt handler. I use PE to initialize LPUART1 and enable the interrupt. From my app code, I invoke API call LPUART_DRV_SendData() to tx a single byte of data. But instead of branching to LPUART1_IRQHandler(), the code jumps to UART2_FLEXIO_IRQHandler(). Since UART2 is undefined, the code is now trapped inside infinite loop. Any ideals what went wrong? My target MCU is MKL17Z128.
UART2_FLEXIO_IRQHandler:
000004f8: ldr r0, [pc, #0] ; (0x4fc)
142 bx r0
000004fa: bx r0
141 ldr
Hello Ming,
Please show your code clearly , especially the initialization of LPUART1 and enable the interrupt .
And does you project create by KSDK ? which version ?
BR
Alice
I found out the issue myself. I had lpuart1 de-initialized by accident. So it was an un-handled exception when I attempted to start a Tx.