Reply by sotn...@scideco.ru September 28, 20102010-09-28
Hi Chagai,

There is an AppNote published by Analog Devices:
http://www.analog.com/static/imported-files/application_notes/EE-334_Rev1.pdf.
It covers usage of RTC for waking the processor from the hibernate state. The code supplied with the AppNote targets ADSP-BF533, but I think that the same techniques can be applied to BF518 as well. I think it might be helpful for Your design.

--
Alexander

Hi,
>I'm using the bf 518 evaluation board.
>
>my application needs to perform some kind of a test once an hour. in the
>rest of the time It should sleep / hybernate in order to save power.
>
>I want to program the processor so that once an hour the RTC signals the
>pocessor to wake up and do its task.
>Another requirement is that a GSM module (or other GPIOs) that receives a
>SMS can also wake the processor.
>
>how would you do it?
>does anyone have a basic code example?
>also how do i connect to the RTC
>
>thanks,
>
>Chagai
Reply by Mike Rosing September 28, 20102010-09-28
Howdy Chagai,

Check out the programmer's manual. The datasheet says:
When in deep sleep mode, an RTC asynchronous interrupt causes the proces-
sor to transition to the Active mode.

I assume you have enable the RTC interrupt, then set up the RTC to
generate and interrupt, then go to sleep and wait for it.

Check out EE-334:
http://www.analog.com/static/imported-files/application_notes/EE-334_Rev1.pdf

It might be useful on this.

Patience, persistence, truth,
Dr. mike

On Mon, 27 Sep 2010, Chagai Ensenberg wrote:

> Hi,
> I'm using the bf 518 evaluation board.
>
> my application needs to perform some kind of a test once an hour. in the
> rest of the time It should sleep / hybernate in order to save power.
>
> I want to program the processor so that once an hour the RTC signals the
> pocessor to wake up and do its task.
> Another requirement is that a GSM module (or other GPIOs) that receives a
> SMS can also wake the processor.
>
> how would you do it?
> does anyone have a basic code example?
> also how do i connect to the RTC
>
> thanks,
>
> Chagai
>
Reply by Chagai Ensenberg September 27, 20102010-09-27
Hi,
I'm using the bf 518 evaluation board.

my application needs to perform some kind of a test once an hour. in the
rest of the time It should sleep / hybernate in order to save power.

I want to program the processor so that once an hour the RTC signals the
pocessor to wake up and do its task.
Another requirement is that a GSM module (or other GPIOs) that receives a
SMS can also wake the processor.

how would you do it?
does anyone have a basic code example?
also how do i connect to the RTC

thanks,

Chagai