2023-10-12 08:38 AM - edited 2023-10-12 08:39 AM
Hello STM32 community,
I hope this message finds you well. I'm currently working on a project where I need to receive data from a Busmaster connected Peak device using a STM32F103C8T6 microcontroller via the CAN interface. I'm relatively new to CAN communication, and I'm looking for some assistance or example code that could help me get started. If any of you have experience with this and can share some code snippets or guidance, I would greatly appreciate it. Your expertise and support would go a long way in helping me complete this task successfully. Thank you in advance for your help!
2023-10-18 01:19 AM
Hello @AKZORO and welcome to the Community :),
You can start by an available CAN_Networking example in STM32CubeF1.
This example explains how to configure the CAN peripheral to send and receive CAN frames in normal mode.
Hope this helps you!
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-10-18 02:25 AM - edited 2023-10-18 02:29 AM
2023-10-18 03:52 AM - edited 2023-10-18 04:02 AM
Hello @AKZORO ,
Could you please check your code, make sure that the CAN module is started and the interrupts are enabled before receiving data.
Please let me know if the issue is solved or not.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.