maximum frequency for parallel port
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.
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 inrt_wait_period. Where is problem?
Which example ?
Which error ?
Ciao,
Capitano
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 inrt_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