Skip to main content

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.

Filter by
Sorted by
Tagged with
0 votes
1 answer
19 views

I am currently running a part of a series parallel 12v led strip current 200mA from 12v adaptor can I add 3 led single bulbs in parallel?

I made an infinity mirror and it has a 2 ft part of an LED strip which is UV light it is a series parallel strip that draws 12 volts. I have it powered by a 110vac to 12 volts DC 700 milliamp adapter....
Mike's user avatar
  • 1
0 votes
0 answers
19 views

CANOpen protocol EMCY error code

currently I am using emotas CANopen stack. i was able to received the heartbeat properly but suddenly the cyclic time got change from 1 sec to 200ms without any change in the code. with that i hae ...
sagar warungase's user avatar
1 vote
1 answer
32 views

Hot pluggable CAN collections of devices

I'm trying to create a network of hot pluggable collections of iot devices into a bus (Containing Device 'A') that will always be present. There could be up to 50 collections with each collection ...
iBax's user avatar
  • 11
0 votes
0 answers
43 views

How do I convert an I2S/TDM signal to a CAN signal

I'm getting output from the Analog Devices ADXL317 and I want to convert the output signal to a CAN signal. I don't think many CAN transceivers can take input from the I2S bus, so I need to find ...
Skop's user avatar
  • 1
0 votes
1 answer
68 views

How may I manually construct CAN message for CANopen?

I understand CANopen uses CAN, the difference is usage and message type. I have basic CAN capable device and I want to control industrial motor controller, which uses CANopen. I have its EDS file, but ...
Ri Di's user avatar
  • 1,039
0 votes
1 answer
62 views

CAN BUS Chassis Grounding

Hoping to get get some guidance on correct grounding for a CAN Bus I have designed. The following diagram gives a high level overview of the system connectivity: Some notes on the setup: There are a ...
gid204's user avatar
  • 1
3 votes
1 answer
122 views

UART communications using CAN bus differential signalling

I need to interface with a device that talks UART, but with CAN bus signalling. Here's a picture where a tester (which I want to replicate) talked to that device: While RS485 seems similar, the ...
DrMickeyLauer's user avatar
0 votes
0 answers
69 views

How does CAN transceivers output CANH=3.5V and CANL=1.5V? [duplicate]

This is a questions that has been asked but did not find a clear answer. How it is the 3.5V achieved on CAN_H? Assuming there is 0.5V voltage drop on the internal diode, 0.1V on the internal MOSFET ...
Florin Adrian's user avatar
1 vote
0 answers
83 views

CAN bus accidentally swapped TX and RX is it possible to solve (in firmware) without board rework

I am interfacing an isolated can transceiver with my microcontroller. My schematic is given below. Accidently TXD is connected to RXD of microcontroller and RXD is connected to TXD of the ...
Confused's user avatar
  • 2,473
0 votes
3 answers
120 views

Add or remove 120 Ohm from the CAN circuit using Microcontroller

I want to design hardware circuit using microcontroller for CAN communication. One suggestion i require is i want to add 120 Ohm or remove it based on software configuration. I want to close the ...
rajesh's user avatar
  • 437
1 vote
1 answer
42 views

Adafruit Feather M4 CAN Express overvoltage protection

I would like to read CAN signals from my car over the OBD-II connector. My question is, whether I need to implement any kind of (overvoltage) protection, so the Adafruit won't get harmed (and vica ...
Zsolt's user avatar
  • 11
1 vote
0 answers
35 views

No connection between the steering wheel and the AgOpen controller with CAN

I'm developing the AgOpen navigation system for a tractor and I'm having trouble connecting the controller to the Keya steering wheel via CAN bus. Everything was working fine at home on the desk, but ...
Karol Szymczak's user avatar
1 vote
0 answers
36 views

STM32G4 brings down CAN network when exposed to electrical noise

I have a CAN 2.0 network (classic can) running at 500 kb/s. I have multiple STM32F4 nodes running the stm32 HAL CAN driver with no issues. I have another node running a STM32G4 with a FDCAN driver ...
Jack1221's user avatar
0 votes
2 answers
60 views

CAN Protocol traced routed with 90 ohm characteristic impedance

I am using ISO1042BDWV in my board. The schematic is given below. I know that the characteristic impedance of the CAN bus is 120 ohm. The layout team routed CANH and CANL as 90 Ω differential. The CAN ...
Confused's user avatar
  • 2,473
0 votes
2 answers
104 views

Powering LED from a CAN bus signal

I am looking for a can it be done and, if someone is willing, a how to. I am building an OBD2 breakout box for easily scoping automotive computer data lines and want to add LEDs as a quick visual of ...
ToreanPW's user avatar
0 votes
0 answers
12 views

AT32F403AVGT7 how to set CAN baud rate for this controller

I am using AT32F403AVGT7 controller but I am not getting any CAN response due to incorrect baud rate. Does anyone know how to set baud rate for this controller? I will share my code below: ...
AKASH SONKAMBLE's user avatar
0 votes
1 answer
51 views

