Associate
January 13, 2020
Solved
CAN-Bus Setup for NUCLEO-F042K6
- January 13, 2020
- 3 replies
- 8281 views
Hi,
I try to get the CAN BUS communication working on my NUCLEO-F042K6 dev Board. I Used the instrucions attached in the PDF.
First I used the Loop-Back Mode to test CAN communication. I have my transmitting messages in the main loop they only execute once and not in a 500ms interval as I intend. The receiving messages are all the time 0.
I tried to use the normal mode and attached a CAN-Transceiver (TJA1050 NXP)
but I can not receive or send any messages. Maybe I configured the clock wrong?
I attached the main.c file and a picture of my clock and CAN configuration.
Many thanks
Moritz