Go to Post Obviously, really large issues need to be addressed, and if you feel there is a huge problem, by all means, go ahead, if you can be polite, productive, and graciously professional, address it. - Amanda Aldridge [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Spotlight this post!  
Unread 11-08-2009, 10:19
Dave Flowerday Dave Flowerday is offline
Software Engineer
VRC #0111 (Wildstang)
Team Role: Engineer
 
Join Date: Feb 2002
Rookie Year: 1995
Location: North Barrington, IL
Posts: 1,366
Dave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond reputeDave Flowerday has a reputation beyond repute
Re: Multithreaded programs

Quote:
Originally Posted by biojae View Post
planing to use the sparkfun atomic 6dof imu on the robot next year to help with navigating the field for the touchscreen.
it communicates over serial, and we werent allowed to use the serial port this year, so i am basing my decisions on that
If I may offer a suggestion:

I think you will find writing a bit-banged serial port driver to run on the cRIO to be incredibly difficult, if not impossible. Serial port timings are very tight - you'd need extensive use of interrupts to make it work, and even then it might not since the digital I/O pins on the sidecar are not directly tied to processor I/O.

Instead, my suggestion is that you modify the 6DOF source code to speak the I2C protocol and wire up the 6DOF to the I2C bus that is already available on the sidecar. This is a non-trivial task as well, but I'm much more confident that you'll be able to make that work. I think the only thing you'd need from a hardware standpoint is some circuitry to limit the 5v I2C lines coming from the sidecar to the 3.3v that the 6DOF uses (SparkFun has some tutorials on that). At any rate, you'd need that for the serial port to work as well.
Reply With Quote
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
design programs Dan Zollman College & University Education 3 12-06-2009 23:54
Scouting Programs Suspect_Deezy Technical Discussion 10 30-10-2008 18:11
Programs BillyJ Inventor 1 22-03-2005 09:34
Multiple Programs goegan31 Programming 3 17-03-2003 22:56
Other Programs? BHS First Team 3D Animation and Competition 3 15-01-2002 14:56


All times are GMT -5. The time now is 18:14.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi