OpenServo.com Forum Index OpenServo.com
Discussion of the OpenServo project
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Openservo V3-dev update

 
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software
View previous topic :: View next topic  
Author Message
ginge
Site Admin


Joined: 14 Jan 2006
Posts: 1027
Location: Manchester, UK

PostPosted: Mon Dec 01, 2008 7:49 pm    Post subject: Openservo V3-dev update Reply with quote

Hi all, here is a brief update...

New:
I have just commited a large change to the v3-dev branch that splits out the different platforms people are using into a configuration directory.
To do this I have made a lot of the code more pin agnostic, and it is now possible to assign any pin to any feature, should you wish to make your own OpenServo derivative.

Check out the config directory for a template file for some the features you can enable/disable, and how to map to any pin you wish.

GPIO INTn pin on V3 just got useful...
I have added the relevant code to allow features to interrupt a master device using a GPIO pin.
The INTn pin ont he OSv3 connector will now trigger on any alert that is set.
Alerts are configured via the alert bank, and you can set min and max values for the following:
temperature
power (current)
voltage

The ALERT_STATUS register holds the bit values for all of the alerts in the system, and call be polled by the master for issues.
additionally, the alert gpio is pulled high when one of these alerts is triggered.
There is also a trigger for when the OpenServo reaches the destination point.
You can use this to trigger the host into performing the next action.

the INTn trigger is enabled by default from any alert source. You can selectively disable the interrupt on any alert source by using the bit register REG_ALERT_CAUSES_INT

You may also disable any alert source from affecting ALERT_STATUS completely by masking the values in REG_ALERT_ENABLE.

To clear the INTn line to low, write zero to ALERT_STATUS to reset the errors (once you have dealt with them)
Bug fixes:
There was a nasty bug in the twi checked protocol that meant it would never nack on an issue. This is now patched.
There was a small issue of the H-bridge crowbarring the sinking lots of current. resolved.

Additional:
A lot of modues are now disablable to fall in line with the more flexible configuration scheme.
I am writing a better control interface for the OpenServo which is not dependant on the OSIF for communication, and is a lot easier to use. There will also be something special in the next patchset Wink

I will document these new features shortly.

Barry
_________________
http://www.headfuzz.co.uk/
http://www.robotfuzz.co.uk/
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger
kbb



Joined: 01 Jun 2007
Posts: 180

PostPosted: Thu Dec 04, 2008 9:45 pm    Post subject: Re: Openservo V3-dev update Reply with quote

Barry,

Cheers. I am looking forward to the something special surprise!

I have been a bit snowed under of late and have not been working on my OpenServo based project, but I hope to be back on to it shortly.

Kevin.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenServo.com Forum Index -> Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group