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.
838
questions
3
votes
5
answers
10k
views
Is CAN bus communications enough to update firmware?
I am going to control a few microcontroller-based units (approximately 30) from a master computer.
They are going to be connected using a CAN bus
The furthest lying unit may be approximately 10 meters ...
4
votes
1
answer
1k
views
CAN controller in a CPLD
As I cannot manage to find it done on internet, I wonder if it is possible to program a CAN controller in a CPLD ? It's look like it is going to require a least an FPGA.
14
votes
3
answers
13k
views
Transmission of different messages with the SAME ID on a CAN bus
CAN arbitration is done with IDs, and any node on the bus can transmit with any ID (ideally it should not, but a nasty node can).
What if two different nodes connected on the same CAN bus transmit ...
3
votes
2
answers
5k
views
CAN bus system causing me extra work!
I bought a car reversing sensor system... I bench tested it with a simple 12 V PSU, and it works great. Integrating it into my car is another matter since finding out that most cars since 2008 ...
3
votes
1
answer
3k
views
CANopen frame format?
Is there a resource that describes how CANopen frames are constructed down to the byte level?
I'm trying to decode a hex dump from a CAN bus, see the image below. The high-level CAN messages that ...
4
votes
2
answers
7k
views
CAN driver - error passive state
I have a device based on TMS470R1B1M from which I try to send CAN standard frames every second. As soon as I turn on the device, the device enters the error passive state.
How do I handle this error ...
2
votes
2
answers
289
views
CANopen protocol
If a CANopen device is said to be CANopen compliant (for example, compliant to DS 301), is the criteria for saying it to be compliant only based on the Mandatory Object Dictionary Entries supported or ...
1
vote
2
answers
1k
views
What is a multiplexed network?
What is a multiplexed network?
Multiplexing means many to one and sending the result over the network. As far as I know, Control Area Network (CAN) supports multiplexing. How?
CAN is said to support ...
2
votes
1
answer
789
views
CAN module in STM32F207 - continuously transmitting the same message
I have configured the CAN module in a STM32F207 to transmit at 1 Mbit/s. The program is such that it will transmit the same CAN frame for every 2 ms. I observe that even if the code is not ...
5
votes
2
answers
13k
views
CAN Baud rate configuration - STM32F207
I need to configure the CAN module of a STM32F207 to the following different baud rates: 500 kbit/s, 600 kbit/s, 700 kbit/s, and 1 Mbit/s. For 500 kbit/s and 1 Mbit/s I ...
1
vote
1
answer
338
views
CANopen Protocols
I have a CANopen slave stack. Is it possible to implement both the CANopen master and slave functionalities using the same stack? Or is a separate master stack required?
12
votes
3
answers
26k
views
Is MCP2551 a UART-to-CAN converter?
I want to make a CAN bus sniffer for 250 kbit/s using my computer. After some research I've found that MCP2551 is some kind of voltage level regulator for CAN's physical layer. Keeping that in ...
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 ...
8
votes
3
answers
8k
views
Why won't my CAN transceiver receive messages unless there is a long startup delay or a bus analyzer connected?
I am using a 16-bit MCU, PIC24HJ64GP504, to write a CAN based application. Basically it is communication between my board and one another node which continuously keeps on sending data to my board ...
7
votes
1
answer
3k
views
Multiple devices on a CAN bus via the OBDII diagnostic connector in car
We have an aftermarket cruise control installed (in Suzuki Swift), which is connected to the OBD-II connector to access the CAN bus (according to the installation manual, it uses just CAN-L and CAN-H ...