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.

CC2640R2F: Does the CC2640R2F radio support data whitening in high-speed mode?

Part Number: CC2640R2F
Other Parts Discussed in Thread: CC1310

I see entries in the data structures for proprietary mode to add data whitening, but no entry for that in any of the high-speed mode examples.   Is it possible to use data whitening in high speed mode?

  • Hi William,

    CC2640R2F does not support high-speed mode. Are you asking about data whitening in high-speed mode in general, or specifically about the CC2640R2F.
  • It certainly does support high-speed mode. Look at your docs.
  • Hi,

    Whitening is not supported in HS mode out-of-the box.

    We are trying to verify if this can be enabled and will post an update when the testing is complete.

    Regards,

  • Thank you. I wanted to mention that if turning off CRC calculation helps provide some computational bandwidth for whitening on the radio processor, our application and deal with that. I'm also assuming that turning on whitening will improve RF performance and I'll get better sensitivity. If that isn't the case, but there is something else that I can do in high-speed mode, let me know what that is.
    --b
  • I also have a question about how the CRC is computed in high-speed mode. I see settings in rfc_CMD_PROP_RX_SNIFF_t and rfc_CMD_PROP_TX_ADV_t data structures to optionally compute the crc over the header and syncword. But there are no definitions for those options in any of the high-speed mode data structures: rfc_CMD_RADIO_SETUP_t, rfc_CMD_HS_RX_t, or rfc_CMD_HS_TX_t. From what I can tell it looks like high speed mode might be using the header and/or syncword in the CRC calcuation. What exactly is the CRC computed over in high speed mode, and is there a way to turn off computing the CRC over the header and syncword. If not, I assume the header and syncword are constant or mostly constant values. Is the syncword used 0x930B51de? And what are the bytes in the header -- do they include packet length?

    Thank you,
    --b
  • Another CRC question -- the cc1310 e2e posts imply that a 32-bit CRC is used in its high-speed mode, but when I set the bIncludeCrc bit in the high speed mode receive command structure I see only a 16-bit CRC in the data that comes back on the cc2640r2f. Is the cc2640r2f using the 16-bit crc described in the proprietary mode documentation?
  • Update -- I apologize, I had the radio in the wrong mode. I do see a 32-bit CRC returned in the receive packet in high speed mode, am trying to verify that I can match it now. My other question -- what data is the CRC computed over in high-speed mode is something I would still like to know.
  • After doing a little more work, I've determined that the 32-bit CRC used in high speed mode is computed over the two-byte length word and the data payload, and that you can use the linux 32-bit crc source as a base for computing the CRC. I'm using the CRC as a check on the forward error correction decode of high speed mode packets and things seem to be working. So I'm back to my original questions:

    1) I assume whitening would improve high-speed mode channel performance, is that correct?
    2) Is it possible to add whitening to high-speed mode on the cc2640r2f?

    Thank you,
    --b
  • Any updates on this thread? I'd like to know
    1) If there is a benefit to using whitening in high-speed mode
    2) If it's possible to enable whitening in high-speed mode

    Thank you,
    --b
  • Hi,

    It is not possible to enable whitening in the 5mbps mode.

    Alternative is to implement whitening in the application code.

    Regards,