When using the UART examples I found that as long as I opened the uart_init () program will not work, debug the discovery process will be executed
p_event->data.error_communication = 0x0c
What do I need to do to solve this problem?
Can you share your code here? Are you using the PCA10040 DK or your custom board for testing?
I use my own board
I use the 10040DK board is no problem
I am using official examples without any changes
Could it be that you have left the RX line floating? Here is a relevant thread: UART Peripheral Dead?