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

UART integration with BLE Thread RTOS example

I am attempting to add a UART to interface to an external MCU. I have the uart example running (without any RTT info) yet when I port the uart code to the ble-thread example I am not getting any data out the TX pin, I am getting data from the RX pin. What am I missing? Is the RTT messing with the transmitting of UART data?

  • I think I found the issue. The TX_PIN(06) is used by something underneath. I am not sure what it is, but figuring out is not the highest priority for now.

    I changed the TX pin 29 and I can see that the TX line is working as expected. You can use the project I attached you yesterday and just change the TX pin to 29 or any other unused pin.

    I understand that it is not very simple to find out the unused pin since their allocation seems to be a bit scattered. But this is something that needs fixing in the bigger picture and hard to address it here.

    Please change the pin to different than the one which is connected to Segger and it should work fine. Attaching my local copy just to be sure you have my latest and greatest.0743.hrs_coap_srv_freertos.zip

Related