|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
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? |
|
#2
|
|||||
|
|||||
|
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 |
|
#3
|
||||
|
||||
|
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!
|
|
#4
|
||||||
|
||||||
|
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.
|
|
#5
|
||||
|
||||
|
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.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PS2 contoller interface for FRC | deepak | Kit & Additional Hardware | 0 | 07-02-2008 17:15 |
| SPI Port | ajlapp | Control System | 4 | 03-01-2007 14:41 |
| Software SPI Interface | Greg | Programming | 11 | 08-02-2004 21:38 |
| SPI Requirement To Purchase | archiver | 2001 | 3 | 24-06-2002 00:33 |
| Material for Operator Interface | archiver | 2001 | 4 | 23-06-2002 23:03 |