What can cause these CAN signal distortions?

I occasionally observe signal distortions on CAN H, CAN L, and so also the differential signal. It is causing the microcontroller (dsPIC33) to report so-called Invalid Message Receive (IVR) errors. ...
RoboTK's user avatar
  • 1
0 votes
0 answers
35 views

Logging CAN bus load over time

I have used CANKing, which displays the bus load in real-time. However, I would like to do some long-term monitoring to see what the load looks like over time. This site claims to have free software ...
jon's user avatar
  • 121
1 vote
0 answers
78 views

Debugging CAN bus

My Ford S-Max 2014 seems to have issues with the CAN bus, and refuses to start. When hooked up to Fords own diagnostic tools, it complains that the engine ECU doesn't reply. The ECU gets power, and ...
Eli Kaufman's user avatar
0 votes
2 answers
69 views

RS485 to CAN converter

I want to design where a RS485 Device Sensor reads inputs and the information it reads and sends is converted to CAN (Arduino UNO R4 Minima with CAN built in, or ESP32 with CAN built in) Is this ...
StickmanSpiff's user avatar
0 votes
1 answer
54 views

Is there any way to get a smaller SPI clock speed specifically to only one SPI slave?

I have 3 modules connected by SPI through an ATMEGA328P MCU as shown in the circuit and I have some doubts over the clock speed of the bus. I have a 8Mhz clock on the MCU which I am assuming sets the ...
zoghii's user avatar
  • 153
0 votes
1 answer
24 views

I am using Halcogen to generate LLD for TMS570LS0914. But it seems like there are only 64 Message Objects for each CAN channel

I am using Halcogen to generate LLD for TMS570LS0914. But it seems like there are only 64 Message Objects for each CAN channel. Q1. How to transmit/receive more than 64 CAN messages on single CAN ...
khushal's user avatar
  • 11
0 votes
1 answer
56 views

Resolving CAN Communication Issue: Decoding and Fixing 'BUSPASSIVE BUSWARNING'

I set up a communication system (J1939) using two MCP2515 modules connected to two Arduino UNO boards. Then, I added a PCAN USB interface to monitor messages using PCAN View Software. Everything was ...
Rupesh Verma's user avatar
1 vote
0 answers
268 views

Is a 100MHz oscilloscope good enough for SPI, UART, I2C and CAN?

I am having trouble with microcontrollers (STM32s mainly) on custom PCBs. I want to get an oscilloscope to help me solve these issues. Naturally budget is small so I want to know is if a 100 MHz ...
Calvin Alberts's user avatar
1 vote
2 answers
51 views

Is external ESD protection needed with the MAX3051?

I'm currently doing my first Project using custom PCBs. It's a CAN based system to control things around my house (lights, blinds, sound, etc.). I'm planning to use multiple STM32F103C6 (in Form of a ...
P Z's user avatar
  • 11
0 votes
2 answers
86 views

CANbus wiring architecture

I'm building a multi device using canbus for communication and have a few questions. The image below illustrates my setup with multiple canbus wiring possibilities for devices. The big pcb called MAIN ...
Luis Carlos's user avatar
4 votes
4 answers
376 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 ...
vawp's user avatar
  • 45
0 votes
1 answer
45 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 ...
Embedded Enthusiast's user avatar
1 vote
3 answers
124 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 ...
eidetech's user avatar
0 votes
1 answer
57 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/...
dany's user avatar
  • 101
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 ...
Confused's user avatar
  • 2,473
1 vote
1 answer
65 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 ...
WX369's user avatar
  • 13
0 votes
3 answers
53 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 ...
thecdoctor's user avatar
0 votes
0 answers
31 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 ...
Mr4's user avatar
  • 1
2 votes
1 answer
104 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 ...
helloiamzoltanfarkas's user avatar
1 vote
1 answer
39 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 ...
PhixItPhil's user avatar
0 votes
1 answer
95 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 ...
min_c's user avatar
  • 1
2 votes
2 answers
249 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 ...
19172281's user avatar
  • 743
4 votes
1 answer
207 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. ...
komandirskie's user avatar
1 vote
0 answers
68 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 ...
komandirskie's user avatar
1 vote
0 answers
57 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 ...
komandirskie's user avatar
1 vote
1 answer
147 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 ...
cr1tical1's user avatar
2 votes
1 answer
69 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 ...
ll cool's user avatar
  • 21
0 votes
1 answer
79 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....
Sebastián López's user avatar
0 votes
1 answer
119 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 ...
Daniel D.'s user avatar
0 votes
0 answers
56 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: ...
Sukanya U's user avatar
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 ...
jgklsdjfgkldsfaSDF's user avatar
0 votes
2 answers
190 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 ...
curious_engineer's user avatar
0 votes
2 answers
263 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 ...
Arne123456's user avatar
0 votes
1 answer
88 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 ...
cr1tical1's user avatar

1
2 3 4 5
17