Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   SPI interface for cRIO in C++?? (http://www.chiefdelphi.com/forums/showthread.php?t=70301)

Dale 02-12-2008 22:47

SPI interface for cRIO in C++??
 
Now that we have our spiffy new cRIO, one of the projects our team would like to undertake is to develop WPI extensions for SPI (Serial Peripheral Bus). We have some Gyros, for example, that use the SPI bus to communicate. We'd like to compare those with the typical analog gyro.

We've seen some LabVIEW examples for interfacing a SPI perpheral but so far haven't found out how one talks to it via C++. Can anyone point us in the right direction?

Kevin Sevcik 03-12-2008 00:38

Re: SPI interface for cRIO in C++??
 
Here's all the info I know of at the moment:
http://www.chiefdelphi.com/forums/sh...38&postcount=8

Dale 03-12-2008 01:36

Re: SPI interface for cRIO in C++??
 
Thanks Kevin, your post that there is some SPI support somewhere inside is what got us excited. Now all we need is a clue where that's documented!

Joe Ross 03-12-2008 02:38

Re: SPI interface for cRIO in C++??
 
I would start by looking at tSPI.h in the chipobjects directory of the WPI Robotics Library source and at the LabVIEW code. You should be able to use the functions in tSPI.h to make your own class that works like the SPI vis in LabVIEW.

Dale 18-01-2010 20:15

Re: SPI interface for cRIO in C++ or Java?
 
Is there anyting new that people have discovered about using SPI devices with the cRIO? Once oagain we'd love to use SPI interfaced Gyros and such.


All times are GMT -5. The time now is 10:34.

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