This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-CC26X2R1: Advertisement and UART communication

Part Number: LAUNCHXL-CC26X2R1

Hi TI ,

     I have set my UART communication SDI without any overflow, Later I have customized my advertisement which I have moved from multirole and Initialized the same in the place of multi_role_advertInit() .Now after flashing the HEX file . I dont see UART communication is happening.I can only see TX data there is no data I'm receiving.

I have set advertising using   

 GapAdv_create

GapAdv_loadByHandle

GapAdv_setEventMask

GapAdv_enable

same using multi_role_advertInit()  but in different file,different advertisemement data and called that function in GapprocessMsg.

Does this affecting the UART communication?

Can you please tell me what might be the issue.

Thankyou

  • Hi,

    The advertisements should not affect the UART communication and vice-versa.

    The most common sources of issues when enabling UART communication  in a BLE project are:

    • lack of stack (solution: increase the stack size)
    • conflict between UART and Display drivers (the Display driver may need a UART instance)
    • UART sets in blocking mode leading to block the BLE Stack execution
    • UART functions not called in the proper context

    In addition, if you are sending the UART signal from an MCU (i.e. not from the computer), and still using the IOIDs 2 and 3, you need to make sure to remove the TX and RX jumpers from the launchpad.

    Please make sure to review our debugging guide for more guidance.

    Best regards,