Search found 4 matches

by luciano.rdrgz
Fri Jun 03, 2016 4:50 pm
Forum: STM32 Support
Topic: STM32F407-Discovery RTC Sleep mode problem
Replies: 5
Views: 3732

Re: STM32F407-Discovery RTC Sleep mode problem

Ohh! It was easy! I finally can do it! :D
Thanks for all!
Regards
by luciano.rdrgz
Thu Jun 02, 2016 9:02 pm
Forum: STM32 Support
Topic: STM32F407-Discovery RTC Sleep mode problem
Replies: 5
Views: 3732

Re: STM32F407-Discovery RTC Sleep mode problem

Hello!

Perfect!

I prefer to use the registers because i need to save only a 16 bits value (counter) and using the RAM will increase the consumption, isn't it?

Could you give me an example reading/writing one of this registers? Because i tried with the support functions described in this post ...
by luciano.rdrgz
Wed Jun 01, 2016 10:53 pm
Forum: STM32 Support
Topic: STM32F407-Discovery RTC Sleep mode problem
Replies: 5
Views: 3732

Re: STM32F407-Discovery RTC Sleep mode problem

Thanks a lot!
Now it's working with the internal RTC

I also have another question:

I have a variable in my code (uint8_t) which represents a counter. The problem is that when it wake up again this value is reset. Is there any way to prevent it? Where i can save this value before taking to ...
by luciano.rdrgz
Tue May 31, 2016 11:37 pm
Forum: STM32 Support
Topic: STM32F407-Discovery RTC Sleep mode problem
Replies: 5
Views: 3732

STM32F407-Discovery RTC Sleep mode problem

Hi,

I need help with my STM32F407-Discovery. I'm using the board as an endpoint application and i need to take it to a low power mode for a period of time. Then it must wake up, make some process and go to sleep again.
I tried compile de RTC example but it fails:

#error "LSE frequency not ...