Skip to main content
Filter by
Sorted by
Tagged with
Best practices
0 votes
0 replies
17 views

I’m working with periodic RX CAN messages in an ASWC. I have several messages with a cycle time of 10 ms, some with 20 ms, and others with 1000 ms. I need to handle them using periodic runnables. ...
Аna Toda's user avatar
2 votes
1 answer
55 views

I have two ESP32S, each connected to a CAN driver (MCP2515 + TJA1050). One is constantly sending data, the other is constantly only receiving it. I want whoever receives the data to work in Listen-...
Губин Егор's user avatar
1 vote
0 answers
80 views

I have an ASP.NET Core web app that sends signal through can bus on Raspberry Pi. When I run the app throught dotnet run it runs flawlessly. I had to dockerize, and in order to have access to can bus ...
Kamil Chmielewski's user avatar
2 votes
0 answers
112 views

I’m working on a Raspberry Pi Pico and MCP2515 CAN bus setup using MicroPython. I’m simulating OBD-II vehicle speed responses (PID 0x0D). At a 100 ms request cycle from my USB-to-CAN adapter (Linux ...
vanitasu's user avatar
2 votes
2 answers
137 views

Using a setup with the Kvaser Leaf3, Nucleo-G01BRE board, and a CANopennode project compiled using the CubeMX IDE, successful CAN communications take place with both reading and writing the object ...
Christopher Theriault's user avatar
1 vote
1 answer
155 views

I am currently building functions that take packets of CAN data and parse them into structs depending on their ID as seen below. Is there a 'cleaner' way of parsing data into structs instead of ...
C Flux's user avatar
  • 11
0 votes
0 answers
149 views

I've been getting error 01-0025 "Measurement stopped due to recursive lock on environment/system variables update". I'm at a loss as to what could be causing this, as there is no recursion ...
user76400's user avatar
1 vote
2 answers
193 views

My main language is embedded C/C++, but I have a little background in structured text and worked with Codesys a while back in school. I am still figuring out what is possible and best practice in the ...
rina's user avatar
  • 35
0 votes
0 answers
225 views

We are working on a Vector based Hardware in loop project. In Vector CANoe,if I add a network node and assign an simulated node to it, CANoe transmits all the Tx messages of the node on the bus as per ...
Code_Kid's user avatar
1 vote
2 answers
150 views

I have a problem with CAN sending variable of type ulong from microcontroller Infineon C167CS (ST10F168). External microcontroller sends me remote request, and I send data generated by my ...
Ilmir Gogorev's user avatar
0 votes
1 answer
73 views

I came across an interesting solution that uses CANopen. The devices are mounted on a DIN rail, and the master is connected to several slaves via TBUS connectors. In this case, they should be arranged ...
Sergejs Derkačs's user avatar
0 votes
0 answers
103 views

I'm really new to Labview and XNET CAN vi. I'm trying to interface with a board through CAN bus and I have to configure and set some parameters. As hardware I'm using a CAN HS/FD Interface NI-XNET USB-...
Gipsy's user avatar
  • 81
0 votes
1 answer
125 views

I need a assistance for my Vector CAPL script below. I couldn't find a way to find out if a signal's value of a message that in my database (one bit) is 0 or 1. Here is the code: variables { message ...
John Williams's user avatar
0 votes
1 answer
86 views

I'm trying to send a message over a CAN bus with my F303 board, but I'm not getting anything. I have an oscilloscope hooked up to my CAN_Tx pin and I've been getting nothing no matter what I try. I ...
Scout Megyesi's user avatar
3 votes
1 answer
72 views

I am currently trying to implement CAN on an ESP32. Here is my code: #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/twai.h&...
Antonio Ristevski's user avatar
-1 votes
1 answer
170 views

I have created one Windows Forms form to send and read CAN messages of an ECU. When I created a function to clear all DTCs with the command 0x14 0xFF 0xFF 0xFF, the message response was 7F 14 78 (...
Shiroe's user avatar
  • 19
-3 votes
1 answer
49 views

I want to get infinite(loop) data from remote server with paramiko. first, I succeeded in connecting to remote. I can get data that is not looped in the system. (like a 'ls -a') but, when I command ...
JH KIM's user avatar
  • 1
0 votes
1 answer
48 views

In my Ubuntu22.04, I can not use bus0.recv API to acquire CANFD msg. at first, I set up two virtual CAN device named "CAN0" and "CAN1". In Terminal 'A',I run the Python program ...
叶问天's user avatar
0 votes
0 answers
239 views

How to read the Vector file format *.BLF using C#? I found that python-can can be used in Python, but I can't find any information regarding C# The XL Driver Library is also not there, or did I miss ...
Jeremy's user avatar
  • 13
2 votes
0 answers
88 views

I’m encountering some issues with the CAN BUS module on the PIC18F2580. I should probably mention that I’m new to working with CAN, so I may have overlooked something quite simple. Currently, I’m ...
Nik Name's user avatar
0 votes
0 answers
63 views

I was able to establish a connection between the ThingsBoard gateway and a CAN network adapter using CAN-Connector, allowing communication with a CAN device. I also created a widget to set up and test ...
HL Dev's user avatar
  • 11
1 vote
0 answers
76 views

I am working on an STM32 microcontroller project that involves CAN (Controller Area Network) communication and UART. My setup includes the following: CAN Configuration: The CAN peripheral is ...
Δήμητρα Γενναίου's user avatar
0 votes
0 answers
57 views

I am trying to use my STM32F429IGT6 CAN to receive some data from the host computer. The data is basically 4 16-bit unsigned integers (8 bytes in total), the message ID is 0x16 and uses the 11-bit ...
Chen Aki's user avatar
0 votes
0 answers
153 views

I want to be able to send a message on canbus one with 2 seconds between them have tried some python can examples with the same result can send and receive with python-can code now I don't know if I'm ...
Mikael Granberg's user avatar
0 votes
0 answers
39 views

I am learning the CAN communication based on register programming. For now, I dont have anything complicated on my mind, dont have any filters or queues set up for CAN packets, my goal is to start a ...
Vilius Žalėnas's user avatar
0 votes
0 answers
83 views

I am developing a project with STM32 using the STM32G473CET6 chip and working on a CAN bus system. In this project, the STM32 sends messages to the bus, processes the received messages, and responds ...
MKT12's user avatar
  • 1
0 votes
1 answer
173 views

Edit 1-29-25: My goal is to have access to the last N number of actions that happened. To do this, I imagine that I need to continuously log CANbus messages in the Linux environment in a buffer. Then, ...
Jefferson Hui's user avatar
0 votes
1 answer
155 views

I am interfacing the can_fd controller MCP2517FD with the STM32F4 (Cortex-M) using the SPI HAL library. using the controller driver :https://github.com/SDibla/Cortex-M4-MCP2517FD_Driver In blocking ...
ImBr's user avatar
  • 1
0 votes
0 answers
111 views

I am using an Arduino Uno with a SEEED CAN-bus shield and a 4x20 LCD with the Adafruit I2C backpack. I'm trying to make the Uno recieve several different messages via CAN, then display the data it ...
mysteryflavor133's user avatar
1 vote
1 answer
70 views

A little background, I want to receive CAN frames to Linux SOM, which does not have CAN peripheral, so I use stm32 which acts just like a bridge that sends CAN frames over UART to SoM. That part is ...
thePhisitian's user avatar
0 votes
0 answers
64 views

I am writing a library for CubeMars motors that use the CAN communication protocol. The library uses 2 threads: the main thread does almost everything, while the second thread is a listener that ...
Katarina's user avatar
-1 votes
1 answer
136 views

when will aging counter of the dtc will starts reducing, specifically based on Which bit of the status mask aging counter will depends. does it depends on the Bit0: Test failed or Bit1 test failed in ...
anu's user avatar
  • 35
0 votes
1 answer
121 views

I am new to AUTOSAR and COM stack. I am trying to write arxml file for application software component that will receive one CAN message asynchronously and do the decoding. ID is 0x500, DLC is 8 and ...
Аna Toda's user avatar
0 votes
1 answer
130 views

I have a robot that is moving when it received the CAN message. So, on the robot side I have only one Port for CAN message receiving but I am giving the CAN message from two difference controller, one ...
Budin's user avatar
  • 3
0 votes
0 answers
97 views

My ECU sends NM message default at startup. I need to control this behavior to send only on certain events. Is that possible? I'm using EB stack.
user1666555's user avatar
2 votes
1 answer
162 views

I have a question about the SDO function. From what I understand, we can only send messages of 8 bytes and in the case of an SDO where the data exceeds these 8 bytes, it will be stored in an array/...
Gabriel Nakach's user avatar
1 vote
1 answer
600 views

I'm working on CanOpen. I found and used the CanOpenNode open source software. However, the code seems to be running in slave mode. I couldn't switch it to master mode. When it works in this way, I ...
Yandas's user avatar
  • 11
0 votes
0 answers
51 views

# Use the official ROS 2 Humble base image FROM ros:humble-ros-base # Set up workspace WORKDIR /walle_dt # Install necessary dependencies, including net-tools, can-utils, and ping RUN apt-get update ...
Niko's user avatar
  • 11
0 votes
1 answer
638 views

The problem I am unable to get the HAL CAN filters to filter anything. I have FDCAN working perfectly on my STM32H723VGT6 uController. I would like to now implement CAN filters, but when I configure ...
Archon's user avatar
  • 646
1 vote
0 answers
149 views

I'm trying to establish CAN FD communication using the STM32U575 microcontroller, but I've encountered some difficulties. While I successfully set up loop-back mode using the HAL library, I keep ...
blacksoup's user avatar
0 votes
0 answers
174 views

I have developed a C# application that needs to listen for UDP multicast messages. The UDP multicast is being sent from a Linux virtual machine (VM) with the following network details: inet: 192.168.6....
Giovanni van de Sluis's user avatar
1 vote
1 answer
191 views

I'm currently working with CANFD and have to set up the filters in my STM32L552. I need to get four IDs (0, 20, 10, 100). Currently I only get the two IDs 0 and 20. FDCAN_FilterTypeDef myFDCanFilter;...
gnicki's user avatar
  • 83
0 votes
0 answers
76 views

I am designing test cases for an arxml database for CAN-FD bus. Some PDUs are defined with cycle time 0 and tx Method spontaneous. I am not sure what to expect here and cannot find any reference. Can ...
Daemon Painter's user avatar
1 vote
1 answer
405 views

I have some experience with CAN, but completely new to CANopen. I have instructions to send a TPDO to a specific COB-ID (0x0050). I have the index (0x4602) and sub-index (13) to send the data (16 bits)...
user avatar
-1 votes
1 answer
179 views

I'm working on a Raspberry Pi based device to communicate with cars via the OBD plug. I have a CAN bus hat (https://www.waveshare.com/wiki/2-CH_CAN_HAT) on a RPi 4. I can't seem to make the filters ...
phospho's user avatar
1 vote
0 answers
192 views

Let me preface this question with the statement that I am not, by any means, an expert in embedded systems engineering but a humble student trying to learn on the fly for a project that will ...
Leigh Smith's user avatar
0 votes
1 answer
116 views

I need to control CANoe with Python using win32com and change Physical Requests to Functional Group Request. This can also be seen in Diagnostics/ISO TP Configuration under CAN Networks under ...
davidandsch's user avatar
1 vote
0 answers
99 views

I am a tester, working in one OEM project which require (direct) OSEK NM. we bought OSEK stack and also NetworkTestSuite but it report failed in some cases; interrupt LimpHome. We found some conflict ...
T.T.'s user avatar
  • 48
-1 votes
1 answer
985 views

I am new to CAPL and Canoe, my question is when assign value to signal in CAN message should you assign using physical signal like this: MSG.Signal_A = raw_data * scale + offset; Or just assign the ...
Dung Nguyen's user avatar
0 votes
0 answers
337 views

I am trying CAN communication using Debix i.MX8 SBC with Android 11 installed. Am running a flutter app in which I need to run CAN(Controller Area Network) commands using adb shell. Commands I need to ...
SPP's user avatar
  • 21

1
2 3 4 5
25