[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [microblaze-uclinux] PWM Signals and uClinux



For now, I would like to generate a high signal from the onboard D-to-A
converter next to the rotary knob on the board. Is there a driver written
for this specific interface? I would like to try to avoid using SPI, but
have heard that this interface uses SPI. Is this true? If it is, is there
any other interface that can output this signal, like one of the 6-pin
headers? Again, a high signal is all we need for now. Thanks for any help.

Brian

-----Original Message-----
From: owner-microblaze-uclinux@xxxxxxxxxxxxxx
[mailto:owner-microblaze-uclinux@xxxxxxxxxxxxxx] On Behalf Of John Williams
Sent: Wednesday, May 28, 2008 4:21 PM
To: microblaze-uclinux@xxxxxxxxxxxxxx
Subject: Re: [microblaze-uclinux] PWM Signals and uClinux

Hi Brian,

Brian Estrada wrote:
> Has anyone had experience with creating pulse width modulated signals 
> with uClinux and a Spartan 3E starter board? Or even just generating a 
> high signal from one of the onboard digital-to-analog converters or 
> through SPI. If so, I would be very grateful for some example code or a 
> point in the right direction. Thanks.

A simple char device driver over an xps_timer in PWM node wouldn't be 
difficult to accomplish.  The PWM output would itself be hardware 
accurate in terms of duty cycle, however changes in the PWM amplitude 
would be subject to userspace/kernel latencies.

Broadly what are you trying to achieve?

Regards,

John



___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive :
http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/

___________________________
microblaze-uclinux mailing list
microblaze-uclinux@xxxxxxxxxxxxxx
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/