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

libuarte doesn't send any data

Hello,

I used the examples\peripheral\libuarte example to implement a driver for NBIoT DCE. I embedded the sample in my project and started debugging. Although the transmitter event is being triggered I don't get any data at the terminal application (TerraTerm VT) connected to the uart of my device. I have checked that I am using the right pins for RX and TX signals, baudrate, data length, parity, flow control and there are no errors at run time. The firmware reported that sent 36 bytes in one chunk of 36 bytes (the initial starting message, "UART example started.\r\n Loopback:\r\n") but no data coming in to terminal.

I have to tell you that initially I used the uarte sample. It was working properly on both directions but at some time due to specifications I have to implement a continuous reception so I switched to libuarte instead.

Any suggestions? Any points of further check?

Best regards,

Stavros Makridis.

  • Hi Stavros, 

    Have you received NRF_LIBUARTE_ASYNC_EVT_TX_DONE event ? 


    Have you tried the libuarte example without any modification ? Do you receive any data ? If you don't receive any data in this example, could you try again with other simple UART just to be sure UART works between your board and the computer. 

  • Hi Hung,

    I apologize for my late response but I have forgotten that in this account I registered an email address that is not my main account and I missed notifications about your replies.

    I finally implemented my driver using uarte and there is communication between my board and the PC. I cound not figure out what is wrong with libuarte.

    Anyway it seems that libuarte needs a little bit more work to be a good tool.

    Thank you for your immediate response and please consider this issue as closed.

    Best regards,

    Stavros Makridis.

Related