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
1
vote
1
answer
157
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
76
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
80
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
125
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
60
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
216
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
289
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
136
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
21
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
392
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
331
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
91
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 ...