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)

1
vote
2answers
23 views

Controller area network arbitration with same message id

I am learning Controller area network. The arbitration for bus access is done with a message identifier(as given in CAN specifications). So if two nodes tries to transmit data on the bus with same ...
1
vote
1answer
60 views

Physical wiring architecture for a CAN Bus

I want to wire a CAN bus for multiple motors(BLDC) in robotic arm. I am building out my motor such that they have a controller and a CAN transciever built in. There will be upto 6 motors with the ...
1
vote
0answers
64 views

PCB connector pinout identification (power + CAN bus) [closed]

I have a steering angle sensor from an Opel Corsa C and want to use it as a rotary encoder. I guess the device has a CAN bus (judging from the presence of TJA1040 at least) and I want to read the ...
1
vote
0answers
29 views

ATMEGA328 SPI MCP2515 - SPI communication freezes at certain point [migrated]

I got 2 boards with an ATMEGA328 microcontroller and MCP2515 CAN Controller and I'm trying to get them communicate with each other. To shortcut the programming a little bit I'm using the Sparkfun ...
1
vote
1answer
80 views

Can I connect a CAN node with 250 kbit/s to a CAN bus running at 500 kbit/s?

I'm trying to connect an automatic car gearbox which is using the CAN bus at 250 kbit/s to car with bus speed 500 kbit/s. Is it possible to have nodes with different speeds on the CAN bus? ...
1
vote
1answer
53 views

Multiple UART output sensors on one serial port

I would like to connect 4 UART output sensors to one serial port of my controller. The distance between sensors and controller will be about 10m. Initially I was thinking of using 485 as physical ...
0
votes
0answers
21 views

Implementing a residual bus simulation in CAPL that handles both CAN and Flexray signals

Does anyone have an idea about how to implement a residual bus simulation in CAPL under CANoe that handles both CAN and Flexray signals (hybrid network) based on a pure CAN risidual bus simulation ...
3
votes
2answers
201 views

Controller area network received message filtering mechanism

I am working on some CAN communication project which allows us to control some external device attached to one node from some other node. The CAN bus is a broadcast network and hence a message sent by ...
0
votes
1answer
113 views

How can CAN transceivers ouput CANH=3.5V and CANL=1.5V?

When sending a dominant bit (0bit) on the CAN bus, I understand that CAN transceivers output CANH=3.5V and CANL=1.5V. But when looking at the schematics of a CAN transceiver, I do not understand how ...
0
votes
2answers
86 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 ...
1
vote
1answer
42 views

Implementing CAN bus software termination

I noticed that a lot of CAN new test equipment allow you to enable/disable the termination via software. Is there an new transceiver in the market or an accepted way to implement this??
0
votes
1answer
37 views

dsPic33f : How to interface ECAN with CAN High/Low Signal

I want to start communication between (dsPic33f) ECAN_Module & PCAN-USB ADAPTER I have downloaded a demo code AN1249 from microchip website. I am using Explorer-16 board for Testing. Now the ...
0
votes
1answer
139 views

CAN - bus off error recovery

I am still fairly new to CAN bus and working to understand the bus recovery. The MSCAN documentation reads that once a node enters bus-off it "will become error active again after counting 128 ...
0
votes
2answers
52 views

CAN BUS cable Shielding effectiveness

I am asking a question on behave of a colleague who's struggling with the following. Does the relocation of the ground bonding point on a CAN bus ground shield make a difference? In the photo below ...
3
votes
3answers
78 views

Additional requirement for checksum over CAN bus?

Im working on a safety system project and sending messages over CAN bus among systems. Since the CAN protocol already includes a hardware CRC for messages sent over the bus,I was wondering if ...
0
votes
1answer
83 views

CAN protocol : How to start with CAN interface with Microcontroller [closed]

I want to communicate with VFD (variable frequency drive) via CAN open protocol. I have never used CAN before. So can anyone Guide me from where Should I start with ? Any link or Suggestions would ...
0
votes
1answer
85 views

CAN Loopback test using SN65HVD233-HT

