All Questions
12
questions
2
votes
0
answers
202
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.
...
0
votes
0
answers
638
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".
...
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 ...
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
...
0
votes
1
answer
516
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. ...
1
vote
1
answer
736
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 ...
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 ...
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 ...
0
votes
1
answer
5k
views
STM32F7 CAN message stuck in mailbox and error frames on bus
Since I am rather new to using CAN I'm not sure what information that is relevant but I will try and describe the best I can.
I have a STMF746 that I want to use the CAN bus on. I have PD0(CAN1_Rx), ...
1
vote
1
answer
430
views
NAK in CAN when programming stm32f407vg uC
I am getting NAK error in CAN communication. Not really sure why, also frame itself is quite strange as in program I am sending different things. I have got two devices and therefore I monitor 4 ...
2
votes
1
answer
160
views
Scheduling the transmision of CAN frames in an RTOS
I'm planning to use my STM32 board to send CAN frames. I implemented a simple scheduler that contains 10 tasks; one task will be responsible for sending frames. To do the job I declared a structure ...
0
votes
1
answer
4k
views
CAN bus acknowledgment error
I am using an STM32F429 CAN bus program with TJA1041A as the CAN transceiver. The problem is that the messages are not getting acknowledged, and herewith I am attaching the code for further reference. ...