Re: [Xenomai-help] PWM generation with GPIO

2011-09-08 Thread Andrey Nechypurenko
On 8 September 2011 04:03, Bob Feretich bob.feret...@rafresearch.com wrote: Is there a reason that your not using the BeagleBoard PWM Timer hardware? I do use two of them. Attempt to generate PWM using GPIO is just for me to learn about real-time performance I can achieve with Xenomai. My hope

Re: [Xenomai-help] Xenomai 2.6.0-rc1

2011-09-08 Thread Henri Roosen
On Mon, Sep 5, 2011 at 7:31 PM, Gilles Chanteperdrix gilles.chanteperd...@xenomai.org wrote: On 09/05/2011 07:14 PM, Henri Roosen wrote: Hi Gilles, Unfortunately I didn't find the time to test this release yet. I'm just wondering if there is a fix for this problem in the 2.6.0 release:

Re: [Xenomai-help] PWM generation with GPIO

2011-09-08 Thread Gilles Chanteperdrix
On 09/08/2011 10:21 AM, Andrey Nechypurenko wrote: So I wrote a RTDM driver to use the three that were pinned out, and used real time limit and overflow interrupts to to wiggle a GPIO for the fourth PWM output. It seams to me that you are using different implementation approach then

Re: [Xenomai-help] PWM generation with GPIO

2011-09-08 Thread Gilles Chanteperdrix
On 09/08/2011 11:30 AM, Andrey Nechypurenko wrote: If I understand correctly, the difference is that Bob proposes you to dedicate a hardware timer to the PWM, whereas I propose you to use the software timers, which ultimately, also depend on a dmtimer. I would not expect big differences

Re: [Xenomai-help] PWM generation with GPIO

2011-09-08 Thread Philippe Gerum
On Thu, 2011-09-08 at 12:06 +0200, Gilles Chanteperdrix wrote: On 09/08/2011 11:30 AM, Andrey Nechypurenko wrote: If I understand correctly, the difference is that Bob proposes you to dedicate a hardware timer to the PWM, whereas I propose you to use the software timers, which ultimately,

Re: [Xenomai-help] PWM generation with GPIO

2011-09-08 Thread Bob Feretich
The advantage of using a hardware PWM timer (like OMAP3 GPTimer8-11) is that there is no interrupt load on the system. (The PWM signals are completely generated by the hardware.) PWM outputs controlled by interrupts require one interrupt for each edge transition of the output signal. The