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