Save as PDF

CAN interface for Raspberry Pi

Published 2013-05-28

Embedded Projects (Germany) has released the GnuPi adapter board, which connects directly to the Raspberry Pi, a credit-card-sized single-board computer. A CAN interface can be realized through Gnublin-CAN modules.

THE ADAPTER BOARD ENABLES THE USER to use the modules of the Gnublin board. On the board five more connection options for modules are available, which are connected via a ribbon cable. Available modules include LAN, relays, displays, a stepper controller and temperature sensor.
For the connection of the Gnublin to the CAN network a MCP2515 stand-alone controller is used, which is accessed via the SPI interface of the Gnublin and drives the MCP2551 CAN-transceiver. Both chips are produced by Microchip (USA). The CAN interface is able to support bit-rates up to 1 Mbit/s. The stand-alone CAN controller includes features such as data byte filtering and a single-shot mode (not re-transmitting automatically faulty messages). It also provides glitch-filtering capability.