Skip to main content

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.

41 votes
4 answers
175k views

Why does the CAN bus use a 120 ohm resistor as the terminating resistor and not any other value?

I know the reasons for using terminating resistors on a CAN bus and how important it is. But why 120 ohm? How did this value come up? Is there any specific reason to use 120 ohm?
Swanand's user avatar
  • 3,275
53 votes
5 answers
42k views

Is a CAN enabled microcontroller sufficient to drive a CAN bus?

There are a number of CAN modules built into microcontrollers these days. The PIC18F2480 is an example of that. Is that microcontroller (with built-in CAN) capable of driving a CAN bus on its own or ...
efox29's user avatar
  • 12k
2 votes
3 answers
21k 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 ...
Siva babu Rai's user avatar
14 votes
4 answers
38k views

Is a ground/common needed for proper CAN bus communication?

Since CAN Bus is a differential signalling system, what is the significance of GND/COM signal? Can I get by without it? I've got a very simple 2-node system that has some weird happenings going on. (...
Adam Head's user avatar
  • 1,446
8 votes
2 answers
6k views

CAN Transmission and termination resistors

I have been trying to set up a CAN network using PIC18F25K80 microcontrollers and an MCP2551 to communicate between them. Can I use two simple wires as a CAN bus by just connecting the CANL, CANH of ...
Arun Shekhar R's user avatar
2 votes
5 answers
12k views

STM32 HAL_CAN_Transmit always returns TIMEOUT (HAL_CAN_STATE_TIMEOUT)

Setup I am using an STM32F103C8T6 (aka Blue Pill). With the STM32Cube I set CAN_RX to PB8 and CAN_TX9 to PB9 (these are defaults/nonchangeable). Circuit simulate this circuit – Schematic ...
Michel Keijzers's user avatar
14 votes
4 answers
10k views

Implementing a CAN protocol layer in software

Background I'm developing a project which will require the modest microcontroller specs of: 8 12-bit, 10kHz ADCs 1kB of RAM 48-QFN or smaller footprint 20kbps daisy-chainable noise-resistant and ...
Kevin Vermeer's user avatar
6 votes
3 answers
20k views

CAN bus layout design

I am trying to design a CAN bus node. The CAN bus shall be split-terminated with 120Ohm, 60Ohm for each line. Therefore i tried using this paper to calculate a characteristic impedance of 60Ohm for a ...
Peet Into's user avatar
5 votes
1 answer
38k views

Controller Area Network (CAN), high speed and low speed

Is the difference between high- and low-speed CAN only with respect to baud rate values? Is the CAN transceiver programmable for a range of speeds or is it fixed for a specific value? For example, can ...
hemanth's user avatar
  • 203
3 votes
1 answer
2k views

CAN bus goes through periods of re-sending messages continually

I'm having an issue where my microprocessor CAN bus module continuously re-sends its last message, even though it seems to be received properly by my USB-CAN monitor on the other end. I'm attempting ...
Adam Head's user avatar
  • 1,446
3 votes
2 answers
9k views

Difference between buffer and mailbox

Peripherals in Micro-controllers usually provide a way for us to send and receive data from it. Usually this are memory mapped registers. I have come across few terminologies. The most often used one ...
Ravi Teja Gudapati's user avatar
2 votes
1 answer
4k views

Can RS485 be considered a multi-master bus?

There are some electrical specifications specifically designed for multi-master protocols such as CAN, I2C, 1-Wire, etc. which are classified under CSMA/CD networks. However, RS485 has a push pull ...
ceremcem's user avatar
  • 1,426
2 votes
0 answers
1k views

Bus interface for short distances, many device data exchange - CAN, RS485? + characteristic impedance and media capacitance

I ran into some troubles trying to design a wired bus which will connect in about 64 testing devices. My first choice of mind was CAN bus, known of it's reliability and low EMC interference. However, ...
Adrian Adamczyk's user avatar
1 vote
1 answer
643 views

Same priority for masters in a CAN network

I'm aware that messages on the CAN network are assigned priorities. I'm working on a 2oo3 voting system, and if each of the messages by the three masters are given three unique id's, I'll be making ...
AlphaGoku's user avatar
  • 1,013
29 votes
4 answers
62k 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 ...
Penghe Geng's user avatar

15 30 50 per page
1
2 3 4 5