R-Car/Boards/CAN

From eLinux.org
< R-Car
Revision as of 13:56, 21 July 2015 by Cogente (talk | contribs)
Jump to: navigation, search

Hardware

Cable

Typical pinout of DB9 CAN connector

Use a cable with DB9 connector


OBD-II

To connecto to OBD-II interface use a cable from PEAK Systems [1].


We use DB-9 connectors between board and common CAN bus. From board side we use male conector, for bus we use female connectors.

Also we use DB9 to OBDII cable from PEAK Systems (http://www.peak-system.com/PCAN-Cable-OBD-2.273.0.html?&L=1) to connect to car CAN bus. Porter has integrated load resistor (120R) which can be connected by closing JP10. When connecting two (or more) porter boards load resistor should be connected on each of two ends of CAN bus. When connecting Porter to car CAN bus no load resistor is required (open JP10)

Software

Yocto build

To build Yocto image with CAN bus support for Porter board, follow steps specified on R-Car/Boards/Yocto and do the following just before executing bitbake core-image-weston or bitbake core-image-x11:

  1. Edit local.conf and add at the end: