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

Driver getting stuck at NVIC_EnableIRQ(UARTE0_UART0_IRQn);

Greetings,

A very bizarre thing is happening. This is the umpteenth time I'm working on a peripheral driver and the code gets stuck at 'NVIC_EnableIRQ(UARTE0_UART0_IRQn);'

The value of UARTE0_UART0_IRQn is 2. Any other value that I put in as an argument works and the program proceeds properly.

I've checked that its not going to any exception handler. What can be the reason for this? Also what other information can I provide to help diagnose this?

Thanks in advance, Prithvi

Related