Hi,
I don't thik it is possible to make a PWM or square wave with a FOX
and certainly it is impossible in user-space.
You have to consider that the FOX kernel have an HZ macro set to 250Hz
so the kernel timer (and so the jiffies variable) has a 4ms of
resolution. If you rise this frequency, the system could be more slow
because the scheduler is served too much times and however it is
better that the frequency remains under 1300Hz.

So, IMHO, you should modify the timer routines at kernel level, but I
think also in this case the system decrease its performaces.
The other way is using another timer... but I don't remember if this
processor has anotherone.

bye

2008/10/30 horvat.johann <[EMAIL PROTECTED]>:
> Hi there,
>
> I try to generate a square signal to the gpio A with a duty cycle of 1ms.
> I recompiled the kernel and - the same.
>
> My kernel is:
> 2.6.15 #1 PREEMPT Thu Oct 30 10:41:51 CET 2008 cris unknown
> with Preempt on!

Reply via email to