Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
high resolution EhrPWM with Ubuntu Linux on BeagleBone
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sameer  
View profile  
 More options Nov 16 2012, 11:46 am
From: Sameer <sam...@falkorsystems.com>
Date: Fri, 16 Nov 2012 08:46:29 -0800 (PST)
Local: Fri, Nov 16 2012 11:46 am
Subject: high resolution EhrPWM with Ubuntu Linux on BeagleBone

Hi everyone -- another beagle question, hopefully someone here can help?

I am trying to get high resolution PWM out of my beagle bone running ubuntu
12.10 to control servos and other hobby RC gear. I have successfully been
able to use the /sys/class/pwm/ehrpwm to create PWM output, however I am
having trouble with the resolution.

The RC standard is to run at 50Hz with each PWM signal lasting from
1000-2000us. I have set the frequency to 50, however it appears that the
duty_cycle must be passed as an integer percentage. Therefore in order to
get 1ms I set the duty cycle to 5 and to get 2ms I set the duty cycle to
10. This gives me only 200us resolution, while I would prefer resolution
closer to 1us,

Anyone know if that is that possible using the standard pwm support?

Thanks,


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »