Skip to main content
kadir ustun1
Associate III
March 29, 2018
Question

STM32F429 CAN2 Receive

  • March 29, 2018
  • 1 reply
  • 606 views
Posted on March 29, 2018 at 12:41

Hello, I have a problem. when I use CAN1, I can receive data, but when ı use CAN2, I can not receive. why ?

    This topic has been closed for replies.

    1 reply

    Szymon PANECKI
    Senior III
    March 29, 2018
    Posted on March 29, 2018 at 12:52

    Hello Kadir,

    Two ideas come to my mind.

    One reason of your issue could be wrong confuguration of CAN filtering. Please refer to

    https://community.st.com/0D50X00009XkWoMSAV

    , which describes similar problem.

    Second reason is related to relationship between CAN1 and CAN2. They share some common resources, which are managed by CAN1 always. As a result in order to use CAN2, at least clock for CAN1 has to be enabled. Please make sure that your code calls a function for CAN1 clock enabling.

    Regards

    Szymon

    kadir ustun1
    Associate III
    March 29, 2018
    Posted on March 29, 2018 at 13:13

    thank you for explain. at project, ı use CAN2 only.