Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Development board nRF52832 with multilink + UART

Hello everybody !

Here I am designing a system with 3 development boards nrf52832, where a card called "central" is connected to the computer by USB and this board will then communicate with the other 2 boards "device" with the code from this this tutorial: github.com/.../custom_ble_service_example.

So, my current problem is that I would like to have my computer communicate with the "central" development board. I then used the code example of the sdk "ble_app_multilink_central" and I added to it the parts of the code "ble_app_uart_c" to initialize the UART. During initialization, I get error 8 with APP_ERROR_CHECK (err_code). As I use the traces NFR_LOG I think that the problem thus comes from that. I would like to know if there is a way to debug (by seeing traces on the COM port). And for example what does it take to use printf? (I use Segger with the Nordic SDK 14.2).

Thank you in advance for your assistance !

Parents Reply
  • Yes that's it.
    Oh ok. Error 8 means that it is initialized ^^ I thought it meant that the UART was "busy".
    When you say that I can ignore the error, do you want to say that I can comment on APP_ERROR_CHECK (err_code)? Because when I had this error, the rest of my program was blocked.
    Since I left with another code for my project so it's ok :)
    Thanks for your help.

Children
No Data
Related