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
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 ...