Skip to main content

All Questions

Tagged with
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: ...
AKASH SONKAMBLE's user avatar
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. ...
user15847's user avatar
  • 113
0 votes
2 answers
408 views

Problem interfacing SD card module and CAN bus MCP2515 module simultaneously on Arduino Uno

I am trying to log data received from a CAN bus to an SD card using an arduino Uno. Each module works perfectly on its own, but when joining both modules together the CAN bus receives data normally, ...
Mostafa Mahmoud's user avatar
1 vote
2 answers
5k views

CANBUS Masking and Filtering

I am using a module to convert CAN to UART. This module has 2 programmable masks and 6 programmable filters. There are 13 message IDs that come in over the CAN bus and I only want 9 of them. The IDs ...
Adam's user avatar
  • 95
0 votes
0 answers
633 views

Normal Mode of CAN Controller in STM32L476 Nucleo Board is Not Working

I am using STM32L476RG Nucleo board which contains only one CAN controller(bx_CAN1) and SN65HVD233 as a CAN Transceiver. I could able to test the CAN controller by using "LOOPBACK Mode". ...
Rahul Ramesh's user avatar
2 votes
1 answer
1k views

STM32 Unexpected Interrupt causes program to jump in infinite loop

Struggling with this issue for days now and can't find a solution. Maybe someone saw something like this before and can give me a hint. I have FreeRTOS running on an STM32L4 with different tasks. One ...
po.pe's user avatar
  • 2,566
0 votes
1 answer
138 views

Approach to prevent Replay and spoofing attack on CAN protocol

I want to make an authentication system between 2 buses. In order to achieve that I use counter to avoid replay and hash to avoid spoof. The message must be sent in two phases. Is there any proper way ...
Kylee Holcomb's user avatar
0 votes
1 answer
1k views

STM32F103 bxCAN not working

I'm trying to make use of the bxCAN of STM32F103C8 on a bluepill but it doesn't work and I don't know what is the problem.I'm using the hal API here is the main code in the while loop ...
Jwdsoft's user avatar
  • 155
0 votes
1 answer
510 views

CAN bus malfunction on STM32F3

I create applications for STM32 F303RE for communication with the instrument panel. I managed to connect everything but I have some problems. I'm not sure if it's due to bad code or good performance. ...
Daniel's user avatar
  • 31
1 vote
1 answer
727 views

NAK in CAN bus for STM32F3 uC

I have a problem with the NAK on the CAN bus. On STM32F303RE I wrote a code for communication via CAN bus with car dashboard (Instrument Panel Cluster). The communication works, I manage to receive ...
Daniel's user avatar
  • 31
1 vote
1 answer
93 views

Canbus over canberry with raspberry pi two messages together at the same time

Im using a canberry with raspberry pi. Is there any way possible to send two messages at the same time with same id and be received by the other raspberry without any particular chance of getting a ...
Kylee Holcomb's user avatar
2 votes
2 answers
3k views

Sending a double type value over CAN Bus

I need help to send a double value using a CAN Bus. I am working on a eletronic traction control and i need to send, by a CAN bus, the calculated values of speed of wheels. The problem start when the ...
BioByte's user avatar
  • 23
3 votes
3 answers
6k views

STM32 CAN bus receive interrupt is sometimes not fired, and CAN transmit sometimes times out

I have two STM32 boards connected via a CAN bus. They periodically transmit a message to each other. For some transmissions however, HAL_CAN_Transmit returns with ...
tyr.bentsen's user avatar
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
1 vote
0 answers
806 views

STM32F407VG DISCOVERY BOARD micro controller CAN messages

I am wondering if anyone is familiar with any STM32f407VG micro-controllers? If so, I am having some problems configuring a CAN driver. I can run the demo code, which is set to a loop-back mode, but ...
Naveenreddy's user avatar

15 30 50 per page