Hello,
I am trying to configure my da14580 to handle an interrupt generated when data is received via UART. Are there any examples on how to do this?
I viewed the thread under this link:
http://support.dialog-semiconductor.com/uarthandler-interrupt%E6%80%8E%E...
but the link provided there doesn't work.
Thanks,
svl0822
Hi,
Please take a look at the UART driver and how it is used in the Serial Port Service reference design:http://support.dialog-semiconductor.com/da14580-dialog-serial-port-service. The driver on the peripheral side is interrupt based.
MHv_dialog,
The UART driver is interrupt based, meaning that when an interrupt is generated then the program jumps to the UART_Handler_func() method. Is this correct?
svl0822
Confirmed!
MHv_dialog,
I receive a single interrupt from on my Rx pin and the isr is executed, but the program immediately stops and jumps to the line
if ((GetWord16(SYS_STAT_REG) & DBG_IS_UP) == DBG_IS_UP)
__asm("BKPT #0\n");
in "hardfault_handler.c" Why is this happening? I'd like to keep receiving interrupts one after another.
Thanks,
svl0822