CAN Communication in Loopback mode with STM32F407
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-28 6:53 AM - last edited on ‎2024-05-28 1:33 PM by mƎALLEm
I want to implement CAN Communication in Loopback mode in which I have added Can interrupt mode . In Tx interrupt it will sent data after every 1000 m/s and data increment . In Rx interrupt it will read the sent data. I compiled the code and it will show me the value in live registers. But I am not able to see that in logic analyzer. Suggest me some ideas to help me out.
Solved! Go to Solution.
- Labels:
-
CAN
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-28 1:33 PM
Hello,
What config you have enabled?
This one:
or this one:
Or this one?
You need to select the second one and configure the correct GPIO pin.
And don't forget to enable the pull-up for Rx pin.
Otherwise you need to share your project for an efficient help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-28 11:51 AM
You haven't said which CAN controller and the port pin you're monitoring. Is the CAN transceiver in place and are you connected to other CAN nodes? If so, are you probing before or after the CAN transceiver? If it's after the Transceiver, is the RS pin pulled low?
TimerCallback tutorial! | UART and DMA Idle tutorial!
If you find my solution useful, please click the Accept as Solution so others see the solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-05-28 1:33 PM
Hello,
What config you have enabled?
This one:
or this one:
Or this one?
You need to select the second one and configure the correct GPIO pin.
And don't forget to enable the pull-up for Rx pin.
Otherwise you need to share your project for an efficient help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-27 10:28 PM
can pls post your source code here.
