Skip to contentSkip to conversation

maximum frequency for parallel port

Xenomai-help Pavel Pirkl 3 participants 3 messages Oct 19, 2006 – Oct 20, 2006

lore
Share & tools
lore
#0 lore raw

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.

#1 lore raw
Quoted 5 lines · Pavel Pirkl

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

#2 lore raw
Quoted 10 lines · Hannes Mayer
Quoted 6 lines · Pavel Pirkl

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