Other Parts Discussed in Thread: TEST2, CC2650, CC1310
Tool/software: Code Composer Studio
Hi TI,
we run a proprietary protocol with the CC2652R, and we need change the symbolRate basic the RSSI, eg: when RSSI>-70dbm, we use the 1Mbps rate, otherwise, we use 250Kbps,
we need switch between these two datarate withou reset the chip, and make sure it switch successfully within 300us, is there any CMD can implement this function?
i find the same question:https://e2e.ti.com/support/wireless-connectivity/sub-1-ghz/f/156/t/641406?tisearch=e2e-sitesearch&keymatch=symbolRate
my question is where is the "upated setup command"? i can only find the "RF_cmdPropRadioDivSetup", but it does not work when call“RF_postCmd(rfHandle, (RF_Op*)&RF_cmdPropRadioDivSetup, RF_PriorityNormal, NULL, 0);”
edit:it should be RF_open(&rfObject, &RF_prop, (RF_RadioSetup*)&RF_cmdPropRadioDivSetup, &rfParams);rather than RF_postCmd(rfHandle, (RF_Op*)&RF_cmdPropRadioDivSetup, RF_PriorityNormal, NULL, 0);
now i can change symbolRate and deviation dynamically like this:
PIN_setOutputValue(ledPinHandle, Board_PIN_LED1,1);
RF_close(rfHandle);
RF_cmdPropRadioDivSetup.symbolRate.rateWord = 0x28000;
rfHandle = RF_open(&rfObject, &RF_prop, (RF_RadioSetup*)&RF_cmdPropRadioDivSetup, &rfParams);
/* Set the frequency */
RF_cmdFs.frequency = 2404;
RF_postCmd(rfHandle, (RF_Op*)&RF_cmdFs, RF_PriorityNormal, NULL, 0);
PIN_setOutputValue(ledPinHandle, Board_PIN_LED1,0);
but it takes 43ms it finish the re_init opteration, how can we shorten the time to 10ms or less?
help, please.
Thanks,
LN