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.
163
questions with no upvoted or accepted answers
4
votes
0
answers
149
views
Is there an antenna problem with CAN Bus selectable split termination header pin?
I am trying to implement a jumper-selectable CAN Bus termination with a SPLIT configuration, as shown in this Analog Devices example:
https://www.analog.com/media/en/technical-documentation/user-...
4
votes
0
answers
188
views
Compatibility and Interoperability Between CAN Standards
I'm intended to design a CAN system for a automotive scan tool. So, I need to comprise the main CAN standars used nowadays. Searching on the web I found the following options:
ISO 11519-2:1994 – Low-...
3
votes
0
answers
401
views
Can RS-232 DB-9-compatible cable be used as a physical medium between two CAN bus DB-9 ports?
Note: I am not talking about connecting an RS-232 device to a CAN bus!
I am strictly interested in reusing a RS-232 cable with two DB-9 connectors (one male and one female) to connect two CAN devices, ...
3
votes
0
answers
648
views
Home automation using CAN bus
I am planning to make a prototype for wired home automation devices, and I am thinking of using CAN bus for communication between nodes and Gateway.
The way I am planning to build it, there is one ...
2
votes
0
answers
143
views
Can I (mis-)use a CAN bus line for phantom power?
I just looked at the datasheet of the TJA1050 CAN transceiver and noticed that both CANL and CANH tolerate -27 to +40 V.
Standards aside, does that mean I could pull the entire CAN bus to e.g. 12V to ...
2
votes
0
answers
204
views
CAN Bus - Getting EOF on 6th bit of EOF
I'm debugging my robot with a CAN bus for communication between the main controller unit and all motor controllers.
Recently I'm getting several cases where I'm getting an error frame at the 6th bit ...
2
votes
0
answers
143
views
Sinusoidal voltage on CAN bus signal wires when powered from 3 phase switching power supply
I am using CAN bus to communicate between this BLDC motor with a built in driver and a real-time control computer which uses a galvanically isolated Microchip MCP2561FDE/SN CAN transceiver. ...
2
votes
0
answers
201
views
STM32F107 CAN software driver does not work
I am using ST drivers to use CAN bus on an STM22F107 according to the code below. It does not work. The code is as below and is available here.
...
2
votes
0
answers
161
views
Best approach to program a PLC using dbc file? (CAN communication)
I'm pretty new using CAN Communication but I need to program a Phoenix Contact PLC in Structured Text. The PLC should communicate with a motor that uses CANOpen protocol. The only resource I have is ...
2
votes
0
answers
200
views
Using CAN bus on a NucleoH743 with Mbed
CAN bus is not working on my project. We are using a Nucleoh743 (STM32h743) programming it with mbed (Mbed OS 6.13)
I have made sure the bus is properly made, with the correct termination resistors, ...
2
votes
0
answers
166
views
Is shorting two power rails with a capacitor like this OK?
I am using this CAN transceiver which runs on 5 V but, if you provide it with the microcontroller voltage on its VIO pin, then it will automatically apply voltage level correction for the micro.
The ...
2
votes
0
answers
136
views
Configuring UART pins on Beaglebone Black for CAN Interface
I have been using a CAN/RS485 Cape for prototyping CAN control of a motor. I am now in the process of bringing up some custom hardware. I have a CAN Transceiver SN65HVD230D on this custom cape that is ...
2
votes
0
answers
262
views
CAN Frame Malforming on Oscilloscope
I have a working 500kbps CAN bus between an Arduino Uno and a RaspberryPi. Both are connected to MCP2515/TJA1050 boards from Amazon and communicating over SPI. The RaspberryPi dumps the CAN data via ...
2
votes
0
answers
2k
views
MCP2551 with STM32 MCU
im learning about the CAN protocol, and bought the transceiver module MCP2551 like this:
I made the driver for CAN controller first in loopback mode for debug, im sending the numbers 1,2,3 and 4 with ...
2
votes
0
answers
287
views
CAN bus traffic is destroyed for unknown reason
I am a bit stuck with connecting several STM32F405 with BeagleBone black via CAN bus.
Strange things happen when I connect 3 stm32 and 1 BB. I have checked that BB works perfectly with any ...