This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

UART

Hi,

is there any Example to use the UART ? I need an monitor while the application is running, is the UART COM Port the right one for this?

Is there an example with the app_uart?

Best regards Nils

  • I need also help to send printf outputs via UART to a serial terminal.

    I am also working on Eclipse + GCC environment and using Evaluation Kit and my BLE application uses S110_SoftDevice.

    questions are:

    • Which uart- support files from Nordic S. SDK are to add to the build?
    • How to connect (printf -- putc)?
    • Which way make more sense? Using either USB (COMx) or other GPIOs as UART output?

    Yalcin

  • Hi Nils, I am sorry, from your earlier mails I had the impression, you are using Eclipse.

    Yalcin

  • Hi Nils, I am sorry, from your earlier mails I had the impression, you are using Eclipse.

    Yalcin

  • I started with eclipse and gcc, but didn't get it to work fine. Now i am working with Keil, normaly it works fine.

    But i need an monitor on the pc to talk with the device in the runtime, like you need it, right?

    nils

  • Hi,

    there are a few UART examples in the SDK, depending on which hardware you are using (Evaluation Kit or Development Kit). If you are using the PCA10001 Evaluation board, take a look at nrf51822\Board\pca10001\uart_example. This example uses the com port interface, which is conveniently accessed via the USB. Albeit this example is quite simple..

    As far as I know, app_uart is part of the HCI transport layer, which is used in the connectivity chip examples. This transport layer is quite complex and not something you would use as a monitoring tool for debugging.

Related