Message-Id: <200710251535.l9PFZYpF021256@domain.hid> From: "Patrick" Date: Thu, 25 Oct 2007 17:35:33 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_005F_01C8172D.7275D070" Subject: [Xenomai-help] Event flag from ISR List-Id: Help regarding installation and common use of Xenomai List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org This is a multi-part message in MIME format. ------=_NextPart_000_005F_01C8172D.7275D070 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi all, I am using a RT event flag structure to start a task from an ISR. The task waits on rt_event_wait and when the IRQ occurs the ISR executes rt_event_signal (the ISR code only clears the flag and calls rt_event_signal). I'm using an oscilloscope to measure the length of the ISR and the first occurrence lasts about 20us and all the next occurrences last about 4us. My question is why the first ISR is so long? For information I use xenomai 2.4 rc4 on ARM pxa270 machine with 2.6.20 kernel. Thanks in advance, Patrick ------=_NextPart_000_005F_01C8172D.7275D070 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,

 

I am using a RT event flag structure to start = a task from an ISR.

The task waits on rt_event_wait and when the = IRQ occurs the ISR executes rt_event_signal (the ISR code only clears the = flag and calls rt_event_signal).

I’m using an oscilloscope to measure the = length of the ISR and the first occurrence lasts about 20us and all the next = occurrences last about 4us.

 

My question is why the first ISR is so = long?

 

For information I use xenomai 2.4 rc4 on ARM = pxa270 machine with 2.6.20 kernel.

 

Thanks in = advance,

 

Patrick

------=_NextPart_000_005F_01C8172D.7275D070--