Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [can]

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.

0
votes
0answers
33 views

CAN BUS ON ATTINY85

I have some difficulty migrating the MCP_CAN_lib-master library to work with tinySPI the goal is to setup the ATtiny85 so that it can read all the can messages on my system currently there are three ...
0
votes
0answers
40 views

Add CAN, UART and USB support to NUCLEO-H743ZI [closed]

I need to add CAN, UART and USB support to NUCLEO-H743ZI development board. What solutions could be recommended (besides the development of my own development board)? Update: the question is about ...
1
vote
1answer
31 views

Type of terminal/connector to use for CAN bus on Arduino MKR CAN Shield

Probably, this is obvious to everyone, but since I am a newbie to electrical engineering I am stuck. I have two wires of a CAN bus, (CANL and CANH), and I wish to connect them to the Arduino MKR CAN ...
6
votes
3answers
1k views

What is the limiting factor for a CAN bus to exceed 1Mbps bandwidth?

Why can't CAN baud rate increase beyond 1Mbps
0
votes
0answers
34 views

CAN bus bit timing STM32F7 (bxCAN)

I am struggling with a bit timing of CAN bus. Perhaps, someone will be able to explain me, how it actually works. There are two configurations of the CAN controller inside STM32 (bxCAN). The desired ...
1
vote
0answers
47 views

Overloading of ESD protection diode on CAN lines through current during Bulk current injection - test

I have a design checklist question for a typical CAN circuit for an automotive application as below : The question is related to the ESD suppressor : "Was a capacitor parallel to the diode considered, ...
0
votes
1answer
43 views

I/O expanders- CAN & I2C

Currently in my system we use 16 I/O expanders with I2C interface. I want to change it to CAN interface. Which is the best possible way without compromising the cost? I tried searching for 16I/O ...
1
vote
2answers
56 views

Communication via I2C sensor via CAN bus

I am wondering if it is possible to implement the following idea: I want to build a network of sensors, all of them communicate via I2C protocol and all those sensors will send their parameters via ...
0
votes
2answers
56 views

STM32F429 CANopen with or without transceiver

this might be a stupid question but i'm unable to clarify this by myself. So i'm working on a project with a STM32F429zit microcontroller. I would like to use CANopen in my project so i can ...
0
votes
0answers
26 views

Bulk Current Injection on CAN bus

I'm trying to understand how the Bulk current injection would look like on the CANH and CANL lines, to understand the overloading of the ESD protection diode on the CAN lines and capacitors in ...
0
votes
1answer
58 views

Bulk current injection - Resonant frequency of ESD protection diode CAN bus

Link to the application note that I'm referring to below. I was going through an application note by On Semi, System Level Surge Suppression Solutions for the CAN Bus -AND8253/D, where it says that ...
0
votes
1answer
80 views

CAN bus with star configuration/long stubs

I am assisting in the development of a machine, and have been tasked with achieving high speed CAN (as close to 1 Mbit/s as possible) in a star configuration. The restrictions are: each arm is ...
2
votes
1answer
39 views

How would I place CAN termination resistors in a 3 ended configuration?

I have a project for which I have one central circuit board which has a can node on it, this central circuit board has three connectors on each of which a node could or could not be plugged in with a ...
3
votes
1answer
45 views

Recommendation for series protection resistors on CAN bus?

When implementing an RS-485 interface, I tend to follow TI's recommendation in the SN65HVD75 datasheet to include \$10 \Omega\$ series resistors on the A and B lines. The TVS diodes I'm using clamp ...
1
vote
1answer
49 views

Should I take precautions when using different CAN transceivers on the same bus?

