All Questions
21
questions
1
vote
1
answer
75
views
Why CAN controller is causing fault codes
We have been working on a PCB project that has an atMega1281 AVR, MCP2515 CAN controller and MCP2551 Transceiver. We have the boards engineered and and the code is complete on the AVR. During testing, ...
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. ...
2
votes
2
answers
898
views
Best method to transfer two int percentage values over a CAN bus
I have two integers:
int A is a value from -100 until 0 and
int B is a value from 0 to 100
What is the most effective way to put this into a CAN message and decode it again at the other ...