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.
Replies: 9
Views: 1321
Part Number: CC2543
I'd like to setup the minimum transmit interval with the CC2543. Specifically I want to achieve 500us intervals or less. I am using the "per_test" software project as a starting point.
On line 289 of "per_test_cc254x.c", I can shorten the TX Interval with the argument to halRfPacketTxInterval( ). However, any argument below 600 doesn't result in a shorter duration between packets.
Could you provide guidance how to achieve a shorter Tx interval? I am guessing there's something in the radio configuration I'm missing.
In reply to npb17:
Please click the "This Resolved My Issue" button on this post if it answers your question
Then simply send them back2back by repeating something like this:
// Start each receive/transmit immediately on command PRF.TASK_CONF.START_CONF = 0; while(1) { // Start transmitter. halRfStartTx(); // Wait for TASKDONE. while (!(rfirqf1 & RFIRQF1_TASKDONE)); if(PRF.ENDCAUSE == TASK_ENDOK) { if(rfirqf1 & RFIRQF1_TXDONE) { halRfCommand(CMD_TXFIFO_RETRY); } else { // Handle other possible interrupt flags. } } else { // Handle error } }
Best Regards, Eirik Please refer to the resources and abbreviations below for explanations and answers to many questions.
SLA - Simplelink Academy, SCS - Sensor Controller Studio, SC - Sensor Controller, TI Cloud Tools, Resource Explorer, Bluetooth low energy software stack, Bluetooth low energy software stack archive, TI BLE Wiki (OLD), BLE Getting Started and FAQ, CC1352R and CC26x2R Intro, Bluetooth SIG Core Spec, CC2640R2F SDG, CC26X2 SDG, CC2650/CC2640 SDG, BLE PACKET SNIFFER
In reply to Eirik V:
I ended up determining that a large portion of the delay is due to the LCD update within the core software while-loop.
With those statements removed, there is no problem reaching under 500usecond packet intervals for transmit.