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.

CCS/CC1310: How to combine transmission-GPIO on 1st board and reception-UART on 2nd board?

Part Number: CC1310
Other Parts Discussed in Thread: SYSBIOS

Tool/software: Code Composer Studio

Hello everyone,

I'm currently using CCS 7.3.0

SDK: simplelink_cc13x0_sdk_1_30_00_06, simplelink_cc13x0_sdk_2_10_00_36

RTOS: tirtos_cc13xx_cc26xx_2_21_00_06, tirtos_simplelink_2_14_02_22

board used: CC1310DK_5XD_F128(custom RF module)

I have to combine GPIO for sensor interfacing and transmission(of RF signal at 865MHz) on one side (1st board) and reception(RF signal) and UART on another board.

I have tried code :


/*
* Copyright (c) 2015-2016, Texas Instruments Incorporated
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* * Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
*
* * Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* * Neither the name of Texas Instruments Incorporated nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
* PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
* OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
* WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
* OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
* EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/***** Includes *****/
#include <stdlib.h>
#include <xdc/std.h>
#include <xdc/cfg/global.h>
#include <xdc/runtime/System.h>


#include <ti/sysbios/BIOS.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Semaphore.h>

/* Drivers */
#include <ti/drivers/rf/RF.h>
#include <ti/drivers/PIN.h>
#include <driverlib/rf_prop_mailbox.h>


#include <ti/drivers/UART.h>

/* Board Header files */
#include "Board.h"

#include "RFQueue.h"
#include "smartrf_settings/smartrf_settings.h"

#include <stdlib.h>
#include <stdint.h>

/* Pin driver handle */
static PIN_Handle ledPinHandle;
static PIN_State ledPinState;


/*
* Application LED pin configuration table:
* - All LEDs board LEDs are off.
*/
PIN_Config pinTable[] =
{
Board_LED1 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,
Board_LED2 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,
#if defined __CC1352R1_LAUNCHXL_BOARD_H__
Board_DIO6_RFSW | PIN_GPIO_OUTPUT_EN | PIN_GPIO_HIGH | PIN_PUSHPULL | PIN_DRVSTR_MAX,
#endif
PIN_TERMINATE
};

/* semaphore object definitions */
Semaphore_Struct semStruct;
Semaphore_Handle semHandle;

/***** Defines *****/
#define RX_TASK_STACK_SIZE 1024
#define RX_TASK_PRIORITY 2

/* Packet RX Configuration */
#define DATA_ENTRY_HEADER_SIZE 8 /* Constant header size of a Generic Data Entry */
#define MAX_LENGTH 30 /* Max length byte the radio will accept */
#define NUM_DATA_ENTRIES 2 /* NOTE: Only two data entries supported at the moment */
#define NUM_APPENDED_BYTES 2 /* The Data Entries data field will contain:
* 1 Header byte (RF_cmdPropRx.rxConf.bIncludeHdr = 0x1)
* Max 30 payload bytes
* 1 status byte (RF_cmdPropRx.rxConf.bAppendStatus = 0x1) */

/***** Prototypes *****/
static void rxTaskFunction(UArg arg0, UArg arg1);
static void callback(RF_Handle h, RF_CmdHandle ch, RF_EventMask e);

/***** Variable declarations *****/
static Task_Params rxTaskParams;
Task_Struct rxTask; /* not static so you can see in ROV */
static uint8_t rxTaskStack[RX_TASK_STACK_SIZE];

static RF_Object rfObject;
static RF_Handle rfHandle;

