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
0
votes
1
answer
60
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
140
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
75
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
56
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
33
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
112
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
41
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
100
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
256
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
253
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
78
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 ...
1
vote
1
answer
160
views
CAN bus with 3 nodes problem
I am testing a CAN bus network with 3 nodes. What I mean by node is a esp32 which has a CAN controller and a tja1051 transceiver module. There seems to be no problem when here are just two nodes but ...
2
votes
1
answer
78
views
How does the CAN bus handle remote frame conflicts?
The right to send specific data frames on the CAN bus belongs uniquely to one node, but remote frames don't seem to have this limitation, so it seems that a bus conflict occurs when more than one node ...
0
votes
1
answer
83
views
STM32 HAL_CAN_ERROR_PARAM;
I want to connect two stm32 via CAN but I have the following problem,
I have this configuration
and this code:
but i have this error, HAL_CAN_ERROR_PARAM:
I can't see any signals on my oscilloscope....
0
votes
1
answer
126
views
STM32 Can bus random data
I am using an STM32 to transmit data over CAN using CAN2. Currently, my code is only setting up the can peripheral and sending periodic messages.
My messages usually look like this on the receiving ...
0
votes
0
answers
64
views
CAN protocol how to make use of candump utility
Can anyone help me out how to use -r parameter in the candump utility?
-r (set socket receive buffer to size)
Wanted to verify: Configurable receive buffer feature.
I verified the above as follows:
...
0
votes
0
answers
37
views
Hardware, architecture needed to be able to send bit-level messages on a CAN bus
I have a can bus with nodes and I need to be able to send low-level messages on this network, i.e. messages defined by ones and zeros and I also need such fine grained control so as to be able to ...
0
votes
2
answers
230
views
Is it a bad idea to use CAN-Bus to control robot wheels?
I am working as a student on a 6 wheel robot project and have problems deciding what communication protocol to use for controlling the locomotion system.
The idea is to use a Master Controller in a ...
0
votes
2
answers
305
views
Reading different CAN bus protocols with one interface
We have a system with multiple CAN bus protocols. All are running at 250 kbit/s. These are NMEA 2000, J1939, and CANopen. These systems do not have to communicate with each other, but I would like to ...
0
votes
1
answer
92
views
PCB of a CAN bus hub?
I am thinking of making a CAN "hub" PCB. The PCB will look like exactly like how can buses are depicted in diagrams and there will be connectors for each of the nodes (ESP32s with a ...
1
vote
0
answers
139
views
Sharing CAN bus to two microcontrollers without increasing bus load
I have 2 MCUs in one PCB that I want to communicate via CAN to other devices far away.
Instead of adding two CAN transceivers and becoming two node loads to the network, I thought to combine the two ...
0
votes
0
answers
22
views
Changing grounds during start up
We have a system with a CANBUS controlled Battery Management System (BMS) and a PCB with microcontroller. The BMS provides 12V and an isolated CAN ground at all times, but naturally only supplies main ...
1
vote
0
answers
420
views
Orange Pi 5 CAN-bus issues
The bus-topology is like this. The CAN-bus has termination resistor at the inverter and in the Waveshare USB/CAN dongle.
...
1
vote
1
answer
343
views
Can Bus issue: 60 ohms without ignition, 165 ohms with ignition on [closed]
I've been having gearbox issues for weeks, seeming to be getting worse. Error was p0753 (gearbox solenoid A electrical) and general can bus timeouts.
Now the car will not crank, because the PATS (...
0
votes
1
answer
92
views
Do I need to connect a resistor at the output of an isolated DC-DC converter module?
I am using D050505S-1WR3 in my design for powering an isolated CAN transceiver. The can transceiver is the ISO1042BDWV from TI.
Below is the schematic of the power supply and CAN transceiver.
During ...
1
vote
1
answer
44
views
EMC and Control Area Networks [closed]
With radiated EMI tests, do we need to take into account the communication cabling and its influence on EMI?
I can't seem to find one standard that describes how CAN busses should be configured in EMI ...
1
vote
0
answers
83
views
How can I use normal CAN with CAN FD?
I'm working with i.MX6ULL not supporting CAN FD but other CAN nodes supports. How can I use normal CAN on this bus without making any hardware changes?
I need to fix CAN to CAN FD communication ...