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.

CC2540DK_dongle (Rev 1.0) Green LED does not work after start

Hi There,

I am toying with CC2540DK_dongle in IAR Workbench and was playing with SimpleBLEPeripheral application and wanted to control the two LEDs on the board (LED1: Green, LED2: Red) by using HalLedSet(LED_x, MODE) but found this:

If I do HalLedSet before osal_start_system everything works, both LEDs come up if I switch them on, but after this call, if I make a call to HalLedSet in WriteRequestCB or in a periodic task function that triggers by a timer, then nothing happens with Green LED, Red still works though. 

Any pointers?

Thanks in advance!