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: High packet loss rate

Part Number: CC1310

Hello,

I am testing a third party module containing the CC1310 and a 1W power amplifier, Ebyte E70-915T30S, and I have configured the device with the 200 kbps, 2-GFSK, 70 kHz deviation profile in SmartRF Studio. I am seeing something around 50% packet loss with 30 byte packets, with RX and TX devices sitting on opposite sides of my desk. The WB-DSSS 240kbps, 2-GFSK, 195 kHz deviation, 1x spreading profile gets something close to 0% packet loss. I'm wondering if you can give me an idea of what packet loss rate you would expect for the first profile, as I assume this is not typical performance. The device power supply is very noisy during transmission although I have followed the design guidelines for the module. I expect this may be the source of my problem?

Edit: Two other notes: I made one change to the 200 kbps profile: setting the frequency to 915 MHz to match the other profile. I also have the option set to discard packets whose CRC check fails. If I disable this option, the packet loss rate decreases substantially but remains quite high.

Thanks,

  • I have just tested with the devices connected into the SmartRF Studio control panel, rather than my test program based on the LAUNCHX-CC1310 examples, and that works just fine. If either the RX or the TX side is running my code, I get high packet loss. If both are SmartRF Studio I get zero packet loss. So it appears that it has something to do with the my code, although a quick glance doesn't reveal anything obvious. I will try to figure that out, and perhaps post back here if I still can't get it to work. Please don't bother with this in the mean time.

    Thanks,

  • It seems I have solved it! The E70 has no internal 32 kHz oscillator, and this is apparently important for proper radio operation.

    For others trying to get custom firmware working on E70: the line

    #define SET_CCFG_MODE_CONF_SCLK_LF_OPTION               0x2        // LF XOSC

    in ccfg.c must be commented out, and the line

    // #define SET_CCFG_MODE_CONF_SCLK_LF_OPTION            0x0        // LF clock derived from High Frequency XOSC

    uncommented. Presumably you could also add an external 32kHz oscillator, or use one of the other options as appropriate. Note also that the E70 appears to have code security enabled from the factory, so a mass erase in Flash Programmer 2 is required before programming with CCS. The LNA_EN (IOID_6) and PA_EN (IOID_7) outputs must also be configured appropriately, and connected thru to the corresponding LNA_EN and PA_EN pins on the module. Other than that, the LAUNCHXL-CC1310 example code appears to work fine on this device without further changes.

    Thanks,