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.

Stand by mode for TM4C123GH6ZRB processor

Other Parts Discussed in Thread: TM4C123GH6ZRB, SYSBIOS

Hi,

I am using the SYS/BIOS on TM4C123GH6ZRB processor . I am trying to put the system in stand by mode using SysCtlSleep() api. 

But I am not able to get the system in stand by mode .

Can I get some data to resolve this issue ?

Thanks & Regards,

Prashant Kumar

  • Hello Prashant Kumar1,

    Depending on how you have the peripherals configured, they can wake the processor from sleep or deep sleep. I would recommend using the SysCtlPeripheralSleepEnable() and SysCtlPeripheralSleepDisable() APIs to set the sleep behavior for the peripherals active in your application as you need them.  Similar APIs are available for deep sleep.

    You will probably also want to issue the SysCtlSleep() or SysCtlDeepSleep() call in a custom SYSBIOS idle function. That will then get called when no threads are ready to run and the RTOS believes the system to be idle.

    You can add a application-specific idle function through CCS's SYSBIOS configuration tool. Open the SYSBIOS configuration file in your project explorer. Select "System Overview" and then the "Idle" block. The options presented will include adding "User idle functions". You then can provide a function name and define the function in your application code.