7 years, 6 months ago.

Selfmade nucleo l152re is not responding on wakeup code after deepsleep?

Hello, I have made my own nucleo l152re PCB board. When I use this https://developer.mbed.org/users/Sissors/code/WakeUp/ code on original nucleo l152re it works fine but it don't when its uploaded to my own board. only change I made is capacitor and resistor value's connected to both crystal. Can this be a problem? /media/uploads/prerakujgare/capture.png

Hi Prerak,

Hi :)

Yes this definitely could be the problem the RC values to the XTAL is very sensitive.

Can you supply the reference schematic you designed from?

Also, does your board work correctly else where, timing etc?

Regards,

Andrea, team mbed

posted by Andrea Corrado 25 Oct 2016

Hi Andrea, Schematic was referred from designspark website and yes otherwise board works fine in every aspect. Now when I was working on this problem I have made some observations. I have two boards nucleo L152RE and L053R8. I did cut the st-link ( upper part of board ). of both and programmed both of them with same wakeup code. I didn't connect X3 crystal. Even then L053R8 executes the program though timing was not accurate( if i asked led to glow for 10 sec it glows for 12sec). But L152RE executes all commands before going to deepsleep but nothing happens afterwards. Maybe it is not waking up or something else that i am not aware of. But L152RE works fine with ST-Link connected. Same thing might be happening with by own board as my board is exactly same. What could be the possible problem?

posted by PRERAK UJGARE 25 Oct 2016

Hi Prerak, i have a similar situation in a custom board with both crystals. It cant wake up from deepsleep. Everything else seems to work fine. ¿did you fin a solution? regards,

posted by Guillermo García 23 Feb 2017
Be the first to answer this question.