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-CC1310: TI-RTOS: Transmit and Receive RF from UART

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

Hi,

I am attempting to transmit and receive via RF using UART through the launchpad DIO2 (TX) and DIO3 (RX) pins. The minimum desired data transfer rate is 400 kbps.

I found a thread back in 2017 where an example code was posted: Transmit and receive RF from spi or uart. However, this one uses an old ARM compiler 17.6, which I cannot download from the code generation tools updates.

Hence I am hoping to find either:

1) A method of obtaining the old 17.6 ARM compiler.

2) Demo code or guidance to implement the functionality described above.

Many thanks,

Kieren

  • Open up the "empty" example from the latest SDK and copy the application files from the .zip file I posted in the post you referred to into the new project. This way it should be fairly easy to port the old project into the newest SDK version.

    The plan is to include a RF <-> UART example into the SDK this year. 

  • Thank you! This has worked well for the UART receiver, which is now successfully connected to a terminal. However, when I copied across the application files for the transmitter into the empty example I received compiler errors:

    Error #20 identifier is undefined appears. However, the exact same lines of code compile for the receiver with no issues.

    Again would greatly appreciate any help with resolving these errors.

    Many thanks,

    Kieren

  • Have you checked that UART.h is defined and could be found? 

  • Just added in the #include <ti/drivers/UART.h> and is now compiling. Thanks! After flashing the CC1310 I have been unsuccessful at sending packets using the TX and RX pins using hercules/putty. Baud rate is set at 115200, 8 bit data size, no parity. Please let me know if you have any suggestions. Thanks, Kieren.