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)

0
votes
0answers
18 views

Understanding the difference between CAN IDs and PIDS on OBDii

I am trying to understand 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
123 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
51 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 ...
1
vote
0answers
52 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 ...
0
votes
1answer
56 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
104 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
72 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
40 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
79 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
74 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
140 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
49 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
49 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 ...
0
votes
2answers
85 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
245 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
68 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?
1
vote
1answer
125 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
104 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
71 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
111 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
102 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 ...
3
votes
2answers
242 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 ...
3
votes
2answers
1k 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
92 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
105 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?
2
votes
2answers
105 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
64 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
115 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
219 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
49 views
2
votes
1answer
397 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
180 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
350 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
197 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
131 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
89 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
73 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
130 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 ...
1
vote
1answer
81 views

How to transmit CAN signals wirelessly without line of sight (LOS)

I have a scenario where I have an OBD-II interface transmitting data via CAN across six wires to a display. I will have power on either side of the wires, but I cannot assume that the wires will have ...
1
vote
1answer
142 views

CAN BUS MESSAGES DESIGN SOFTWARE [closed]

I am currently designing with the PIC32 Micros and the 2 embedded CAN bus Controllers As the CAN bus architecture from node to node can be very complex with CAN messages, nodes filters, masks, CAN ...
5
votes
2answers
1k views

What's the maximum CAN bus frame (message) rate at 125 kbit/s?

My CAN bus is running at 125 kbit/s and is using extended frame format exclusively. I would like to know what's the maximum rate of CAN frame I can send out. Suppose the data length is always ...
1
vote
1answer
173 views

What could be used to send induced/coupled CAN-BUS signal

My problem I am experiencing is with the circuitry or IC combination to follow. I don't need a answer of what exact IC models I need, as that would be plain stupid. What I asked originally about the ...
2
votes
1answer
446 views

CAN communication between two ARM MCU's (LPC2129)

I am trying to communicate between two LPC2129 microcontrollers, one as transmitter and the other as receiver, using interrupts to transmit and receive the message. The transmit and receive ...
2
votes
1answer
1k views

CAN Bus Off when operating with two nodes

I have two nodes A and B operating on a CAN bus. I have cut the bus off and Node A reached the error passive state due to the lack of ack from ...
0
votes
2answers
613 views

Eagle library for MCP2551

I need to make a PCB, and the only software I have is EAGLE. All the other parts are listed in my libraries, but where can I find a library that has MCP2551 (CAN transceiver)?
5
votes
2answers
997 views

What exactly is “dominant” and “recessive”?

I am reading data sheets on the LIN bus, but apparently the same terminology is used for CAN. What does "recessive" and "dominant" stand for, e.g ...
0
votes
1answer
254 views

Listen Only Mode in CAN and Message Validity

Most controllers have a "Listen Only Mode" or "CANalyzer Mode" in which CAN module doesn't acknowledge any message but it will read the message silently. Assuming there is only two nodes on the bus ...
4
votes
3answers
2k views

Running CAN bus with RS-485 transceiver

Recently I had a discussion whether one could use RS-485 transceivers for a CAN-bus network in order to gain the flexibility to use the same hardware either in a CAN-environment or in half-duplex ...
2
votes
1answer
223 views

CAN connection help needed

I bought the IAR Kickstarter kit to work with the SM470R1B1M-HT (Texas Instruments) microcontroller. I would like to implement CAN communication between the microcontroller and a PC. I need to send ...
4
votes
3answers
880 views

Is the CAN bus protocol a master and slave protocol?

I am investigating if the CAN bus will work for the projects I am building at the moment. I want to create a bunch of input/output controllers that will accept/buffer commands, execute them and then ...