Hi, I have a question regarding the cc251x radio data rate. The following is from the cc2510 mini development kit software example, to send a 2-byte data,
********************************************************************************************************
for( uint8_t x = 0; x < NUM_TX_RETRIES; x++ )
{
SMPL_Send(sLinkID, radioMsg, sizeof(radioMsg));
/* Turn on RX. default is RX Idle. */
SMPL_Ioctl( IOCTL_OBJ_RADIO, IOCTL_ACT_RADIO_RXON, 0);
SPIN_ABOUT_QUARTER_A_SECOND; /* Might have to be longer for bigger payloads */
if( sSemaphore )
break;
}
********************************************************************************************************
After sending, there is "SPIN_ABOUT_QUARTER_A_SECOND" before sending again, is this waiting for the Semaphore to set?
Now, I guess the 0.25 second waiting slows down the radio, because I don't see much difference at the data transmission speed if I set the radio at 500k Bauds vs. 2.4k Bauds.
With this 0.25 second waiting, how do I increase the data rate? Does larger payload per packet help?
Thanks!