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.

Green and Red LEDs remain on

Other Parts Discussed in Thread: CC2540

I just altered the code for the experiment in taking different current voltages, I was using IAR software and I commented out the OSAL function, once i recompiled and downloaded the program back onto the slave, the red LED and Green LED remain on when the battery is connected. I tried reloading the original simpleperhiperal.c file but the led still remains on and it wont connect with btool. Is this a common problem? Thank you for your time.

 

Jeremy Snow

  • Are you using the "CC2540DK-MINI Keyfob Slave" configuration, or the "CC2540 Slave" configuration? I suspect that you are using the latter, when you should be using the former.

  • Sorry I am new at this, but I was trying to attempt the experiment from the swra347 pdf. The only code that I had changed was commenting out the periodic function. Not the LED remains on when there is power. I am not familiar with the mini key fob slave setter or latter, how would I adjust this  ? Thank you for your time.

     

    Jeremy Snow

  • Please see figure 7 in section 4.2.2 on page 22 of the BLE SW Developer's Guide (http://www.ti.com/litv/pdf/swru271). This will show you where the IAR project configuration can be selected. Be sure to select the "CC2540DK-MINI Keyfob Slave" configuration and build. I suspect this will fix the issue.