Skip to main content
Explorer
April 17, 2024
Solved

CAN2 in STM32F429I-DISC1

  • April 17, 2024
  • 1 reply
  • 1442 views

Hi guys,

             I was trying to implement CAN in STM32F429I-DISC1. In that board when using PB5 and PB6 for CAN2  it is working but when using CAN2 with PB12 and PB13 it is not working and it shows bit dominant error. if any of you faced this error, help me to rectify it.

    This topic has been closed for replies.
    Best answer by mƎALLEm

    Hello,

    That's normal. See schematics of the board.

    SofLit_0-1713349780045.png

    PB5/PB6 are free while PB12 and PB13 are connected to USB pin functions.

    SofLit_0-1713350081119.png

    You can remove R67 to disconnect OTG_FS_ID but unfortunately you can't disconnect VBUS_FS.

    So you need to use PB5/PB6.

    1 reply

    mƎALLEmAnswer
    Technical Moderator
    April 17, 2024

    Hello,

    That's normal. See schematics of the board.

    SofLit_0-1713349780045.png

    PB5/PB6 are free while PB12 and PB13 are connected to USB pin functions.

    SofLit_0-1713350081119.png

    You can remove R67 to disconnect OTG_FS_ID but unfortunately you can't disconnect VBUS_FS.

    So you need to use PB5/PB6.

    gokul2507Author
    Explorer
    April 17, 2024

    Thanks for your reply.

    Is there any way to particularly use that two specific pins(PB12 and PB13) for CAN communication?

    Technical Moderator
    April 17, 2024

    Not possible. Except if you remove R67, U8 IC and maybe also R65. If you don't have the necessary a good desoldering tools it could be a tough task.