CAN stands for Controller Area Network and is a bus often used in automotive applications. It is a two-wire differential protocol and works on baud rates from 10 kbits/sec to 1 Mbits/sec.

learn more… | top users | synonyms (1)

-3
votes
1answer
66 views

How many addresses are on a single CAN bus?

How many addresses exist on a single CAN Bus? I am writing code, and I need to know how big to make my arrays. I don't know how many bits a CAN address is and whether any of them are reserved. More ...
1
vote
2answers
53 views

Interpreting CAN Bus Data from OBD Port

I'm using Arduino with MCP2515,2551 to read data from CAN bus over OBD port of my car, Honda Jazz 2012. From what I've read on other forums and OBD wiki, I can transmit the PID query to engine over ...
0
votes
2answers
47 views

LPC2129 CAN bus interface to OBD-II

I want to connect an LPC to the CAN bus in my car, and I found that LPC2129 have the CAN protocol implemented on the chip. Searching the Internet, I saw that most of microcontrollers are connected to ...
0
votes
1answer
29 views

MCP2515 with CSTCE16M0V53

I need a 16MHZ resonator for my MCP2515. Can I run it with a CSTCE16M0V53-R0 or would that not be sufficient?
1
vote
1answer
59 views

Scheduling the transmision of CAN frames in an RTOS

I'm planning to use my STM32 board to send CAN frames. I implemented a simple scheduler that contains 10 tasks; one task will be responsible for sending frames. To do the job I declared a structure ...
1
vote
1answer
59 views

CAN bus polarity?

When connecting a CAN bus, does the polarity of the two lines matter, or is it simply the differential that the circuit decodes?
1
vote
1answer
44 views

Issue with the AMIS42700 CAN bus extender

I am currently setting up a CAN network of 16 nodes. For future extension of the network, the nodes are distributed on 4 different branches. These branches are bonded together by two CAN bus extenders ...
1
vote
1answer
43 views

Preferred or common connectors for CAN bus on the PCB?

Looking for a decent connector to carry CAN bus signal from/to a PCB. What is the most common type? Ideally something compact. I would like to avoid DB9 since it looks too much like RS232. This isn't ...
0
votes
0answers
40 views

dsPIC33ep256mu810 CAN bus-to-USB “bridge” - CAN message overload

I have a problem with transmitting received CAN messages to USB. If I receive only a few messages at a time, there is no problem with communication. The problem is receiving a lot of messages in a ...
0
votes
0answers
33 views

LPC1769 CAN communication

I am learning CAN bus with LPC1769 and the LPCXpresso base board. I am in badly need of some demo code on CAN communication on the LPC1769 to know how it can be configured and works, but I can not ...
1
vote
3answers
63 views

CAN Reference Output Voltage

I'm designing a CAN-based platform using the Microchip MCP2551 transmitter. The circuit looks like that: Notice the unconnected pin VREF. I tested the circuit on a prototype and CAN is working. What ...
1
vote
1answer
49 views

Three CAN nodes

I am using CAN bus to collect some data from devices. I have two problems. First one is: I have three devices (nodes). Two of them are identical, and I cannot change the way they send messages. These ...
0
votes
1answer
72 views

Understanding the difference between CAN IDs and PIDS on OBD-II

I am trying to understand the CAN protocol for reading the diagnostic information from a car. For example, I know that on the car I am working on uses CAN identifier 0x7E0 as a query and 0x7E8 is the ...
1
vote
1answer
137 views

Switching a resistor by software

I want to communicate with a microcontroller over a CAN bus which needs (ideally) 120 ohm terminal resistors at the end of each bus. I want to integrate this resistor into the circuit and activate it ...
1
vote
1answer
100 views

Connect PC to CAN bus using MCP2210 + MCP2515 + MCP2551

I would like to connect my PC to a CAN bus to send and receive messages. Is it possible to use MCP2210 as an USB-to-SPI converter and connect it to MCP2515 and then use SocketCAN to open a channel ...
3
votes
1answer
129 views

Can I connect to my car's CAN bus with an ELM327 interface?

I've been fiddeling around with a Bluetooth ELM327 device I bought a few months ago and am able to get standard OBD information like vin, rpm, speed, etc. But as I just read about recently, OBD-II and ...
1
vote
1answer
77 views

