This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Dummy handler is invoked instead of the nrfx_uart_0_irq_handler upon a character being inserted in terminal

I'm trying to write the stripped down version of UART driver myself and having a few issues:

I enabled the UART, along with other registers as shown below




but when I enter a character in the terminal, I see the execution gets stuck on the following in the startup file. My initial assumption was the interrupt handler itself isn't being overridden in the application but I have it defined as shown below;

  .thumb_func
  .weak   Dummy_Handler
Dummy_Handler:
  b     .



void nrfx_uart_0_irq_handler(void)
{
    // do stuff
}


Both macros correspond to UARTE0_UART0_IRQHandler so that should be fine I guess.

#define nrfx_uart_0_irq_handler     UARTE0_UART0_IRQHandler





The call stack is as follows and the dummy handler is caused inside TIMER2_IRQHandler. Where is
TIMER2_IRQHandler being invoked from? And why does the nrfx_uart_0_irq_handler not get invoked instead?


Alsno note I have NRFX_PRS_ENABLED set to 0. Was getting a different error with that enabled
Parents Reply Children
No Data
Related