Tool/software: TI-RTOS
Hi,I know the TRIG_REL_EVTn of Trigger Types .But,how to use it?Please give an example !thanks!
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.
Tool/software: TI-RTOS
Hi,I know the TRIG_REL_EVTn of Trigger Types .But,how to use it?Please give an example !thanks!
My purpose is based on wireless wake-up reception,return the received data.If i use this way,whether or not the data is received, it will execute the TX command per 500ms seconds.
/*my add*/ RF_cmdPropRxSniff.pktConf.bRepeatOk = 0; RF_cmdPropRxSniff.pktConf.bRepeatNok = 1; RF_cmdPropRxSniff.pNextOp = (rfc_radioOp_t *)&RF_cmdPropTx; /* Only run the TX command if RX is successful */ RF_cmdPropRxSniff.condition.rule = COND_STOP_ON_FALSE; RF_cmdPropTx.pktLen = 30; RF_cmdPropTx.pPkt = txPacket; RF_cmdPropTx.startTrigger.triggerType = TRIG_REL_PREVEND; RF_cmdPropTx.startTime = TX_DELAY; /*my add*/
I want to achieve is to execute the data only when the data is received.The core issue is how to choose a suitable trigger condition for sending commands.
If not, how can I achieve the switch between receiving and transmitting data?