CAN bus connector issue

I've got a circuit with a CAN bus connector like the following with two RJ11 connectors to be connected in a daisy-chain style: But only one of them is working (I tested them by connecting to ...
1
vote
3answers
128 views

CAN data transmission

I have four separate nodes (A, B, C, and D) that will transmit via a common CAN bus. For a full packet of data to be sent to a node, each CAN controller has to send three times (20 bytes of data). ...
0
votes
1answer
126 views

Why is the split termination method required for the CAN bus?

I wanted to know how the split termination is implemented for the CAN bus. How does it help one to reduce EMC problems? What happens if we don't have a split termination? It would be great if I also ...
0
votes
0answers
44 views

CAN bus node payloads incorrect

We are working with a WR44 Digi Modem with the Fleet I/O expansion card. We built a series of CAN nodes that are supposed to be reporting RFID tag information back to the Digi Modem. Here is the basic ...
0
votes
0answers
90 views

CAN bus and relay problem

I have prototyped a CAN network with a PIC MCU and Raspberry Pi in it. The problem was when I tried to use a relay with a 5 V coil voltage on one of the nodes like this: The LOCK_CTRL was ...
0
votes
0answers
118 views

CAN: how to test the CAN/CANopen messages without using CANalyzer

I am working on CAN where the code is already ready for send and receive, but now for our unit testing we use CANalyzer to test the send/receive of the data. Is there a way wherein I can test the ...
0
votes
3answers
387 views

CAN Bus Physical Layer Twisted pair or not

CAN bus is very common in automotive or vehicular applications. In our case, we are using aerial platforms with have CAN bus links between operator remote and ground control box. As is very typical ...
0
votes
0answers
64 views

What is a busy period on a CAN bus?

As per my understanding, a busy period is the interval of time where all messages that have priorities greater than i and that are queued before the end of the busy ...
1
vote
1answer
70 views

CAN Bus - Is bit stuffing required at EOF and INT?

In a CAN Bus, to ensure enough transitions to maintain synchronization, bit stuffing is used after five consecutive bits of the ...
1
vote
3answers
106 views

Cheapest way to get a CAN signal

I have to transfer signals over around five meters. My input signals are I2C or SPI-compatible, but unfortunately it is no good idea to transmit them over such a long distance. Therefore I was ...
0
votes
0answers
441 views

CAN bus on STM32F429 receiving messages

I am using the STM32F429 HAL CUBE for a CAN bus implementaion. I am able to transmit some CAN bus messages, but my receive function is not working. Is it compulsory for receiving messages to write a ...
0
votes
1answer
71 views

Identify microcontroller pins for CAN interface

I am using DSPIC33FJ64GP804 in my project. And the datasheets can not tell me which pins are used as CAN tx and dx. Maybe it is pin 21 C2in- and 22 C2in+? Or maybe any two pins can be used?
2
votes
1answer
175 views

Kvaser Leaf Light CAN BUS Simulator problems

I'm learning to use this tool Kvaser Leaf Light V2 with CAN-BUS. I'm stuck with some problems. I can read the packets around the CAN-BUS line from the car, I can save it in a text file, but when I ...
3
votes
2answers
119 views

CANUSB SJA1000 Filtering

I am using a CANUSB adapter connected to my car attempting to read out only CAN messages with 11-bit identifier 0x1D6. I need to do hardware filtering because software filtering is too slow for my ...
1
vote
3answers
77 views

Wired sensor network

We are trying to develop a wired sensing network that will have up to 200 sensors attached to it, spread over what could be 100 m. There will be one main controller that uploads each sensor's ...
1
vote
1answer
164 views

Can I connect the ST Nucleo-F334R8 board using CAN (Controller Area Network)?

I have the ST Nucleo F334R8 board (64 pin version/LQFP64). The datasheet of its microcontroller (STM32F334R8T6), which is advertised as having one CAN interface - the 2.0 B Active type says this ...
0
votes
0answers
141 views

Can a CAN bus support power over ethernet?

