FIRST Robotics Competition Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Does FRC/CRio support SPI interface

Hi

Is there a way to implement an SPI interface on the FRC CRIO.

I only need TX data, but I'd like to be able to generate a block of data and just send it in the background.

Thanks.

Phil.

Get a life? This IS my life!
0 Kudos
Message 1 of 4
(4,443 Views)

Yes.  There is an SPI API in at least LabVIEW and C++ (not sure if the Java port ever happened).

0 Kudos
Message 2 of 4
(2,936 Views)

Thnaks

I found it buried deep in the WPI library.

Looks like I can adapt it for efficient block transfers.

Now just to figure out where to connect to it...  DSC or sepparate DIO module.

Thanks.

Phil

Get a life? This IS my life!
0 Kudos
Message 3 of 4
(2,936 Views)

Just connect it to the GPIO lines on the digital sidecar.  The open requires you specify which lines you are using.

0 Kudos
Message 4 of 4
(2,936 Views)