The CAN bus

CAN-Bus_wiring

Jean-Claude has made a series of blog posts on using the Controller Area Network (CAN) bus:

This is the first of what I expect to become a multi-part article series on the CAN bus. I’d like to describe the features of CAN which I find particularly elegant and useful, and will introduce a simple driver I have implemented for it as part of the JeeH library. Along the way, I’ll try to illustrate its use with a variety of small demo apps, running on either a Blue Pill (i.e. F103), or one of the STM32F4 µC families.

Check out Jeelabs’ 6-part blog post here:
Part 1 – Intro
Part 2 – Access
Part 3  – STM32
Part 4 – JeeH API
Part 5 – Demo
Part 6 – Single-wire

CANable: the open source USB to CAN adapter

canable

An open-source USB to CAN adapter:

It supports CAN bit-rates of up to 1 Mbit/s. The product comes with an open-source SocketCAN driver software. It features a Micro-USB connector and a 4-pin screw terminal with CAN_H, CAN_L, 5-V supply, and ground. The CANable device is a hardware clone of Eric Evenchick’s CANtact project, an open-source USB-to-CAN hardware adapter

Via Open Electronics.

App note: CAN Bus – Common high speed physical layer problems

an_vector_AN_ANI_1-115

App note from Vector on three commonly encountered high speed CAN physical layer problems – bus termination, signal levels, and ground. Link here (PDF)

Determining the exact cause of a CAN problem is not at all simple.

Is the problem in hardware or software? Is the problem on the circuit board or on the CAN network wiring?
Sometimes the problem may not be at the module level – perhaps the cause is up at the system level.

This application note discusses methods used to investigate serveral of the more common CAN Physical Layer problems typically encountered when debugging high-speed CAN.

App note: iCoupler® Isolation in CAN bus applications

an_ad_AN-770

Application note from Analog Devices on CAN bus system isolation. Link here (PDF)

The intention of this application note is to give the user a brief overview of the CAN bus protocol, focusing on the system physical layer, as well as an understanding of why isolation is so important to the system. This application note also details how to implement isolation in a CAN bus system using Analog Devices’ iCoupler products.