I am trying to get Interrupt from UART Rx, so that if any data is received on RX pin it will go to its interrupt routine, but I am unable to find any interrupt routine that will work parallel with the ble_app_hrs_c. I want to get readings from the peripherals and whenever it receives any data on UART it will move on the interrupt service, WIll any one help me out in this. whenever I initialize serial or uart in the main or any function in the program of ble_app_hrs_c the code will stop working.
the following line causes the code to stop working.
nrf_serial_init(&serial_uart, &m_uart0_drv_config, &serial_config);
Can any one have any idea what's exactly is the issue?? or any link of example that runs UART in parallel with other activites. Thanks