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.

RTOS/LAUNCHXL-CC1350: Uart Transmission using uart

Part Number: LAUNCHXL-CC1350
Other Parts Discussed in Thread: CC1350

Tool/software: TI-RTOS

Using Rx and Tx pins i want to transmit data using uart from one cc1350 module to another cc1350 module. I am not able to write c code for this. What would be the syntax for this?

  • Shubham,

    Please study RTOS UART software examples using CCS7 REX tool to download projects to your computer. Easily import projects of interest from the software selection tree for you to investigate how such complexity might be achieved. You have to try to fly on your own or find a programmer to assist you.

    There might even be a Tivaware project example of connected UARTS to study how they did that.

    Good luck!
  • Hello Sir,
    Thanks for the suggestion. I am using ccs v6.2 but there is only one example and that too on uart echo. Can you please explain if you know how it can be done.
  • Perhaps modify echo source code to only transmit at one end. Echo also receives data too suspect during idle task time, perhaps remove TXD part of code for the RX board. Place jumper wires crossing 1st board UART TX into RX of 2nd board UART. If boards each have ICDI they create 2 virtual COM ports in Windows o monitor progress.

    Another option, recall Amit TM4C forum saying working on an example you desire -- REX to TM4C1294 area and look for 2 board UART connection example.
  • Hi,

    You can find some example code in the TI-RTOS documentation.
    On your computer, it will be under:
    C:\ti\<tirtos installation folder\docs
    Open the documentation overview html page.
    Under the driver section, open the Driver Runtime APIs (doxygen) link.
    The UARTCC26XX.h link wil have examples that you can look at for both blocking and non-blocking.

    Just make sure that you connect the TX of one board to the RX of the other.

    Regards,
    Michel
  • There was a suggested answer and since there has been no active on this thread for more than a week, the suggested answer was marked as verify. Please feel free to select the "Reject Answer" button and reply with more details.
  • C:\ti\<tirtos installation folder\docs
    Open the documentation overview html page.
    Under the driver section, open the Driver Runtime APIs (doxygen) link.
    The UARTCC26XX.h link wil have examples that you can look at for both blocking and non-blocking.

    That is not the proper way to view RTOS documentation or import projects from the cloud resource tree into CCS.
    The TI resources explorer tool or REX should always be used.

    I reject your asserting question answered based on above thread posting improper browsing instructions!