I'd like to reduce my loom for a battery box. Every time I run a line i.e. CAN or low voltage power, it has to be isolated from the master controller which communicates with each slave. I'd like to ...
4
votes
2answers
348 views

Multiplexing a CAN bus

I want to use a small 8 bit microcontroller which has only a single CAN rx/tx, i.e. Atmel 32c1, but in my application I need to be able to send and receive requests from two CAN buses. I have read ...
4
votes
3answers
2k views

CAN bus simulation (automotive purpose) - tried Arduino and SparkFun

I repair electric powered steering systems for cars, especially Fiat, Alfa, and Lancya (Delphi manufacturers), and I'm in need of making some tool to test these reparations. I mean just turning it on, ...
0
votes
0answers
145 views

CAN bus identifiers for the engine control unit of vehicles

I am working on diagnosing engine issues with an engine control unit (ECU) and the CAN bus available in vehicles. This is what I have found so far. Every manufacturer follows the ISO 15765-2 (ISO-TP) ...
-1
votes
1answer
108 views

CAN installation running at 1 Mbit/s need to transfer 1024 bytes

What is the total number of data frames needed to transfer an entire 1024 bytes block? Also, what is the minimum amount of time needed to complete this method?
3
votes
2answers
139 views

How do I structure a slow speed CAN Bus network with 400 nodes?

I'm looking into the possibility of building a CAN bus network with ~400 nodes in it. The total cabling distance is about 200m but it doesn't have to be fast; each node only needs to transmit a single ...
-4
votes
1answer
69 views

Make a non-CAN device into a CAN enabled one

I've got a Freedom development board FRDM KE04Z which doesn't support CAN. How can I make it CAN enabled? Are there any external CAN controllers that can help?
0
votes
1answer
167 views

Baudrate and BTR0/BTR1

I am creating an application that uses standard function that sets bitrate. The parameters required are BTR0 and BTR1. But the user of my application will enter the standard value of the Baudrate (eg. ...
0
votes
1answer
308 views

CAN bus acknowledgment error

I am using an STM32F429 CAN bus program with TJA1041A as the CAN transceiver. The problem is that the messages are not getting acknowledged, and herewith I am attaching the code for further reference. ...
0
votes
0answers
60 views
2
votes
1answer
568 views

Single wire CAN // Saab 9-3 I-Bus // GMLAN

I'm trying to control an instrument cluster from a 2008 Saab 9-3. It has 2 pins marked for I-Bus (both wires are green, continuity test shows they are tied together as shown here: Some sites also ...
2
votes
2answers
221 views

What is the usage of this resistor?

I'm thinking about this part of this board : As you can see, there is a resistor in the red rectangle (R26). my question is what is the usage of this resistor? Well being a resistor for D14(CANRX) ...
2
votes
2answers
359 views

Best method to transfer two int percentage values over a CAN bus

I have two integers: int A is a value from -100 until 0 and int B is a value from 0 to 100 What is the most effective way to put this into a CAN message and decode it again at the other ...
1
vote
1answer
237 views

LaunchPad development board talking to itself using a CAN bus

I have one Texas Instruments Tiva-C Series TM4C123GXL LaunchPad and two MCP2551 transceivers. I am trying to send and receive messages via a controller area network (CAN) bus. Is it possible to do ...
4
votes
1answer
201 views

How can I determine a maximum run length for CANbus?

I'm using CANbus to communicate between two circuit boards. 120 ohm termination resistors on either end. Transceivers are MCP2561 and ISO1050. Bit rate is in the hundreds of kilobits/second. Medium is ...
1
vote
1answer
103 views

Controller area network voltages

The CAN bus has CAN-High and CAN-Low lines. Normally, in the recessive state the voltages are each 2.5 V and in the dominant state the CAN-High line goes to 3.5 V and the CAN-Low line goes ...
1
vote
1answer
81 views

NXP PCA82C250 CAN controller interface

What is the function of the \$V_{ref}\$ pin for the PCA82C250 CAN controller? A complete datasheet is available.
2
votes
2answers
143 views

Question about communication using a controller area network (CAN)

I am trying to make a test CAN loop on a breadboard and I want to try reading and writing to it using an mbed. I found an example circuit and some test code for reading and writing from a CAN loop ...