Many doubts: RTC and interrupts

0 views
Skip to first unread message

Claudio

unread,
May 17, 2009, 3:43:21 AM5/17/09
to Chieroth
Hello Todor and Michal,

Yesterday I didn't play that much with LDD. In fact, I was just
browsing documentation and examples, in order to see how people
actually attach their modules to the RTC in order to get interrupts
every now and them.

Unfortunately, I was tired and confused, so I couldn't find anything
for the driver. Nevertheless, I found good documentation in the Linux
Devices Drivers book, where there is one chapter about measuring time
and another one about interrupts. Here are the direct links to those
chapters:

http://www.xml.com/ldd/chapter/book/ch06.html
http://www.xml.com/ldd/chapter/book/ch09.html

After an hour of reading, I couldn't understand much of it, so I will
continue my research after Tuesday (Maths' exam).

I hope you had a nice day yesterday at the barbeque!

Best regards,


Claudio M. Camacho

Todor Vlaev

unread,
May 17, 2009, 4:24:33 AM5/17/09
to chie...@googlegroups.com
Hi Claudio,

Thank you very much for the info!

At best I will check it out already today and we can discuss later next week.

I think that also a trial-and-error approach will fit nicely here.

Kind regards,
Todor

2009/5/17 Claudio <claud...@gmail.com>:
--
Helsinki Metropolia University of Applied Sciences
Information Technology Programme

Todor Vlaev
Mobile: +358 50 935 0230

Todor

unread,
May 17, 2009, 4:15:28 PM5/17/09
to Chieroth
Hi again,

Hey, very good resources! I've checked them out today and they seem
promising to me.

There are things such as BH (huh, Michal check the documents ;) that
seem as exactly what we need. TH is for fast processing (reading the
timer, gettimeofday, etc.) and BH is for soft real-time tasks (update
proc, light LEDs). I will look further into it.

I will now assume the task of solving the issue of determining what
timer to use: RTC or configure TC1 for 1Hz interrupt. This a sort of
more hardware task, so no place for confusion! Claudio, you may
relieve yourself from bothering with irqs and freely implement a
scheme for controlling the LEDs. Of course, Tuesday onwards.

Btw, I have a draft of the memo, but I will upload the final version
tomorrow, as I have an important paper at EVTEK. Sorry for the delay!

I'll see you guys tomorrow and hopefully we can have lunch together!

Have a nice evening!

Kind regards,
Todor

On May 17, 11:24 am, Todor Vlaev <t.vl...@gmail.com> wrote:
> Hi Claudio,
>
> Thank you very much for the info!
>
> At best I will check it out already today and we can discuss later next week.
>
> I think that also a trial-and-error approach will fit nicely here.
>
> Kind regards,
> Todor
>
> 2009/5/17 Claudio <claudio...@gmail.com>:

Claudio

unread,
May 17, 2009, 4:54:07 PM5/17/09
to chie...@googlegroups.com
Hi,

Thank you very much Todor, I don't know what would be of this project without you :)

Sleep tight and see you tomorrow ;)

BR,


Claudio M. Camacho
Reply all
Reply to author
Forward
0 new messages