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.

CC2640: Blinky example on custom CC2640

Part Number: CC2640
Other Parts Discussed in Thread: CC2650STK, CC2650, CC3200, LAUNCHXL-CC1310

Hi,

We have a custom board with CC2640.I need a simple blinky Program to start our development on it.

It has two led's on IODI_2 (pin 8) and IODI_3 (pin 9).

I have edited pinStandby_CC2650STK_TI program to suit CC2640 pin and changed CC2650STK.cmd to CC26x0f128.cmd.

I have pasted the edited section in this code below,

#define LED_IOA_1 IOID_2
#define LED_IOA_2 IOID_3

/* Led pin table */
PIN_Config LedPinTable[] =
{
 Board_LED0 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX, /* LED initially off */
 Board_LED1 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_PUSHPULL | PIN_DRVSTR_MAX, /* LED initially off */
LED_IOA_1 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_NOPULL | PIN_DRVSTR_MAX,
LED_IOA_2 | PIN_GPIO_OUTPUT_EN | PIN_GPIO_LOW | PIN_NOPULL | PIN_DRVSTR_MAX,
PIN_TERMINATE /* Terminate list */
};

I can able to build .hex and .out file without any errors.I have programmed the stacks also.

Its programmed successfully to custom board.

But I don't see the led's blink.

What is the mistake I am doing? I am pretty familiar with CC3200, but not with CC2650 or CC2640.

Can any one guide me?

Thanks