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.
839
questions
4
votes
4
answers
392
views
What technology to use with multiple embedded systems talking to each other?
I am planning on building a system with one master and multiple slaves using MSP430 microcontrollers. The microcontrollers must talk with each other with serial interface using RS-485. I now need to ...
0
votes
1
answer
54
views
CAN BUS Termination resistor sizing
I am using ISO1042 CAN Transceiver to establish communication between my board micro-controller with other board controller separated by 0.5m distance. I am using standard 120 ohm termination ...
1
vote
3
answers
133
views
GPIO controlled CAN bus termination technique
I have tried to design a circuit for controlling the CAN bus 120 Ohms termination resistance by using a 3.3V GPIO from a STM32 MCU.
In the SSR datasheet, it specifies that the LED voltage should ...
0
votes
1
answer
60
views
Connect sensor via CAN BUS to PC
I need to read and process on PC (preferable in Python) the incline data from the CAN BUS inclinometer. The .pdf file with data sheet and a little messy protocol description: https://fastupload.io/...
0
votes
1
answer
24
views
Is it possible to send CAN BUS information using FPD link?
I am using below serializer and de serializer in my design. The communication is happening via FPD LINK.
The block diagram is given below.
I have a CAN bus connected between the these two boards.
My ...
1
vote
1
answer
73
views
Use voltage of canbus wire to control relay
We want to energize a relay when there is data on the canbus wire. When there is no data, the voltage of the line is 0, and when there is data, the voltage is more than 2V. The following diagram ...
0
votes
3
answers
54
views
CAN bus HW testing (STM32MP157CAA)
I am trying to write a c/c++ application which will exercise the Tx and Rx pins of the can interfaces (can0 and can1) available in the STM32MP157CAA.
Approach One I wrote an application which opens a ...
0
votes
0
answers
32
views
Is is possible to create bxCAN communication between two devices with just CAN1?
I'm using two nucleo-l433rc-p boards, which only have the can1 peripheral. The only guides I find online use both CAN1 and CAN2 in their communication so I'm asking if it is even possible to do. If it ...
2
votes
1
answer
110
views
Two CAN transceivers on the same PCB
I have two CAN transceivers on the same PCB; they are connected to a Raspberry and a PIC32 MCU.
The PIC32 can receive and send any message, but the RPI can rarely receive messages from the ...
1
vote
1
answer
40
views
Is a CAN bus device necessary at the end of the terminated network line?
I am designing a CAN bus network with three devices near one end and one device at the other end about 8' away. As long as I retain the terminator at the far end, is a device at the far end required ...
0
votes
1
answer
98
views
Is Noise filter needed for CAN passthrough?
The structure is simply diagrammed as follow. My Board provides only routing connecting each connector for other ECUs using CAN channel.
My queistion is if i need additional CMCs on the routing. Are ...
2
votes
2
answers
253
views
Is Modbus suitable for motion control positioning?
I need to issue position setpoint commands to a servo drive 50 times/sec. The drive will be responsible for closing the PID loop, etc, while the motion controller I'm developing will handle generating ...
4
votes
1
answer
241
views
CANBUS corruption due to stuff errors/excessive dominant bits
I've seen an issue on a 14-node, 250k CANBUS (with a mixture of 11-bit and 29-bit nodes) where CAN frames are often corrupted by some incorrect bus activity. The screenshot explains it more clearly.
...
1
vote
0
answers
77
views
Effects of baud rate / bit timing for CANBUS
I'm seeking some advice about eye diagrams for analysing node behaviour on CAN for a prototype system.
I've been given this eye diagram, which is generated using Vector's .scope Canalyser tool and ...
1
vote
0
answers
64
views
Question on unshielded cabling for CANBUS physical layer
Normally, I'd advocate use of shielded twisted pair for CANBUS networks but there have been some questions recently about using unshielded cabling to achieve the same aim.
From what I can see there ...