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

Can I use NUS service without having the UART pins configured/connected?

Hello,

I want to use the NUS service on my BLE communication. I don't have pins connected for UART, do I need to have them? When I try to run the device, my program initializes all the blocks being used (bsp, uart, spi, ble_stack, etc) and when it tries to print after all the initialization it goes to the app_error. Which is weird because before I also have some prints that are passed by.

Hope someone can help me, using nrf51 on a custom board with SD130v2.1.

edit1: I tried to debug the error, and it's saying that the error is the 0x0000000C caused on line 690 (function : uart_event_handle, case : APP_UART_COMMUNICATION_ERROR) which has the following code:

APP_ERROR_HANDLER(p_event->data.error_communication);

Thank you, Jorge

Related