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.

CC2530: How to code CC2530

Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK,

Respected All,

I am using CC2530 Chip. i have search some example regarding to CC2530 and i got it from Z-Stack.I am using IAR Workbench for 8051 Evolution copy.

I used SampleLight example and comment some initialization regarding development Board initialization and define input output pin using registers and i add LED blink code.

After that i Download and debug the code step by step, it run perfect  and blink LED but while i stop debugging, it also stop blinking in cc2530 Chip.

Can anyone help me how to get start with CC2530 Chip?

Sample code is here,

  static void delay(unsigned int _dly );

  P0SEL |= 0x00 ;  //General Purpose I/O
  P0DIR |= 0xFF ;  //Make Port 0 as Output
  HalLedInit();
  while(1)
  {
    HalLedSet(HAL_LED_ALL,1);
    delay(500);
    HalLedSet(HAL_LED_ALL,0);
    delay(500);
  }

I have attached images regarding my hardware setup.

Thanks,

Darshit