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.
69
questions
4
votes
1
answer
6k
views
Current Consumption of CANbus (CANH and CANL)
I'm looking to use the SN65HVD230 CAN transceiver but had a question about the current consumption.
Datasheet: http://www.ti.com/lit/ds/symlink/sn65hvd230.pdf
In table 8.3 Recommended Operating ...
4
votes
3
answers
5k
views
Using an MCU with built-in CAN controller vs. external CAN controller
I'm planning to use the Atmel ATSAMC21J18A microcontroller in an automation project which has a built-in CAN controller. The CAN bus network may contain 32 devices, each generating data packets in 1 ...
4
votes
3
answers
4k
views
How to leverage CAN bus Mailboxes in my embedded systems?
I don't understand how to leverage CAN bus Mailboxes in my embedded systems.
I think I don't use them properly because I don't understand the problem they are trying to solve.
Here's a simple example ...
4
votes
1
answer
2k
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 ...
4
votes
2
answers
19k
views
BeagleBone Black CAN bus setup
I am trying to connect to a CAN bus network with my BeagleBone Black and SN65HVD230. I've connected it like in the picture.
I am running:
...
3
votes
2
answers
10k
views
Ethernet vs CAN bus physical signal
Reading about Controller Area Networks and Ethernet standard, I cannot understand why there is a difference in the way the signal is transmitted. Both protocols use twisted pair cables to communicate, ...
3
votes
2
answers
2k
views
CAN bus TX failing in a strange way
I have been trying to pass CAN frames between two different CAN busses using two different CAN channels on a STM32F746 MCU. The system always fails and freezes up in TX when it is supposed to be ...
3
votes
2
answers
3k
views
ATSAMC21 - CAN configuration - Nominal bit timing vs. data bit timing & time quanta calculation
I'm trying to configure the CAN bit rate of an ATSAMC21 to 125ksps in a CAN2.0B configuration.
However, after reading through the datasheet, the ASF documentation and the ATMEL start help I'm confused....
2
votes
2
answers
2k
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 ...
2
votes
2
answers
2k
views
Isolated CAN transceivers as a CAN bus extender
I am designing a system to 'hack' into a CAN bus. My first idea was to split the target CAN bus, terminating both ends into isolated CAN transceivers, and use a MCU to pass packets between the buses ...
2
votes
4
answers
3k
views
CAN Bus on PCB board
Will a CAN bus also work for on-board communication, without twisted pair cabling, between 2 or more microcontrollers on the same PCB board?
2
votes
0
answers
162
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 ...
2
votes
1
answer
2k
views
Electronically connecting/disconnecting device from a CAN bus
What I'm trying to do can be best described by the following circuit based on an electromechanical relay:
simulate this circuit – Schematic created using CircuitLab
However, is there a simpler ...
2
votes
1
answer
2k
views
CAN FD bit stuffing
Ok, it may be just peanuts, but here
the author says that the max. length (i.e. max. bit stuffing) of the flexible data rate part of a 64 Byte payload frame is 673 bit (Figure 6).
That part consists ...
2
votes
1
answer
2k
views
MCP2515, CAN bus, and transmission failure
I'm trying to interface with a GPS device that is intended to connect with a vehicle via the CAN bus. I'm using an MCP2515, driven via SPI by a Parallax Propeller project board. I've successfully been ...