All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Hannes Mayer <h.mayer@domain.hid>
Cc: Pavel Pirkl <pavelpirkl@domain.hid>, xenomai@xenomai.org
Subject: Re: [Xenomai-help] maximum frequency for parallel port
Date: Fri, 20 Oct 2006 14:16:42 +0200	[thread overview]
Message-ID: <4538BE2A.4030406@domain.hid> (raw)
In-Reply-To: <4537DAE0.3080801@domain.hid>

[-- 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 --]

      reply	other threads:[~2006-10-20 12:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4538BE2A.4030406@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=h.mayer@domain.hid \
    --cc=pavelpirkl@domain.hid \
    --cc=xenomai@xenomai.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.