View Single Post
  #7   Spotlight this post!  
Unread 20-01-2013, 21:33
kenfox kenfox is offline
Registered User
FRC #3322 (Eagle Imperium)
Team Role: Mentor
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Ann Arbor, MI
Posts: 52
kenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of lightkenfox is a glorious beacon of light
Re: CAN bus async receive

Quote:
Originally Posted by Joe Ross View Post
The can protocol spec is included with TI's software development kit. Not sure if its still available. I couldn't find it from IFI.
The Jaguar stuff from TI is still available. It is included in the free StellarisWare development kit download. The BDC-COMM source code included in that is useful. The RDK-BDC24 development PDF (google "7870.SW-RDK-BDC24-UG-7243.pdf") is also useful.

Quote:
I think you'd run into bandwidth issues with the serial bridge with that scheme.
Definitely. It's even a bit much for the 2CAN if we want to preserve some capacity for CAN errors and web dashboard diagnostics. Jaguar firmware wasn't designed with this control scheme in mind.

What looks feasible is to catch power cycles and only reconfigure when necessary. Delaying all the CAN output commands to the end of the periodic code allows us to easily catch changes to Jaguar state. It might not even need a separate VxWorks task.