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 not working with pca100028

Hello, I am working on pca100028 and using s130 softdevice(SDK 6.1.0.0.). I am trying to see UART log on pc. But my code get stuck at the following while loop.

void simple_uart_put(uint8_t cr) { NRF_UART0->TXD = (uint8_t)cr;

while (NRF_UART0->EVENTS_TXDRDY != 1)
{
    // Wait for TXD data to be sent.
}

NRF_UART0->EVENTS_TXDRDY = 0;

}

Is it any hardware problem? i enabled hardware control. And the pin outs are also correct. I saw many people asking about the same problem. Could anyone help me too to come out of this.

Any help is appreciated.

  • Try driving it without hardware control, apart from this, if you are testing it via any USB Hub then remove that hub and test. many times USB HUB are the issue. Also do check is any other MACRO is overriding the UART dedicated pins or not!

Related