Im using the SN65HVD233-HT CAN transceiver where it states that loopback is possible without data going out to the bus. Im using LPC1778 uC and want to know,if i enable the loopback pin in the ...
0
votes
0answers
39 views

PIC18F66K80 conflict via ADC (RA0) and initialize ECAN-module

right now i am quite familiar with the can-bus communication via labview and the pic. I startet to merge the pure data acquisition on the pic (e. g. temperature) with the can communication. At this ...
3
votes
3answers
219 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 ...
1
vote
3answers
85 views

Using CAN bus tranceivers with custom data link layer

We needed a noise immune, low cost, multidrop, multi master (realtime and distributed) protocol and there is only CAN bus seems to meet with these requirements. Since there are no can controllers (...
-1
votes
3answers
98 views

Questions about CAN bus [closed]

I am using the PIC18F2680 built-in CAN module along with CAN MCP2551 transceivers, and I am using the plib library for CAN2510 functions. My question are: Should we use twisted pair wires (like take ...
1
vote
1answer
86 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 ...
9
votes
2answers
635 views

Enable interrupt but no ISR

I would like to know what happens if an Interrupt is enabled(ex:Arbitration Lost Interrupt in CAN module of NXP's LPC1778),but no ISR has been defined for the interrupt. When such an interrupt occurs,...
2
votes
3answers
258 views

CAN bus test via loopback - possible or not?

I want to test the integrity of the CAN bus (also my CAN transceiver) periodically using the following method (independent of the other nodes). Assume two nodes always exist (node A and node B). When ...
0
votes
2answers
53 views

How do I specify whether to send a CAN bus message on low-speed or high-speed CAN?

I'm a student doing an internship and have to send a CAN bus message to a vehicle. I have no experience with the CAN bus, but it's part of my project so I'm trying to learn. I have to use an i.MX 6 ...
0
votes
1answer
52 views

Detection of CAN bus signal direction

I trying to detect if a "dominant" state on the CAN bus is set from a specific CAN node. For this I place a "bridge" between the node and the bus. I don't want to forward each frame with a ...
1
vote
2answers
76 views

CAN - duplicate message at receiver possibilities?

This Link says a that :Use of sequence numbers fixes the duplicate error. When can duplicate message end up at a receiver? If a node detects an error, it sends out an error flag and when all the ...
3
votes
1answer
89 views

CAN- “Messages have ID's not nodes”

I heard many people say that CAN message have ID's and not nodes. I think this could be due to the fact that, irrespective of assigning a unique ID for each node, all nodes receive the messages. Also, ...
1
vote
1answer
59 views

Using different termination types on CAN bus

Is it possible to terminate one end of a CAN bus using Standard termination (single 120 ohm resistor across CANH and CANL) and the other end using Split termination (two 60 ohm in series with a ...
0
votes
1answer
42 views

Texas Instruments TPS57160 Enable Pin via P-Channel Open Drain Output

So I have a module that supposedly has a P-Channel Open Drain Output (INH on Infineon TLE6251-2G) and I am trying to interface that with the EN (Enable) pin of the Texas Instruments TPS57160-Q1 Step ...
0
votes
1answer
48 views

CAN Error Counters behaviour

Can someone explain how the nodes behave when an error is detected by one or more nodes? I have tried understanding it from the CAN Spec but it seems complicated. When do the Transmit and Receive ...
5
votes
2answers
390 views

Twisted pair impedance

I've got a twisted pair cable that I'd like to use for connecting distributed systems that use 1Mbps CAN network. The problem is that I don't have a clue what's the impedance of this cable and I know ...
0
votes
2answers
64 views

CAN -> acceptance filter then interrupt or vice versa

I would like to know which occurs first while using CAN communication. Based on the answer I would conclude whether an acceptance filter must be used in my project or not. Scenario: There are three ...
0
votes
2answers
36 views

Redundancy for a databus transmission

I'm going to start a project in my University in a few week. Since it is a collaboration between my University and a very important company I cannot say too much about the project itself. So I try to ...
1
vote
2answers
129 views

CAN bus possibilities?

Is it possible to add something, such as a microcontroller, to act as a new node that will integrate into the CAN bus system and be dominant over other nodes or at least speak on the bus to work what ...
0
votes
2answers
111 views

What is the maximum bitrate supported in the Can Bus?

i began reading about Can Bus for my final year project i have to send a file to be flashed into the microcontroller using the CAN BUS . I have found that the maximum bitRate that can be achieved is ...
2
votes
1answer
150 views

Rx data rate on CAN bus faster than polling rate

I'm working on a safety-critical SIL 4 system and so interrupts have to be kept to a bare minimum (hence using only timer interrupts). CAN is used in polling mode. Suppose data arrives at a CAN node ...
0
votes
1answer
57 views

CAN acceptance filter

Suppose all nodes in a CAN network are configured using acceptance filters to rx packets that are addressed only to them. Example: Node A configured to rx packets addressed only to "A" in the 11-bit ...
0
votes
2answers
174 views

CAN BUS system compatibility? DB9 to M12

I have a CAN SYSTEM with a M12 5pin male plug that acts as a sensor processor. It runs on 12 volt. I am trying to feed this system with a Raspberry Pi B system using this CAN BUS board: http://bit.ly/...
1
vote
2answers
178 views

Microchip PIC18F CAN message reception problem

I am attempting CAN communication between two nodes and can not get the receiver to transfer a message from the MAB to a readable buffer. The nodes are identical, physically and in configuration. I ...
1
vote
3answers
74 views

Transit between RS485 and CAN

I have two transceivers, one for CAN and one for RS485, and both are isolated. Both standards require 3 wires (two differential pairs and one common GND). I am trying to use one termination connector ...
5
votes
1answer
134 views

How do I set up both CAN modules on the PIC DSPIC33EP128GM604?

So I am in the midst of my first proper PIC project, and it has been interesting to say the least. The problem I'm having is setting up the CAN modules. The PIC I'm using has two ECAN modules. Using ...
2
votes
2answers
134 views

House wide automation network: CAN or Ethernet?

I am half-way through building my home automation system. As an electronic engineer/software developer a lot of this has been rolled myself from scratch and I will hopefully be starting to blog more ...
1
vote
1answer
124 views

Use modified USART for a one-wire bus, one master and 400 slaves on a 400 m wire?

I use the normal ATmega UART interface, but disable the TX part (make it high impedance). To have more push-pull power for a long bus, I use two I/O pins for TX; the PNP and NPN transistors will be ...
3
votes
2answers
87 views

Can I just T into a CAN bus network if I just want to observe the data?

Can I just T into a CAN bus network if I simply want to snoop on the data flowing? I know I have to disable ACK bit sending, but is it just a case of physically splicing into CAN-High and CAN-Low?
0
votes
1answer
63 views

connector recommendations for CAN bus and power supply to distributed PLCs

I'm looking to build a distributed PLC system with up to 20 devices spread throughout a building, controlling lights, HVAC, irrigation, security, etc, and want recommendations on what connector to use ...
0
votes
3answers
322 views

BeagleBone Black CAN Bus

My apologies if this is the wrong stack website for this question. We plan to use a BeagleBone Black as the control computer for an electric car. The BBB handles, among other things, communicating ...
2
votes
1answer
42 views

Differential bus transmission

I am working at a project which requires an application which has some devices connected through a bus (RS-485 || CAN), I haven't decided yet.The problem is that some of this devices are hot pluggable ...
1
vote
0answers
52 views

Isolated CAN and Onewire

I have a bord where HV is present and one where only LV is presented. On each board is an Onewire und a CAN bus. How can I isolate the buses? I found for CAN this: http://www.ti.com/lit/an/slla298b/...
0
votes
1answer
811 views

HAL_CAN_Transmit_IT and HAL_CAN_Receive_IT simultaneously use problem

Synopsis: STM32 HAL Library functions HAL_CAN_Transmit_IT and HAL_CAN_Receive_IT can't be used simultaneously effectively ...