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.

CC2540 MCU Halting

Other Parts Discussed in Thread: CC2540

Hi,

we have:

1) a keyfob CC2540 of the Mini DK, we took off the external crystal.

2) our small pcb that we built just has MCU CC2540 & minimum components like capacitor to run it, but without external.

so both of them without external crystal.

we are running a software SimpleBLEPeripheral with the preprocessor definition of POWER_SAVE, but without MINIDK_CC2540 to make the boards advertise after power up without need for pressing key  and manage Saveing power mode.

We see that the Keyfob works good,  continuously advertising and consume Micro Ampers in the Low power section.

but our board just advertise 4 or 5 times then stops (we see in Packetsniffer) and still consume about 8 mA, like that the MCU is stucked!

also I tried to run in debug mode and saw that really if I stop debugging in our board after some seconds its stucked, but the keyfob still run in the same condition.

also I tried software with just POWER_SAVE mode but without advertising at all, the keyfob still consume micro Ampers without transmitting, but the MCU still running after some seconds as I see in the debug mode, while our board consume almost 0 Amper (like it is stucked), also in debug mode if I stop it after some seconds I see it is not running.

can you suggest a solution for me please?!

our aim actually is to reduce the cost of our board without external crystal.

(I said our board, actually we built 2 of them and acts the same).

Thanks.

  • Hi Feras,

    You cannot use POWER_SAVING without an external crystal. Then you would have to define OSC32K_CRYSTAL_INSTALLED=FALSE.

    Note that you will not be BLE Comnpliant as the internal RC OSC is not within the +/- 500ppm requirement.

    Best Regards

    Joakim