* [Xenomai-help] maximum frequency for parallel port
@ 2006-10-19 19:23 Pavel Pirkl
2006-10-19 20:06 ` Hannes Mayer
0 siblings, 1 reply; 3+ messages in thread
From: Pavel Pirkl @ 2006-10-19 19:23 UTC (permalink / raw)
To: xenomai
Hello,
I tried example for real time parallel port from www.captain.at.
I tried to generate maximum frequency of square waveform only about 10kHz.
But for great value of frequency a I got error in rt_wait_period.
Where is problem?
Pirkl.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] maximum frequency for parallel port
2006-10-19 19:23 [Xenomai-help] maximum frequency for parallel port Pavel Pirkl
@ 2006-10-19 20:06 ` Hannes Mayer
2006-10-20 12:16 ` Jan Kiszka
0 siblings, 1 reply; 3+ messages in thread
From: Hannes Mayer @ 2006-10-19 20:06 UTC (permalink / raw)
To: Pavel Pirkl; +Cc: xenomai
Pavel Pirkl wrote:
> Hello,
> I tried example for real time parallel port from www.captain.at.
> I tried to generate maximum frequency of square waveform only about 10kHz.
> But for great value of frequency a I got error in rt_wait_period.
> Where is problem?
Which example ?
Which error ?
Ciao,
Capitano
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Xenomai-help] maximum frequency for parallel port
2006-10-19 20:06 ` Hannes Mayer
@ 2006-10-20 12:16 ` Jan Kiszka
0 siblings, 0 replies; 3+ messages in thread
From: Jan Kiszka @ 2006-10-20 12:16 UTC (permalink / raw)
To: Hannes Mayer; +Cc: Pavel Pirkl, xenomai
[-- Attachment #1: Type: text/plain, Size: 815 bytes --]
Hannes Mayer wrote:
> Pavel Pirkl wrote:
>> Hello,
>> I tried example for real time parallel port from www.captain.at.
>> I tried to generate maximum frequency of square waveform only about
>> 10kHz.
>> But for great value of frequency a I got error in rt_wait_period.
>> Where is problem?
>
> Which example ?
> Which error ?
Pavel, if you are referring to this example
http://www.captain.at/xenomai-parallel-port-interrupt.php
it might be wise to raise the thread priorities of the generator and the
IRQ handler above the printer.
Also, this test was not designed to run at high frequencies. It pushes
some value into a pipe for each occurred IRQ and requires main to read
from it at the same rate. This will quickly cause overflows of the pipe
when going to 10 KHz or higher.
Jan
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-10-20 12:16 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-19 19:23 [Xenomai-help] maximum frequency for parallel port Pavel Pirkl
2006-10-19 20:06 ` Hannes Mayer
2006-10-20 12:16 ` Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.