Skip to main content
nooshin_1382
Associate III
May 14, 2016
Question

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

  • May 14, 2016
  • 1 reply
  • 573 views
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
    This topic has been closed for replies.

    1 reply

    Erwan YVIN
    ST Employee
    May 19, 2016
    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