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.

CC1310: cc1310

Part Number: CC1310

Here is part of my code, I can't still get the bit stream of CC1310's RF, is something wrong?

smartrf_settings.c:
```
static uint32_t pOverrides[] = {
    // Set the SYSGPOCTL register
    HW_REG_OVERRIDE(0x1110, (4 | 5 << 4)), // MCE0 -> RFC_GPO0, MCE1 -> RFC_GPO1

    ...
}
```


mainThread.c
```
...
PIN_Handle pinHandle;
PIN_State pinstate;

PIN_Config pinTable[] = {
    IOID_21 | PIN_GPIO_OUTPUT_EN | PIN_PUSHPULL | PIN_DRVSTR_MAX | PIN_GPIO_LOW,
    IOID_22 | PIN_GPIO_OUTPUT_EN | PIN_PUSHPULL | PIN_DRVSTR_MAX | PIN_GPIO_LOW,
    PIN_TERMINATE
};

/** Functions */
void foo3(void) {

    pinHandle = PIN_open(&pinstate, pinTable);

    /** Init Rf */
    RF_Object rf_object;
    RF_Params rf_params;
    RF_Params_init(&rf_params);
    rf_handle_g = RF_open(&rf_object, &RF_prop, (RF_RadioSetup*)&RF_cmdPropRadioDivSetup, &rf_params); /* Request access to the radio */
    RF_cmdFs.synthConf.bTxMode = 1;
    RF_runCmd(rf_handle_g, (RF_Op*)&RF_cmdFs, RF_PriorityNormal, NULL, 0); /* Set the frequency */

    int i = CC1310_RFC_DBELL.SYSGPOCTL; // This value is 0x54, which means MCE0 -> RFC_GPO0, MCE1 -> RFC_GPO1

    // Map RFC_GPO0 to IO 21
    PINCC26XX_setMux(pinHandle, IOID_21, PINCC26XX_MUX_RFC_GPO0);
    /// Map RFC_GPO1 to IO 22
    PINCC26XX_setMux(pinHandle, IOID_22, PINCC26XX_MUX_RFC_GPO1);

    /** Main procedure */
    CmdPropTx(rf_handle_g);
}
...
```