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.

How to create CC2530-based PCB from scratch

Other Parts Discussed in Thread: CC2530, Z-STACK, SIMPLICITI

Hello community,
For a zigbee connectivity project , my company is considering the use of the CC2530 SoC .  This chip will be mounted on some minimal custom pcb .
There are  n  end-device boards that need to send an  "I'm alive"  message to the coordinator every 10 seconds, the coordinator has to read the message, extract the RSSI value and then make some elaboration on them. That's it.
I have a few questions about the HW design:


1) Does the CC2530 SoC (i mean the single chip) come already preprogrammed with zigbee stack?
2) if not, how to program the chip with the stack?
3) Can i run my user code directly on CC2530 without using a MCU, eg. a mcp430?
4) for my very simple purposes, do i need to use z-stack or ZNP?

To do a preliminary test, I bought cc2530znp mini kit, but I can not extract the RSSI.
I'm also a bit 'confused by the tons of documentation available ...
Thanks to all

  • Dears,

    1. No

    2. You need to use IAR workbench for 8051 to compiler ZStack.

    3. Yes, cc2530 contains a enhanced 8051 inside.

    4. If you don't want to use Zstack or ZNP, there is simpliciti protocol (http://www.ti.com/tool/simpliciti) for your purpose.

  • Hi Yikai,
    thanks for your quick reply.
    So, let me get this:

    1. i've got in my hands one 6x6mm CC2530 SoC, "as is", metal and plastic, no code already programmed on it. I suppose i have to create my own pcb adapter to carry out programming signals (as described in CC2530 Debugging and programming specification document), connect it to CCDebugger and use SmartRF Flash Programmer to program the chip, right?

    2. What about transferring Z-Stack to CC2530? Z-Stack is an .hex executable, c source code to be compiled or whatelse? Can it be transferred to CC2530 as a normal user program or there is some special procedure?

    3. Ok, suppose i've got my CC2530 with Z-Stack loaded in. To program my own application's code for it's internal 8051 MCU, you've suggested me to use IAR workbench for 8051. If i don't use any external MCU, like mcp430, i suppose i will have to "speak directly in SPI commands" (or via USART) between 8051 internal MCU and the radio module, without any ZNP API function, isn't it? Is there any sample c code to look at?

    Thanks again

  • Dears,

    1. Yes, you have to do so.

    2. Zstack is a C source code with library. There are some example projects that you can use as references but you still need IAR workbench for 8051 to build the hex to download to CC2530.

    3. 8051 is the internal MCU on CC2530. You use ZStack API to control the radio module. I suggest you to download Zstack 2.5.1 and have a look on it. The download link is http://www.ti.com/tool/z-stack&DCMP=HPA_RFIC_General&HQS=Other+OT+z-stack and choose swrc126.zip (22MB) - contains ZStack-CC2530-2.5.1-a.exe

  • OK, i'll try to follow your suggestions.

    Thanks, bye