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.

СС1310 WOR + EasyLink API

Other Parts Discussed in Thread: CC1310

Hi,

I want to use rfWakeOnRadioRx_CC1310 example as node and rfEasyLinkNp_CC1310 example  as hub. rfEasyLinkNp_CC1310 uses EasyLink API.

Is it possible?

I  tried to use rfWakeOnRadioRx_CC1310 as receiver and rfEasyLinkTx_CC1310 (EasyLink API)  as transmitter, but I did not get success. Receiver doesn't  receive. Also tried to send package via SmartRF studio, but result is same.

 Is posible set WOR parametrs via EasyLink API? 

I will appreciate if you share any information.

Thank you.

  • Yes this is possible. The WOR Rx example needs a 500ms preamble, the best way to do this is EasyLink is tho change the EasyLink_cmdPropTx to from a rfc_CMD_PROP_TX_t to a rfc_CMD_PROP_TX_ADV_t command, you can then use the . rfc_CMD_PROP_TX_ADV_t.preTime to set the time the preamble is Tx'ed for. Please refer to the rfWakeOnRadioTx.c for the correct settings:

    RF_cmdPropTxAdv.preTime = WOR_PREAMBLE_TIME_RAT_TICKS(WOR_WAKEUPS_PER_SECOND);

    Regards, TC.
  • I am trying to do the same - use Easylink API to transmit and rfWakeOnRadioRx sample approach to receive. My device should always be in receiver mode and very rare to transmit. I have created two tasks, main and rxTask for receiving, and I am trying to perform synchronous transmit calls from main task and WOR functionality in rxTask. I can transmit, if will not rum rxTask, and I can receive if will not call transmit function, there is no problem here.
    The problem is receive and transmit doesn't work together, receiving is working good until first call of transmit function, after that both ways stop to work. I was able to trace transmit function up to Easylink_init(...) -> setting the frequency RF_runCmd(...) call, it crashes here, I cannot trace deeply. Seems like radio initialization problem, rxTask and transmit function (EasyLink) both have own radio initialization, which, I believe, is wrong.

    Are there any solutions to solve, please?