Category: CAN Adapter

CAN/USB Adapters and Associated software Tools.

BasicPI Firmware Stack

This illustrates the BasicPI Firmware Stack in progress. What I always do in embedded applications is to make a “standard” main.cpp as follows: void AppInit() {    // wire hardware } int main() {    AppInit();    // start OS } A team I worked in years ago agreed on this standard so we should…

Read the full article

Protocol Analyzer – Part 1

The protocols I use on CAN, serial, Ethernet, Wifi are all part of a easyIPC package designed to co-exist in a complex network. This is at the core of the systems and I need a tool that can visualize the messages that pass on various levels. This tool is called a “Protocol Analyzer” and without…

Read the full article

CAN Adapters

I have 2 CAN Adapters at present. One is the low cost USB Adapter and the other is the XPortHub. The picture above show the smaller, single channel USB to CAN Adapter. The picture above show the more powerfully XPortHub that provide USB, CAN, RS-485, RS-232, UART, SPI and I2C channels. The USB to CAN…

Read the full article

CAN Arbitration

One of the things you need to be aware off as you design (or use) a CAN based protocol is how arbitration works and how it can be used to your advantage or create a timing bug if it used wrong. CANbus consist of a 11 or 19 bit ID field at the head of…

Read the full article

CAN Adapter

Many of my newer devices have CAN so I wanted a simple USB(CAN adapter. It is nothing special with this project. I used a STM32F105 with USB on one side and CAN on the other. A minimalistic UDB-CAN Adapter just6 to avoid the need to pay a fortune for these. The first rev 1.0 missed…

Read the full article