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
0
answers
50
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
79
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
179
views
CAN BUS and CAN Protocols
The Deutsche 9 pin(gree,type2) connector in heavy-duty vehicles outputs the following protocols. Connector pin C,D is used for J1939@500kbps, pin F,G is used for J1939@250kbps and H,J is used for CANH&...
2
votes
1
answer
180
views
MCP2510 CAN controller: 16MHz Crystal not oscillating or oscillating at 150KHz
Issue:
I have a board which uses a MCP2510 CAN controller and ATMega 32U4. During testing I found I couldn't communicate with the CAN controller. After some probing I found the CAN controller clock ...
0
votes
1
answer
72
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
145
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 ...
1
vote
0
answers
87
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
0
answers
73
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 ...
2
votes
2
answers
6k
views
Is it possible to use J1939 and CANOpen on the same bus?
Please correct me if i'm wrong. The way I understand it, J1939 is based on CAN2.0b and uses 29 bit identifiers. CANOpen is based on CAN2.0a and uses 11 bit identifiers.
If for example, you have a ...
0
votes
1
answer
619
views
Help building a CANbus receiver and sender unit
I am an engineer in the marine industry and work as a commissioning engineer and need to build something that I can connect to each sensor for alarm testing. The sensor is a thermocouple that is hard ...
1
vote
1
answer
44
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 ...
5
votes
1
answer
2k
views
How do I set up both CAN modules on the PIC DSPIC33EP128GM604?
So I am in the midst of my first proper PIC project, and it has been interesting to say the least. The problem I'm having is setting up the CAN modules. The PIC I'm using has two ECAN modules. Using ...
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
45
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 ...
1
vote
1
answer
197
views
Change operational mode of CAN transceiver
I have two MCP2515 stand-alone CAN controllers with an SPI interface, two TJA1042 CAN transceivers, and two Arduino Uno boards. As you may know, TJA1042 has two operational modes:
sleep mode
normal ...