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.

CC13xx TI-RTOS based RF TX/RX test platform using UART command interface

Other Parts Discussed in Thread: CC1310

 

 8546.rfEasylinkTxRx_CC1310DK_TI_CC1310F128.zip

Attached is source code for a TI-RTOS based test platform that was built from RF easy link example that supports user interface through UART. 

Steps involved

1. Get the latest TI-RTOS version. This software is built using version 2.14.2.22

2. Connect two SmartRF06 boards with CC13xx 

3. Open the attached project (rfEasylinkTxRx_CC1310DK_TI_CC1310F128) in CCS. Build and download the code. 

4. Open 2 UART terminals like coolterm, connect at 115200 baudrate. 

5. Start typing in supported commands listed in rfEasyLinkTx_readme.txt file in the project and also listed below.

6. The errors, rssi, payload will be printed on the UART terminal also with the response to the commands.

UART - baudrate 115200; Enable local echo

COMMANDS 
--------
Note: All commands must be typed in lower case

1. absolute_frequency GMMMKKKHHH - Sets the Center frequency

2. absolute_frequency ? - Prints the value of the center frequency to UART

3. start_tx - Starts transmitting packets and prints payload
- Packet size and payload are defined in rfEasylinkTxRx.c as 
- NUMBER_OF_PACKETS is 10
- PAYLOAD_LENGTH is 27

4. stop_tx - Stops Tx

5. start_rx - Starts receiving packets and prints RSSI and payload

6. stop_rx - Stops Rx

7. tx_power X - Sets Tx power in dB - X can be {14, 12, 11, 10, 9, 8, 7, 6, 5, 4, 3, 2, 1, 0, -10};

8. tx_power ? - Prints the current values of Tx power in dB

9. tx_datarate ? - Prints the current data rate in xxx.yy kbps

10. cw on - Enables CW mode

11. cw off - Disables CW mode

12. get_radio_config - Prints current radio setup

13. start_tx_fh - Starts TX in Frequency hopping mode. Use stop_tx to end transmission.

14. start_rx_fh - Starts RX in Frequency hopping mode. Use stop_rx to end receiving.