cancel
Showing results for 
Search instead for 
Did you mean: 

Control One GPIO Pin In Standy Mode [St Support Team Please Help]

nooshin_1382
Associate II
Posted on May 14, 2016 at 10:30

Hi Erwan

I have one pin Should toggle in Standby mode , i don't know how can i do this .

with this problem i can not launch my project.

I said agian the other Mcu Like Freescale in this family can do this state but i don't know how.

Please send me a sample if exist.

this is a serious problem why the ST MCU's can't do this work .

Your earliest help in this regard will be highly appreciated. Thanks in advance.

Best Regards

Nazerian Vanima
1 REPLY 1
Erwan YVIN
ST Employee
Posted on May 19, 2016 at 14:42

Hello Vanima ,

you can not toggle GPIO Pin in Standby Mode.

By definition , the core is slept.

To toggle a GPIO on a defined period, i recommend you to you RTC Wakeup Interrupt or an other Wakeup Interrupt

STANDBY ==> RTC WAKEUP ==> DRUN ==> RUN0 ==> TOGGLE YOUR GPIO ==> GO IN STANDBY MODE

For your information, Freescale MCUs and ST MCUs (e200zx) are the same family (for PowerPC VLE)

if you find a application notes for ppc on freescale website, it should work with ST MCUs

Anyway , we have some Example application in the repo spc5studio

SPC560Dxx OS-Less WKPU LPM Test Application for Discovery (STOP mode)

SPC560Dxx_RLA WKPU API Test Application for Discovery (STOP Mode)

an other example in attachment

Best regards

Erwan

________________

Attachments :

SPC560Dxx_OS-Less_STANDBY_SRAM_Test_Application_for_Discovery.7z : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006I0UK&d=%2Fa%2F0X0000000baI%2FbWvlQeSDHHI6vp0hOwqUu5pBrLMNQKNc7y0C4sQyeJk&asPdf=false