/* Buffer which contains all Data Entries for receiving data.
* Pragmas are needed to make sure this buffer is 4 byte aligned (requirement from the RF Core) */
#if defined(__TI_COMPILER_VERSION__)
#pragma DATA_ALIGN (rxDataEntryBuffer, 4);
static uint8_t rxDataEntryBuffer[RF_QUEUE_DATA_ENTRY_BUFFER_SIZE(NUM_DATA_ENTRIES,
MAX_LENGTH,
NUM_APPENDED_BYTES)];
#elif defined(__IAR_SYSTEMS_ICC__)
#pragma data_alignment = 4
static uint8_t rxDataEntryBuffer[RF_QUEUE_DATA_ENTRY_BUFFER_SIZE(NUM_DATA_ENTRIES,
MAX_LENGTH,
NUM_APPENDED_BYTES)];
#elif defined(__GNUC__)
static uint8_t rxDataEntryBuffer [RF_QUEUE_DATA_ENTRY_BUFFER_SIZE(NUM_DATA_ENTRIES,
MAX_LENGTH, NUM_APPENDED_BYTES)] __attribute__ ((aligned (4)));
#else
#error This compiler is not supported.
#endif

/* Receive dataQueue for RF Core to fill in data */
static dataQueue_t dataQueue;
static rfc_dataEntryGeneral_t* currentDataEntry;
static uint8_t packetLength;
static uint8_t* packetDataPointer;

static PIN_Handle pinHandle;

static uint8_t packet[MAX_LENGTH + NUM_APPENDED_BYTES - 1]; /* The length byte is stored in a separate variable */


/***** Function definitions *****/
void RxTask_init(PIN_Handle ledPinHandle) {
pinHandle = ledPinHandle;

Task_Params_init(&rxTaskParams);
rxTaskParams.stackSize = RX_TASK_STACK_SIZE;
rxTaskParams.priority = RX_TASK_PRIORITY;
rxTaskParams.stack = &rxTaskStack;
rxTaskParams.arg0 = (UInt)1000000;

Task_construct(&rxTask, rxTaskFunction, &rxTaskParams, NULL);
}

static void rxTaskFunction(UArg arg0, UArg arg1)
{
/* Init UART */
const char startPrompt[] = "Opening UART and RF:\r\n";
const char packetRxPromt[] = "Packet received \r\n";
UART_Handle uart;
UART_Params uartParams;

UART_init();

/* Create a UART with data processing off. */
UART_Params_init(&uartParams);
uartParams.writeDataMode = UART_DATA_BINARY;
uartParams.readDataMode = UART_DATA_BINARY;
uartParams.readReturnMode = UART_RETURN_FULL;
uartParams.readEcho = UART_ECHO_OFF;
uartParams.baudRate = 115200;

uart = UART_open(Board_UART0, &uartParams);

if (uart == NULL) {
/* UART_open() failed */
while (1);
}

RF_Params rfParams;
RF_Params_init(&rfParams);

if( RFQueue_defineQueue(&dataQueue,
rxDataEntryBuffer,
sizeof(rxDataEntryBuffer),
NUM_DATA_ENTRIES,
MAX_LENGTH + NUM_APPENDED_BYTES))
{
/* Failed to allocate space for all data entries */
while(1);
}

/* Modify CMD_PROP_RX command for application needs */
RF_cmdPropRx.pQueue = &dataQueue; /* Set the Data Entity queue for received data */
RF_cmdPropRx.rxConf.bAutoFlushIgnored = 1; /* Discard ignored packets from Rx queue */
RF_cmdPropRx.rxConf.bAutoFlushCrcErr = 1; /* Discard packets with CRC error from Rx queue */
RF_cmdPropRx.maxPktLen = MAX_LENGTH; /* Implement packet length filtering to avoid PROP_ERROR_RXBUF */
RF_cmdPropRx.pktConf.bRepeatOk = 1;
RF_cmdPropRx.pktConf.bRepeatNok = 1;

/* Request access to the radio */
rfHandle = RF_open(&rfObject, &RF_prop, (RF_RadioSetup*)&RF_cmdPropRadioDivSetup, &rfParams);

/* Set the frequency */
RF_postCmd(rfHandle, (RF_Op*)&RF_cmdFs, RF_PriorityNormal, NULL, 0);

/* Write to the UART before starting RX */
UART_write(uart, startPrompt, sizeof(startPrompt));

/* Enter RX mode and stay forever in RX */
RF_EventMask terminationReason = RF_postCmd(rfHandle, (RF_Op*)&RF_cmdPropRx,
RF_PriorityNormal, &callback,
RF_EventRxEntryDone);

while(1)
{
/* Waiting for packet */
Semaphore_pend(semHandle, BIOS_WAIT_FOREVER);
/* Writing packet to UART */
UART_write(uart, &packet, packetLength);
};

}