What are the precautions I should be aware of when using different transceivers on a CAN bus? What I can think of: They neeed to operate at the same voltage (on ...
-1
votes
3answers
118 views

Is it common practice to connect power supply to a DB9?

I got a project where many sensors which uses CAN were connected to a DB9. And sensor power (24V and GND) too. I want to connect the DB9 terminal to power however how can I do it in a safe way? If I ...
2
votes
2answers
86 views

STM32 CAN bus Rx interrupt only triggers in loopback mode

I'm designing the CAN interface for a STM32F042C4T6 to be able to receive and send messages. I've tested my code and everything seems to work perfectly fine in loopback mode. However, when I hook up ...
0
votes
0answers
37 views

Why High Speed CAN messages with a recessive level in ACK slot from OBD II port on 2019 GM Chevy Cruze

I want to collect some CAN traffic from my car. I got two devices. One is Saleae Logic8. The other is Vector VN1630A. I think the CAN protocol is straightforward that we can listen the CAN traffic by ...
8
votes
2answers
2k views

Microchip documentation does not label CAN buss pins on micro controller pinout diagram

Link to the data sheet I want to use Microchips DSPIC33FJ128GP802 in a new project and want to use the ECAN buss. The problem ...
0
votes
0answers
91 views

STM32F0 CAN Transmit Timeout

I'm new to CAN communication and trying to setup CAN (normal mode) between two identical custom boards having STM32F072 controllers. Code generated using CubeMX (STM32Cube_FW_F0_V1.9.0) drivers. Here ...
0
votes
1answer
95 views

Does CANbus need to be isolated?

In my design - rugged computer - I have connected the digital gnd to the isolated CANbus gnd by mistake. Does the CANbus standard state that it has to be isolated? Can that connection harm the CANbus?...
1
vote
0answers
72 views

CANopen SYNC object and synchronous window length

In CANopen specification there is an object called Communication Cycle Priod [1006h]. This is the time interval between two consecutive SYNC objects. There is also another object called Synchronous ...
0
votes
1answer
44 views

J1939 Wiring Considerations [closed]

I am new to the forum and hope you could put me in the right direction. When designing a J1939 harness what is the physical layer constraints, if multiple ECU's need to be connected? Is there any ...
0
votes
0answers
103 views

Optimum number of CANopen nodes in a CAN bus for motor control

I am studying about the CANopen implementation in a motion control work. CANopen is a protocol over tha CANbus. It is seen that, in the CANopen specification, theoretically at most 127 nodes could be ...
1
vote
2answers
506 views

How to calculate bus load of CAN bus?

I have a few questions regarding CAN bus load Is there any derived equation/formula to calculate the bus load? I need transmit below frames(Assume Standard frame format) at baud rate 500 kbps on the ...
0
votes
2answers
85 views

Medium Range Two Wire Bus Recommendations?

Do you have any recommendations for a medium range (~10 meters) two-wire bus? My supply voltage is 24V and I'll have a single master with ~50 slaves connected to it. I've looked into: I2C - Great but ...
0
votes
2answers
75 views

How to select the most appropriate (serial) bus for controller?

In the context of a robotic project where different 'payloads' and/or robotics arms (end-deflector) should be mated mechanically with power, data and control connections support, I would like to ...
2
votes
1answer
146 views

CAN Bus sniffing

I am CE major prototyping embedded hardware to read and send data via the CAN bus. The design is coupled with a GSM/GPS module to enable tracking. I needed an EE perspective on the schematic diagram (...
4
votes
3answers
732 views

CAN bus termination in a fully modular design

I am trying to make a fully modular festo cube design that is controlled with a CAN bus, but I am trying to figure out where to terminate the bus. I am even not really sure if what I am trying to do ...
0
votes
2answers
53 views

Questions on CAN bit stuffing

I am new to the CAN. I have came across bit stuffing which is used to ensure that all receivers nodes are synchronized to transmitter node (After 5 bits of the same polarity, CAN will add a bit ...
0
votes
1answer
102 views

How can I use a Teensy for a CAN bus project? [closed]

I have to use CAN Bus in my project. I need to use the Arduino software and a Teensy but I don't know what parts I should buy or how to make it work. I have chosen Teensy 3.2 With CAN-Bus Breakout ...
1
vote
0answers
58 views

CAN Transceiver Behavior during fault conditions

I was just trying to understand the CAN transceiver TJA1042T behavior during fault conditions: CANH short to BATT CANH short to GND CANL short to BATT CANL short to GND I'm powering on the ...
0
votes
3answers
145 views

CAN Bus first steps

In a few months, I will need to build a project that will let me connect from my PC to a power supply via CAN bus. I don't have this power supply here and have zero knowledge (even less) of how to do ...
2
votes
1answer
265 views

The CAN bus in this vehicle has only one 120 ohm termination resistance. What problems would this provoke?

This vehicle that I've started co-developing is designed with only a 120 termination resistor on the CAN bus. Obviously there should be two of those resistors on two ends of the bus. I will be making ...
1
vote
1answer
121 views

Common mode choke parameters CAN circuitry, Split termination concept

1)I am trying to the understand the important parameters of a common mode choke that will be placed at the CANL and CANH lines of a transceiver.First parameter - Impedance as function of frequency - I'...
3
votes
3answers
557 views

STM32 CAN bus receive interrupt is sometimes not fired, and CAN transmit sometimes times out

I have two STM32 boards connected via a CAN bus. They periodically transmit a message to each other. For some transmissions however, HAL_CAN_Transmit returns with ...
2
votes
2answers
209 views

What are the disadvantages to using an MCP2551 as a CAN transceiver for GMLAN / SW-CAN?

I made my own version of the Canalyze Linux CAN interface. I plan on using it to study the CAN traffic on a Buick Regal. Since this is a GM vehicle, part of the traffic is on a GMLAN or SW-CAN network....
1
vote
1answer
92 views

CAN Controller + PIC32

I have been trying to design a functional board which combines the hardware of the Elecrow Arduino Uno CAN bus shield with a microcontroller board, which functions like an Arduino except with ...
-1
votes
1answer
60 views

High speed CAN configuration

Currently I am working on a project which needs me to configure the Hardware from Low speed CAN(100Kbps) to high speed (@500Kbps). CAN controller supports Baud rate upto 1Mbps. I am generating the ...
0
votes
2answers
284 views

CAN Bus - Bit timing

I am trying to work with a Microchip MCP2515 CAN Controller (16Mhz oscillator) alongside a MCP2551/61 CAN transceiver. I have been successful trying to setup the device via SPI, BUT I am unable to ...
0
votes
0answers
46 views

Interoperability between regular and single-wire CAN bus

Is it possible to connect a regular CAN transceiver (ISO 11898-1) to a single-wire CAN bus (SAE J2411) in a compatible way? By "compatible" I mean that the whole system should support valid J2411 bus ...
0
votes
2answers
131 views

Transceiver pulls both CAN wires to ground, when in standby. What does that mean for the other devices on the bus?

In a project, I am using a CAN bus with several devices on it. The CAN bus is terminated with 120 Ohms at both ends. When all devices are booted up, the CAN waveform looks like I would expect: When ...
4
votes
2answers
137 views

How can a dominant state be the one with bigger voltage difference?

I am studying about CAN buses, and there is one thing I just can't find an explanation for. I understand that the idea of a wired-and connection is, that if any node is driving the bus to the dominant ...
2
votes
3answers
183 views

How far can a terminating resistor be from the literal end of a CAN bus?

I'm wondering if anyone knows if there is an upper limit for the distance a terminating resistor can be from the literal end of the CAN bus or where the last node is. We have an HMI that is connected ...
2
votes
1answer
69 views

What are these CAN frames / messages?

I'm writing software for a project that sends data to me using a CAN bus. The software runs fine in small test scenarios with 3-4 bus members, however with increasing members the bus sends data with ...
1
vote
2answers
115 views

How does Ethernet to CAN conversion work?

I am wondering how an Ethernet-to-CAN converter works. CAN is a multi-master broadcasting network where messages are associated with IDs. Each message type has a unique ID. Devices listen to all ...
0
votes
1answer
58 views

FPGA CAN Bus Test Bed

I don't have familiarity with FPGAs and I haven't used VHDL for 21 years, so starting from scratch. I am wondering if the following is possible/sensible. FPGA running n "small" independent ...
1
vote
1answer
66 views

What is the use of series resistor in VBAT line of CAN transceiver?

In the application diagram CAN Transceiver TJA1043 (Page – 19), there is a series resistor in the VBAT line. What is the use of this resistor? How to select the value for this resistor?
0
votes
1answer
405 views

Why it is necessary to put two 120 ohm termination resistors at each end of CAN transmission line respectively? [duplicate]

Why it is necessary to put two 120 ohm termination resistors at each end of CAN transmission line respectively? Does it make an equivalent resistance of 60 ohm? (parallel resistors). Is it OK to put ...
0
votes
1answer
138 views

Interfacing an LPC2148 with a CAN module

I need to implement the CAN protocol to communicate between two LPC2148s. Now I am planning to use SPI for communication between a microcontroller and a CAN controller and then the CAN protocol for ...