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
0
votes
0
answers
21
views
Datalogger - Multiple CAN Bus
I have around 15 CAN Bus Interfaces (not connected to each other) sending data on the bus abd I want to read all the data and forward to a PC (via USB or Ethernet).
I have looked into MCP2515. I will ...
-1
votes
0
answers
35
views
Make CAN-bus connection as netif interface (LWIP) [closed]
I want make network connection between 2 STM32F407 by CAN-bus protocol (without use physical Ethernet RMII/MII). Could you help me how can i do this? I think I have make CAN connection as netif (...
0
votes
1
answer
34
views
5V CAN transceiver (TJA1040) with a 3.3V uController (ESP32)
I'm designing a CAN node using an ESP32, which works on 3.3V. The only transceiver I can find where I live at a reasonable cost is the TJA1040. The datasheet says it works both on 5V and 3.3V. I am ...
1
vote
1
answer
100
views
Request for Review: First PCB Design - Feedback on Potential Issues or Missing Elements
I have recently designed my first PCB and I am seeking feedback on it to ensure there are no errors or missing elements. I have attached the schematic of my design. The PCB includes various components ...
2
votes
1
answer
70
views
Swapping CANH and CANL kills my power converter
I got the first set of these CAN boards I designed and I plugged one into my test setup consisting of a two CAN dev boards as seen below. The first time I plugged my board in I didn't realize I had ...
0
votes
0
answers
28
views
CAN Transmission not going through
I have a CAN bus set up, my two nodes are the STM32-F429ZIT dev board and a raspberry pi with RS485 CAN hat. I am trying to transmit from the STM32 to the raspberry pi. When I try to run this code, ...
1
vote
1
answer
38
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 ...
0
votes
0
answers
49
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 ...
0
votes
1
answer
75
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 ...
0
votes
1
answer
68
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 ...
3
votes
1
answer
138
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 ...
0
votes
0
answers
70
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 ...
1
vote
0
answers
86
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 ...
0
votes
3
answers
122
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 ...
1
vote
1
answer
43
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 ...
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 ...
1
vote
0
answers
42
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 ...
0
votes
2
answers
69
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 ...
0
votes
2
answers
125
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 ...
0
votes
0
answers
13
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:
...
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. ...
0
votes
0
answers
40
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 ...
1
vote
0
answers
80
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 ...
0
votes
2
answers
77
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 ...
0
votes
1
answer
56
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 ...
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 ...
0
votes
1
answer
61
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 ...
1
vote
0
answers
285
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 ...
1
vote
2
answers
52
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 ...
0
votes
2
answers
102
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 ...