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.

5 votes
1 answer
5k views

Running a CAN sample project on LPCXpresso LPC11C24

The LPC11C24 has a on-chip CAN transceiver and a section of ROM with CAN driver software. I am trying to run the can_onchip sample project on the LPCXpresso board. ...
Erik's user avatar
  • 511
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 ...
MAM's user avatar
  • 1,831
5 votes
1 answer
282 views

Developer/application board with a CAN/SD card

We have to develop a data logger. I should get some data over CAN (1 MBit/s), compress this data and save it to an SD card. To save time, we would prefer to use as much existing hardware and ...
Fabian's user avatar
  • 153
5 votes
2 answers
4k views

Is there hardware compatibility between CAN 2.0 High Speed, Low Speed and CAN-FD?

I am studying CAN interface hardware for the design of an automotive scanner. So far, I have identified the following types of CAN: CAN 2.0 High-Speed: bit rate up to 1Mbps CAN 2.0 Low Speed: bit ...
Daniel's user avatar
  • 917
5 votes
1 answer
4k views

Firmware design for OBD2 - available PIDs request to ECU

According to many documentations, we can request a vehicle ECU to respond with the PIDs it supports. Link.My question is in the end. I have designed an OBD2 scanner using STM32 and CAN. And it works ...
clamentjohn's user avatar
5 votes
3 answers
6k views

Can I remap a car\bike ECU using CAN bus?

I am thinking to use something like this to connect an Arduino to a motorbike engine control unit (ECU): Arduino CAN-Bus Shield with uSD Card Holder. I never did something like this; using CAN bus, ...
AndreaNobili's user avatar
5 votes
1 answer
455 views

Is this bit stuffing correct on CAN Bus?

I'm implementing a CAN Bus receiver in VHDL under 250 kbit/s, and a curious frame turned up. This is finishing the field of CRC, the last under the application of bit stuffing. And I have: ......
ferdepe's user avatar
  • 565
5 votes
1 answer
2k views

Basic CAN-BUS circuit - what does this section do?

I'm currently learning how to make a circuit for CAN-BUS communication and came across the schematics of the Sparkfun CAN-BUS shield for Arduino (can be found here). I'm a little puzzled by this ...
I have no idea what I'm doing's user avatar
5 votes
1 answer
3k views

CAN bus bit timing with 16 MHz crystal

I'm trying to receive CAN messages from a radar, whose specification define the following data for bit timing: ...
Daniel's user avatar
  • 51
4 votes
6 answers
2k views

How to deal with signed int overflows

Brief background first; I have data from CAN bus of a steering angle which is obviously in hex. The steering angle covers two bytes of a message. The specification document I have says that those two ...
Shibalicious's user avatar
4 votes
4 answers
2k views

Hardware solution to guarantee read-only access on a CAN bus

For cybersecurity reasons, I want to make sure a device connected to my CAN bus is read-only. What's the state-of-the-art way of doing this? My naive plan was to simply use two diodes.
gbt's user avatar
  • 713
4 votes
4 answers
399 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
4 votes
3 answers
2k views

CAN bus termination in a fully modular design

I am trying to make a fully modular festo cube design that is controlled with a CAN bus, but I am trying to figure out where to terminate the bus. I am even not really sure if what I am trying to do ...
Edwin Pap's user avatar
4 votes
3 answers
4k views

Stand alone CAN bus module or STM32 embedded CAN?

I have spent days studying and trying to achieve simple communications with CAN bus from scratch using stm32f1, but I still have not achieved the desired results and it is difficult to understand and ...
Ricardo Casimiro's user avatar
4 votes
4 answers
8k views

CAN communication not working

I made the following circuit. STM32's are STM32F103C8T6 (Blue Pills). I left out the obvious wires: All four components grounded together Supplied 5V to RX TJA 1050 from RX STM32 Supplied 5V to TX ...
Michel Keijzers's user avatar

15 30 50 per page
1
3 4
5
6 7
56