void callback(RF_Handle h, RF_CmdHandle ch, RF_EventMask e)
{
if (e & RF_EventRxEntryDone)
{
/* Toggle pin to indicate RX */
PIN_setOutputValue(pinHandle, Board_LED2,!PIN_getOutputValue(Board_LED2));

/* Get current unhandled data entry */
currentDataEntry = RFQueue_getDataEntry();

/* Handle the packet data, located at &currentDataEntry->data:
* - Length is the first byte with the current configuration
* - Data starts from the second byte */
packetLength = *(uint8_t*)(&currentDataEntry->data);
packetDataPointer = (uint8_t*)(&currentDataEntry->data + 1);

/* Copy the payload + the status byte to the packet variable */
memcpy(packet, packetDataPointer, (packetLength + 1));

RFQueue_nextEntry();
/* Packet received */
Semaphore_post(semHandle);
}
}

/*
* ======== main ========
*/
int main(void)
{
Semaphore_Params semParams;
/* Construct a Semaphore object to be use as a resource lock, inital count 1 */
Semaphore_Params_init(&semParams);
Semaphore_construct(&semStruct, 0, &semParams);
/* Obtain instance handle */
semHandle = Semaphore_handle(&semStruct);

/* Call driver init functions. */
Board_initGeneral();

/* Open LED pins */
ledPinHandle = PIN_open(&ledPinState, pinTable);
Assert_isTrue(ledPinHandle != NULL, NULL);

/* Initialize task */
RxTask_init(ledPinHandle);

/* Start BIOS */
BIOS_start();

return (0);

}

but it gives me error while linking

I also tried example of CC13xx TI-RTOS based RF TX/RX test platform using UART command interface: e2e.ti.com/.../469335

but it does not work  in my case as it define for Launchpad.

