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: Measurement of when RX starts & ends by GPIO

Part Number: CC1310


Tool/software: Code Composer Studio

I am using the sample rfPacketErrorRate to measure the time of when RX starts and ends during data transfer by another side TX in HSM (@915MHz). I followed some instructions to use GPIO output for monitoring the RX cycle but it did not success. Here below is some of my codes to do this task.

for HSM override setting, add below

uint32_t pOverrides_hsm[] = {

...

(uint32_t) (0x008F88B3),

HW_REG_OVERRIDE(0x1110, RFC_DBELL_SYSGPOCTL_GPOCTL0_RATGPO1 |           // route RAT_GPO1 (RX) to RFC_GPO0

                                          RFC_DBELL_SYSGPOCTL_GPOCTL1_RATGPO0),                           // route RAT_GPO0 (TX) to RFC_GPO1

(uint32_t) (0xFFFFFFFF),

}

in the menu.c, add below to set the GPIO routing

PINCC26XX_setMux(buttonPinHandle, CC1310_LAUNCHXL_RF_TX, PINCC26XX_MUX_RFC_GPO1);

PINCC26XX_setMux(buttonPinHandle, CC1310_LAUNCHXL_RF_RX, PINCC26XX_MUX_RFC_GPO0);

and in the rfPacketErrorRate.c, add below to set GPIO setting

PIN_Config_buttonPinTable[] = {

...

CC1310_LAUNCHXL_RF_TX | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,

CC1310_LAUNCHXL_RF_RX | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX,

}

I expect the GPIO CC1310_LAUNCHXL_RF_RX has logic change to indicate the whole RX cycle during TX by another side but it has no any signal output. Any suggestion for this? Thanks.

Teddy

  • Hi Teddy

    Are you using repeat mode? I found a Jira ticket filed not long ago stating that to have RAT_GPO1 to go high when sync word is detected and low either when the packet has been received or reception has been aborted both bRepeatOk and bRepeatNok must be 0.
    This information will be added to the Proprietary RF User's Guide

    BR
    Siri
  • It was using repeat mode in my code. As you said, it can work if I change to non-repeat mode. Thanks so much!