cancel
Showing results for 
Search instead for 
Did you mean: 

CAN on STM32F756xx

robert239955_stm1_st
Associate II
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
Amel NASRI
ST Employee
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.

jpeacock
Associate III
Posted on December 10, 2015 at 19:14

Have you checked the RX filters?  Messages are ignored if they don't match a filter.

robert239955_stm1_st
Associate II
Posted on December 11, 2015 at 08:29

I had bad CAN2 filter configuration