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.

CC2630: Contiki doesn't work on CC2630

Part Number: CC2630
Other Parts Discussed in Thread: CC2650,

Hi!

I get the latest version of contiki (via git clone --recursive github.com/.../contiki.git)

after that I build the default example on /examples/cc26xx, and load .bin to CC2630 and CC2650 boards. I see the RF packets on the CC2650 boards, but not on CC2630.

Does anyone know what is wrong with the contiki code that doesn't work on CC2630? Or what is the difference between the CC2630 and CC2650 in terms of the RF part in the contiki, so that I can narrow down the problem where to look for the problem.

Thank you,

Serdar

  • Not sure if this is the problem caused by latest Contiki code. You can try to git to an older version to see if it works.
  • I tried with an older version, I get the same problem. I am not sure what is wrong, but maybe with the board.h pin mapping. Weird thing is that e.g., I can stop it work on CC2650EVM (I am using 5x5 SoC) if I use "IOID_UNUSED" on BOARD_IOID_KEY_xxx. It is a very weird problem that I can't relate the pin mapping with the RF functionality. It might be combination of .config as well.

    Have you ever experienced similar problem?
  • So,does the code work on. CC2650EVM but not on your custom CC2650 board?
  • The code works fine on CC2650 but not on CC2630 chip. 

    The CC2630 is my custom board. If I mount CC2650, the code works on the custom board, but if I mount CC2630, the RF part doesn't work. I can still get pin interrupts, timer etc on the CC2630 (see it through IAR), but the RF part doesn't work.

    I have 1.5 years old contiki project, that contiki works fine on CC2630 as well, but I can't see the difference apart from CC26xxware and some new things. Do you think the problem should be cc26xxware related? Do you have any CC2630 board to verify if the default cc26xx-web-demo example works fine on the CC2630?

  • CC26xxware driverlib/chipinfo.c has a mistake

    from line 146:
    case 0xC :
    chipType = CHIP_TYPE_CC2630 ;
    case 0x1 :

    it needs to be:
    case 0xC :
    chipType = CHIP_TYPE_CC2630 ;
    break;
    case 0x1 :


    otherwise, it gets wrong chip type and can't do the correct RF initialization.

    A beginner mistake on the firmware caused me 2 weeks :)
  • Thanks for sharing this. I will try to update this patch to Contiki github.