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.

RF_Params_init的参数初始化怎么配置?

Other Parts Discussed in Thread: CC1350

  • 你有什么特殊需求吗?
    通常是就是在RF_Params_init初始化后在open里面调用即可 使用可以参考如下:

    RF_Params rfParams;
    RF_Params_init(&rfParams);

    /* Open LED pins */
    ledPinHandle = PIN_open(&ledPinState, pinTable);
    if (ledPinHandle == NULL)
    {
    while(1);
    }

    #ifdef POWER_MEASUREMENT
    #if defined(Board_CC1350_LAUNCHXL)
    /* Route out PA active pin to Board_DIO30_SWPWR */
    PINCC26XX_setMux(ledPinHandle, Board_DIO30_SWPWR, PINCC26XX_MUX_RFC_GPO1);
    #endif
    #endif



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