The code is dedicated only for QUT Motorsports usage. Code functionality is based on implementation of several people from different part of the world, refer to ACNOWLEDGEMNT.
The code is meant to bring an understanding and set foundation for the first usage of Controller Area Network (CAN) bus protocol to exchange data. This particular one makes an example on a Teensy 2.0 and Rapberry Pi.
Impments the CAN2.0 at 1 Megabit/second. High speed SPI Interface (10MHz)
If your
README
has a lot of info, section headers might be nice.
To get started with implementation, the UNIX based environment has to be created. Usage of Cygwin within Windows environment is acceptable. All OS has to have avr-gcc and relative libraries installed. Refer to SOWTWARE_REQUIREd.
Refer to INSTRUCTIONS.md to get all necessary instalations. C version code:
make main
To build code and prepare for upload use run:
make build
Each assigned role has to be implemented within separate bracnh and kept as a separate release.
git clone git@github.com:QUT-Motorsport/QUTMS_CANSIM.git
git checkout -b SHUTDOWN
Performing changing within regular work process. To update code with new changes from master perform merge within release branch.
git add . && git commit -b "MESSAGE"
git pull origin master
https://github.com/dergraaf/avr-can-lib http://microsin.net/adminstuff/hardware/mcp2515-stand-alone-can-controller-with-spi-interface.html