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.

CC2650 Unknown Command ID problem w/ IEEE and Proprietary commands

Other Parts Discussed in Thread: CC2650

Hi all,

I am developing firmware for a device intended to use the CC2650 for wireless communication using the ZigBee protocol. My firmware is not based around the TI-RTOS, but I use the cc26xxware libraries.

So far, setting up basic operation works fine. I manage to enter the TX_TEST states and transmit and test both CW and the Pseudo-random sequences (which excludes a hardware issue), after configuring the radio and freq. synthesizer using the CMD_RADIO_SETUP and CMD_FS commands. The CMD_RADIO_SETUP also seems to configure the radio in IEEE, GFSK and BLE modes without error.

However, I get odd responses from the RF Core, when sending commands that are protocol specific and not general. Any proprietary (CMD_PROP_RADIO_SETUP or CMD_PROP_TX) or IEEE (CMD_IEEE_TX) command returns a CMDSTA value of 0x82, which according to the documentation is UnknownCommand (the command's ID is unknown). The IDs sent with the commands seem fine, for example the CMD_IEEE_TX command's ID, which I send is 0x2C01, which is the one noted in the user manual, as well.

Any ideas what this could be caused by? Is it possible I am missing some initial setup command, as all protocol-related commands seem to cause this response? I am using a PG 2.2 HW revision of the chip. 

Thanks,

Lachezar

  • I would suggest taking a look at the Open Source Contiki which has been ported to CC26xx. It uses the IEEE API.

    github.com/.../dev

    Best,
    Jonas
  • Hello!

    I am using a CC2650 with a SmartRF06 Evaluation Board and I am facing a similar problem:


    I try to enter the IEEE 802.15.4 receive mode (CMD_IEEE_RX, command ID 0x2801) and the CPE's signals back via CMDSTA a status code of 0x82 ("unknown command"). I have tried different configurations and even used some code from the Contiki. The CPE always responds "unknown command". Before trying to enter receive mode, I first setup the CPE using CMD_RADIO_SETUP and after this CMD_FS_POWERUP. Both commands return no error.


    Is this a known bug and is there any help for this problem?

  • Jonas' suggestion to look at the Contiki source was a good one.

    However be aware that if you are using your own setup or OS you need to make sure the RFCore is powered down prior to setting the (completely undocumented as far as I can see) value of the RFCMODESEL register as per Contiki.

    I was using the TI SysCtrlPowerEverything() call before setting RFCMODESEL so, I'm guessing, the RFCore was already set up with the default value and ignored any changes that were made. The result being "Unknown Command" for any of the IEEE commands.

    Regards,
    Sholto.
  • Ensure that the RFCore is powered off before setting the (poorly documented) RFCMODESEL as per Contiki rf_core_set_modesel() function.

    It seems the RFCore needs to be powered up with the correct RFCMODESEL setting applied beforehand.

    In my case I was using the TI SysCtrlPowerEverything() function and then trying to set RFCMODESEL with the RFCore powered. This resulted in the "Unknown Command" response to any of the IEEE commands.

    Regards,
    Sholto.