Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2640: cc2640 does not go into shutdown

$
0
0

Part Number:CC2640

I have a custom board containing the cc2640.

It runs both simple_peripheral and simple_central based applications as expected.

However, it will not transition into shutdown mode as expected. It seems to go into Standby instead.

Question: What can cause the cc2640 to go into standby instead of shutdown.

Procedure:

____Voltage is applied to VDDS (via the DC Power analyzer)

____The 2640 runs through initialization, then proceeds to execute application code as expected

____When it encounters the ShutDownTheM3() function and executes the Power_shutdown(NULL, 10000) routine, the cc2640 seems to go into standby, not shutdown.

________This seems to be indicated by a 5 uA current measurement on the DC Power Analyzer.

________I have slightly different versions of the same application(s) running on the same custom board which show ~200 nanoamp.

____The debugger does not run through the Power_shutdown() function, however, I believe it's clear to me what is happening, as I explain above:

Here's the code in question:

example_simple_central.c:

static void SimpleBLECentral_taskFxn(UArg a0, UArg a1)
{
// Initialize application
// make sure the booster capacitor is fully powered up and underlying processes are finalized
SimpleBLECentral_init();
Example_PINinitialize(); // obtain pin handles 
Example_Initialize();
Task_sleep(100000); // this one-second delay gives us time to "catch" the board's attention during a failing reset-loop-reset-loop-reset situation

Example_PerformResetLEDFlashes();

ShutDownTheM3();

Example_PerformGreenLEDFlash();

....

}

void ShutDownTheM3()
{
UInt DEBUG_ShutdownResponse;

Power_enablePolicy();
Example_DisableThreeVoltPower();
CPUdelay(100);
DEBUG_ShutdownResponse = Power_shutdown(NULL, 10000);
return;
}

Hardware configuration:

____Our custom board is based on the CC2650EM-5XD Board

________Please refer to page 1 of the schematic for the connections to VDDS(pin 28), VDDS2(pin11), VDDS_DCDC(pin 18), (DCDC_SW(pin 17) and VDDR(pins 29 and 32).

____________In this test we are driving VDDS with a DC Power Analyzer.

Regards,

John


Viewing all articles
Browse latest Browse all 262198

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>