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
2answers
69 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
35 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
33 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
30 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
45 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
63 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
49 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
62 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
30 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
127 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
82 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
87 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
80 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
615 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 ...
2
votes
3answers
162 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
48 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
49 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
71 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
76 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
48 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
37 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
44 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
382 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
56 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
35 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
122 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
103 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
129 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
53 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
110 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: ...
1
vote
2answers
146 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
71 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
112 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
131 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
115 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
84 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
0answers
54 views
TRW Conekt EPAS CAN-Bus frames
I'm building a track car based on Clio III RS - It's basically a Clio X85 Cup race car in a road body shell, and running Clio Cup Electric Power Assisted Steering which is made by TRW Conekt (variant: ...
0
votes
1answer
60 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
255 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
41 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
50 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:
...
0
votes
1answer
618 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 ...
2
votes
3answers
627 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. ...
1
vote
1answer
138 views
CAN network resistor termination [duplicate]
My question is about the resistor for termination in a CAN network.
From an electrical perspective why should we add this resistor (commonly 120 Ohm) between the CAN_H and CAN_L?
Thanks in advance.
2
votes
1answer
149 views
CANBus goes through periods of re-sending messages continually
I'm having an issue where my microprocessor CANBus module continuously re-sends it's last message, even though it seems to be received properly by my USB-CAN monitor on the other end.
I'm attempting ...
1
vote
1answer
81 views
Run two boards with different crystals (MCP2515 specifically)
I have one CAN bus interface that's using a 16 MHz crystal, and I want to set up my own interface to talk / simulate CAN packets with first one. I do have 20 MHz crystals for my own ...
3
votes
1answer
184 views
Basic CAN-BUS circuit - what does this section do?
I'm currently learning how to make a circuit for CAN-BUS communication and came across the schematics of the Sparkfun CAN-BUS shield for Arduino (can be found here). I'm a little puzzled by this ...
0
votes
1answer
29 views
How can I set up a chained DAQ system with small off the shelve boards? [closed]
I'm building an exoskeleton in a student team and we're having some trouble finding the right prototyping system for our electronics system. All of the shelve systems are either too slow or too big. ...
1
vote
2answers
62 views
Can I use a CAN-bus for acquiring data.
I am trying to develop a robotic system that has a distributed DAQ system with one main computer that has the high level control loop.
I have a question about the data that has to be transmitted ...
1
vote
3answers
182 views
What happens if there are many 120 ohms resistors as terminators on the CAN bus?
I connected three devices in parallel on a CAN bus system. Every device has a \$120\,\mathrm{\Omega}\$ resistor inbuilt in the circuit. I am using two pairs of twisted cables of \$1.2\,\mathrm{m}\$ ...