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.

CC1310: bAutoFlushCrcErr

Part Number: CC1310

Dear team,

The customer does not want to receive the packet which has the CRC error. So he used the following setting

pktConf.bUseCrc = 0x1;

RF_cmdPropRx.pQueue = &dataQueue; /* Set the Data Entity queue for received data */
RF_cmdPropRx.rxConf.bAutoFlushIgnored = 1; /* Discard ignored packets from Rx queue */
RF_cmdPropRx.rxConf.bAutoFlushCrcErr = 1; /* Discard packets with CRC error from Rx queue */
RF_cmdPropRx.rxConf.bIncludeHdr = 1; /* Put length field in front of queue entries. */
RF_cmdPropRx.rxConf.bAppendRssi = 1; /*If 1, append an RSSI byte to the packet in the RX queue*/
RF_cmdPropRx.maxPktLen = 128; /* Implement packet length filtering to avoid PROP_ERROR_RXBUF */

1 Use SmartRF of Version 2.6.0 for receiving and sending tests, and the same configuration can also receive data packets with CRC errors;
2 Use SmartRF of Version 2.13.0 for receiving and sending tests, and the same configuration will not receive data packets with CRC errors. If RF_cmdPropRx.rxConf.bAutoFlushCrcErr = 0; then the configuration will receive a CRC error packet;


Do you help to confirm that it is the sdk version problem?

  • The settings you show above, are the correct settings to use if you want to discard packets with CRC errors.

    I do not have access to the different SmartRF Studio versions you are referring to, but I will get someone in the tools team to comment on this.

    BR

    Siri

  • Hi Susan,

    We did a change in SmartRF Studio at some point between 2.6.0 and 2.13.0 related to the rxConf handling (I think it was 2.8.0).

    Before 2.8.0 the rxConf.bAutoFlushIgnord and rxConf.bAutoFlushCrcErro values was always set equal "0" when starting Packet RX.

    After 2.8.0 the values would be kept as given in the command view. That means with the settings given above you will not receive any data packets with CRC errors.

    Best regards,

    Øyvind