View Single Post
  #2   Spotlight this post!  
Unread 15-01-2016, 16:50
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,103
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: I2C read from Raspberry Pi to RoboRio

The issue that you are running into is that both the RoboRIO and the Pi are I2C masters. I'm pretty sure that the RoboRIO can't be run in slave mode, and doing a bit of research it looks like the Pi has trouble being a slave. It looks like the Pi 2 has the pins to be a slave, but I couldn't find any instructions on how to set it up. You might be able to with more research time however.
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.