OCCRA
Go to Post I guess what I am trying to say is that GP is inside all of us just waiting for a chance to escape. I am sure how the virus spread. I put the blame solely on the shoulders of Chief Delphi. - Ken Loyd [more]
Home
Go Back   Chief Delphi > Technical > Electrical > CAN
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-04-2017, 03:52 PM
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 102
duane is an unknown quantity at this point
Send a message via AIM to duane
CAN Bitrate?

What is the bitrate for the RoboRio CAN bus?

We are endeavoring to connect a Raspberry Pi to the RoboRio via the CAN bus.

We are using a CAN shield on the Pi to communicate to the bus. When initializing the driver for CAN on the Raspberry Pi we are using a bit rate of 500000. This value causes the connected TalonSRX devices to periodically blink red. I believe that indicates some kind of bus fault. We have also noticed that the commands will be interrupted (as motors will stop working for a moment and then resume).

Perhaps there is something else we are doing incorrectly, but I thought I would start and getting the device to exist silently on the bus.

So, what bitrate is the RoboRio CAN bus operating?

Thanks for the help.

...Duane
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
Reply With Quote
  #2   Spotlight this post!  
Unread 02-04-2017, 09:12 PM
J. Tumavitch J. Tumavitch is offline
Registered User
FRC #2832
 
Join Date: Dec 2014
Location: Livonia, Michigan
Posts: 7
J. Tumavitch is an unknown quantity at this point
Re: CAN Bitrate?

The roboRIO CAN bus is 1000000 or 1 Mbps not 500000.
Reply With Quote
  #3   Spotlight this post!  
Unread 02-04-2017, 09:28 PM
duane's Avatar
duane duane is offline
Registered User
FRC #0701 (RoboVikes)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2003
Location: Vacaville
Posts: 102
duane is an unknown quantity at this point
Send a message via AIM to duane
Re: CAN Bitrate?

Quote:
Originally Posted by J. Tumavitch View Post
The roboRIO CAN bus is 1000000 or 1 Mbps not 500000.
Thank you! We managed to work that out! Quite successful to see candump work on the Pi! Lots of fun traffic.
__________________
Duane Murphy
Mentor - Software
Vanden Vikings FIRST Team 701
http://www.vandenrobotics.com
Reply With Quote
Reply


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


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

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