Tool/software: TI-RTOS
Hi Team,
I am working on the implementation of the time synchronization feature. I want to know how to measure the value of dtx in One-way synchronization example?
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 Team,
I am working on the implementation of the time synchronization feature. I want to know how to measure the value of dtx in One-way synchronization example?
Why is my RFC_GPO3 not output?
PIN_Config ledPinTable[] = { IOID_5 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX, PIN_TERMINATE }; .... .... PINCC26XX_setMux(ledPinHandle, IOID_5, PINCC26XX_MUX_RFC_GPO3); /* Open LED pins */ ledPinHandle = PIN_open(&ledPinState, ledPinTable); if (ledPinHandle == NULL) { while(1); }
Hi X,
I believe it is just dx. Start trigger to start trigger should include the delay of the first transmission, the transmission itself plus the fixed offset given by you when rescheduling.
Think of it like this, you get a timestamp by the device saying when you started to receive the message and schedule a send back maybe 100ms into the future. You then measure the time from the first to second trigger. Ideally, this would be 100ms assuming no latency on the second TX, the error here should be your dx which would be the latency from assumed start time to actual start time.
Hi M-W,
You are right, I understand it now.I tested RFC_GPO3 in the rfListenBeforeTalk routine to output normally, but in WOR-RX, the send command can be executed normally and the serial port can print data, GPO0 has output, GPO1 and GPO3 have no output, what is the reason?
case PROP_DONE_OK: /* Received packet */ worStatistics.doneOk++; RF_cmdPropTxAdv.pktLen = packetLength + 1; RF_cmdPropTxAdv.startTime = rxstamp + RF_convertMsToRatTicks(100); RF_runCmd(rfHandle, (RF_Op*)&RF_cmdPropTxAdv,RF_PriorityNormal, NULL, 0); Display_printf(uartDisplayHandle, 0, 0, "stamp = %d",rxstamp); break;