AnsweredAssumed Answered

trap inside an undefined IRQ handler

Question asked by Ming Jiang on Oct 13, 2015
Latest reply on Oct 20, 2015 by Ming Jiang

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

Outcomes