Skip to content
Phuong Nguyen edited this page Mar 30, 2016 · 2 revisions

Wake On Radio

Wake On Radio (WOR) is a hardware-based version of low power communication. An integrated sleep time is used to enable radio transceiver to automatically perform duty cycle without intervention from the main microprocessor. In WOR operation mode, the transceiver is periodically waken up from sleep, entering receive mode, listening to medium, and then immediately goes to sleep when a valid packet is not received. Otherwise, it stays in receive mode until the packet is completely received.


_Fig. 1: Wake-On-Radio_ [1]

Enable/Disable WOR-feature

The current emb6 supports two TI transceiver that come with WOR-feature, namely CC112x and CC120x. By default the WOR is disabled at initialization of transceiver drivers and can be enabled via IO Control function with command NETSTK_CMD_RF_WOR_EN as following:

e_nsErr_t err;
uint8_t wor_enable;

/* enable WOR feature */
wor_enable = TRUE;
PHY_Netstk->rf->ioctrl(NETSTK_CMD_RF_WOR_EN, &wor_enable, &err);

When the command NETSTK_CMD_RF_WOR_EN is used for other transceivers, an error code named NETSTK_ERR_CMD_UNSUPPORTED is returned, indicating WOR-feature is not supported.

References

[1] Texas Instruments, Application Report SWRA428A: "CC112x/CC120x RX Sniff Mode", October 2013