If anybody has any suggestion/advice please suggest me, please reply as soon as possible.

 thank you for the help in advance.

  • Hi Pushpak,

    Could you provide a more detailed console log showing the build error? From what I can tell from the screen shot you have unresolved symbols in your project. Try comment out "Assert_isTrue" (or implement a dummy function) as this at very least in unresolved.
  • console output:

    **** Clean-only build of configuration Debug for project rfPacketRx_CC1310DK_5XD_TI_CC1310F128 ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 2 clean -O

    cleaning ../src/sysbios ...

    DEL /F  "../src/makefile.libs" "rfPacketRx_CC1310DK_5XD_TI_CC1310F128.hex"  "configPkg\linker.cmd" "configPkg\compiler.opt"  "rfPacketRx_CC1310DK_5XD_TI_CC1310F128.out"

    RMDIR /S/Q  "configPkg\"

    DEL /F "CC1310DK_5XD.obj" "RFQueue.obj" "ccfg.obj" "rfPacketRx.obj" "smartrf_settings\smartrf_settings.obj"

    DEL /F "CC1310DK_5XD.d" "RFQueue.d" "ccfg.d" "rfPacketRx.d" "smartrf_settings\smartrf_settings.d"

    Could Not Find C:\Users\comp\workspace1\rfPacketRx_CC1310DK_5XD_TI_CC1310F128\src\../src/makefile.libs

    Could Not Find C:\Users\comp\workspace1\rfPacketRx_CC1310DK_5XD_TI_CC1310F128\Debug\rfPacketRx_CC1310DK_5XD_TI_CC1310F128.hex

    Could Not Find C:\Users\comp\workspace1\rfPacketRx_CC1310DK_5XD_TI_CC1310F128\Debug\rfPacketRx_CC1310DK_5XD_TI_CC1310F128.out

    'Finished clean'

    ' '

    **** Build Finished ****

    **** Build of configuration Debug for project rfPacketRx_CC1310DK_5XD_TI_CC1310F128 ****

    "C:\\ti\\ccsv7\\utils\\bin\\gmake" -k -j 2 all -O

    gmake[1]: Entering directory 'C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/Debug'

    'Building file: ../rfExamples.cfg'

    'Invoking: XDCtools'

    "C:/ti/xdctools_3_32_00_06_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages;C:/ti/simplelink_cc13x0_sdk_2_10_00_36/source;C:/ti/simplelink_cc13x0_sdk_2_10_00_36/kernel/tirtos/packages;C:/ti/tirtos_simplelink_2_14_02_22/packages;C:/ti/tirtos_simplelink_2_14_02_22/products/bios_6_42_02_29/packages;C:/ti/tirtos_simplelink_2_14_02_22/products/uia_2_00_02_39/packages;C:/ti/ccsv7/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS" --compileOptions "-mv7M3 --code_state=16 --float_support=vfplib -me --include_path=\"C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128\" --include_path=\"C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128\" --include_path=\"C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/smartrf_settings\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272\" --include_path=\"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include\" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../rfExamples.cfg"

    making package.mak (because of package.bld) ...

    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...

    configuring rfExamples.xem3 from package/cfg/rfExamples_pem3.cfg ...

    generating custom ROM library makefile ...

    Starting build of library sources ...

    making C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/src/sysbios/rom_sysbios.aem3 ...

    gmake[1]: Entering directory `C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/src/sysbios'

    clem3 C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages/ti/sysbios/BIOS.c ...

    asmem3 C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages/ti/sysbios/family/arm/m3/Hwi_asm.sv7M ...

    asmem3 C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages/ti/sysbios/family/arm/m3/Hwi_asm_switch.sv7M ...

    asmem3 C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages/ti/sysbios/family/arm/m3/IntrinsicsSupport_asm.sv7M ...

    asmem3 C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages/ti/sysbios/family/arm/m3/TaskSupport_asm.sv7M ...

    arem3 rom_sysbios.obj m3_Hwi_asm.obj m3_Hwi_asm_switch.obj m3_IntrinsicsSupport_asm.obj m3_TaskSupport_asm.obj ...

    gmake[1]: Leaving directory `C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/src/sysbios'

    Build of libraries done.

    clem3 package/cfg/rfExamples_pem3.c ...

    'Finished building: ../rfExamples.cfg'

    ' '

    gmake[1]: Leaving directory 'C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/Debug'

           1 file(s) copied.

    making ../src/sysbios/rom_sysbios.aem3 ...

    gmake[1]: Nothing to be done for 'all'.

    'Building file: ../RFQueue.c'

    'Invoking: ARM Compiler'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/smartrf_settings" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="RFQueue.d_raw" --cmd_file="configPkg/compiler.opt" "../RFQueue.c"

    'Finished building: ../RFQueue.c'

    ' '

    'Building file: ../ccfg.c'

    'Invoking: ARM Compiler'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/smartrf_settings" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="ccfg.d_raw" --cmd_file="configPkg/compiler.opt" "../ccfg.c"

    'Finished building: ../ccfg.c'

    ' '

    'Building file: ../CC1310DK_5XD.c'

    'Invoking: ARM Compiler'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/smartrf_settings" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="CC1310DK_5XD.d_raw" --cmd_file="configPkg/compiler.opt" "../CC1310DK_5XD.c"

    'Finished building: ../CC1310DK_5XD.c'

    ' '

    'Building file: ../rfPacketRx.c'

    'Invoking: ARM Compiler'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/smartrf_settings" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="rfPacketRx.d_raw" --cmd_file="configPkg/compiler.opt" "../rfPacketRx.c"

    "../rfPacketRx.c", line 161: warning #179-D: variable "packetRxPromt" was declared but never referenced

    "../rfPacketRx.c", line 269: warning #225-D: function "Assert_isTrue" declared implicitly

    'Finished building: ../rfPacketRx.c'

    ' '

    'Building file: ../smartrf_settings/smartrf_settings.c'

    'Invoking: ARM Compiler'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128" --include_path="C:/Users/comp/workspace1/rfPacketRx_CC1310DK_5XD_TI_CC1310F128/smartrf_settings" --include_path="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272" --include_path="C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --preproc_with_compile --preproc_dependency="smartrf_settings/smartrf_settings.d_raw" --obj_directory="smartrf_settings" --cmd_file="configPkg/compiler.opt" "../smartrf_settings/smartrf_settings.c"

    'Finished building: ../smartrf_settings/smartrf_settings.c'

    ' '

    making ../src/sysbios/rom_sysbios.aem3 ...

    gmake[2]: Nothing to be done for 'all'.

    'Building target: rfPacketRx_CC1310DK_5XD_TI_CC1310F128.out'

    'Invoking: ARM Linker'

    "C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/bin/armcl" -mv7M3 --code_state=16 --float_support=vfplib -me --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi -z -m"rfPacketRx_CC1310DK_5XD_TI_CC1310F128.map" --heap_size=0 --stack_size=256 -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/lib" -i"C:/ti/ccsv7/tools/compiler/ti-cgt-arm_16.9.4.LTS/include" --priority --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="rfPacketRx_CC1310DK_5XD_TI_CC1310F128_linkInfo.xml" --rom_model -o "rfPacketRx_CC1310DK_5XD_TI_CC1310F128.out" "./CC1310DK_5XD.obj" "./RFQueue.obj" "./ccfg.obj" "./rfPacketRx.obj" "./smartrf_settings/smartrf_settings.obj" "../CC1310DK_5XD.cmd" -l"configPkg/linker.cmd" -l"C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272/driverlib/bin/ccs/driverlib.lib" -llibc.a

    <Linking>

    undefined     first referenced

     symbol           in file    

    ---------     ----------------

    Assert_isTrue ./rfPacketRx.obj

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "rfPacketRx_CC1310DK_5XD_TI_CC1310F128.out" not built

    >> Compilation failure

    makefile:148: recipe for target 'rfPacketRx_CC1310DK_5XD_TI_CC1310F128.out' failed

    makefile:144: recipe for target 'all' failed

    gmake[1]: *** [rfPacketRx_CC1310DK_5XD_TI_CC1310F128.out] Error 1

    gmake: *** [all] Error 2

    **** Build Finished ****

    error window:

  • You still got unresolved symbols as I explained in the previous post (check your first error line). You can also see this in the console output:

    <Linking>

    undefined first referenced

    symbol in file

    --------- ----------------

    Assert_isTrue ./rfPacketRx.obj

    error #10234-D: unresolved symbols remain

    error #10010: errors encountered during linking; "rfPacketRx_CC1310DK_5XD_TI_CC1310F128.out" not built



    You will have to fix this either by removing the assert or including what is needed for it to compile.
  • Can you suggest any alternate way/code to combine receiver and UART.
    Also provide me any solution/code, if any available, for GPIO and transmission together (on easylink or rfPaketTX/RX ).
    please provide as soon as possible.
    thank you in advance.
  • I think you should stay and work with your current solution and try to get that working. I can not provide you any ready solution or code for this, I recommend you use the existing peripheral and driver examples to implement what you want.

    As a start, have you done what I told you and fixed your unresolved symbols?