CAN on STM32F756xx
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-10 7:12 AM
Posted on December 10, 2015 at 16:12
Hello,
I try to send CAN frame from CAN1 to CAN2 on STM32F756xx. CAN1 works in a master mode and CAN2 in a slave mode.I can transmit frames from CAN1 as well as from CAN2 but I can't receive any messages.Also when I transmitted frames from PC using CAN analyzer I couldn't receive it on my uC.I'm using HAL drivers. Configuration should be fine, because I can transmit frames from CAN1 and CAN2.Do you have any working example or suggestion what should I do?Thanks in advance,Regards,Robert
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-10 8:40 AM
Posted on December 10, 2015 at 17:40
Hi serafiniak.robert,
You have the example STM32Cube_FW_F7_V1.2.0\Projects\STM32756G_EVAL\Examples\CAN\CAN_Networking where CAN1 is used. In this example, CAN1 is configured to send and receive CAN frames in normal mode. -Mayla-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.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-10 10:14 AM
Posted on December 10, 2015 at 19:14
Have you checked the RX filters? Messages are ignored if they don't match a filter.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2015-12-10 11:29 PM
Posted on December 11, 2015 at 08:29
I had bad CAN2 filter configuration
