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

uart_pca10028 leds on error

Hello!

I am trying to run example uart project (uart_pca10028) on PCA10028 development board. When code is loaded to the microcontroller it signalizes error - all leds are ON. Constant ENABLE_LOOPBACK_TEST is defined. I completely do not know where is the problem. I have received my board one week ago.

I have tested this project both APP_UART_FLOW_CONTROL_ENABLED and DISABLED with the same result - all leds ON.

  • Hi,

    When you have the line

    #define ENABLE_LOOPBACK_TEST  /**< if defined, then this example will be a loopback test, which means that TX should be connected to RX to get data loopback. */
    

    defined, you may get an error(All LEDs lit). This is because you have not physically connected TX to RX on your board. To fix this error, and run the example normally, simply comment out the definition like this:

    //#define ENABLE_LOOPBACK_TEST  /**< if defined, then this example will be a loopback test, which means that TX should be connected to RX to get data loopback. */
    

    If you have the PCA10031 dongle, there is also a useful tutorial on running an UART example over bluetooth. Hopefully this answers your question.

    Best regards,

    Øyvind

  • Hi,

    Thanks for your replay. I have started my adventure with nRF51 running an UART example over bluetooth (without success). If I run this example my phone see bluetooth on nRF51 and connect to it but does not display all this connection informations which are showed in the tutorial: "Creating service...", "Binding to the service...", and so on.

    I have comment ENABLE_LOOPBACK_TEST without sucess. It does not work both with and without flow control.

    Simple program like blinking leds works fine.

    I am using Keil MDK-Lite with code size limit to 32kB, but complilled projects have smaller size (SoftDevice is loaded by nRFgoStudio).

    Best Regards, Andrzej

Related