Skip to main content
Associate
April 17, 2024
Solved

CAN2 in STM32F429I-DISC1

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.
mƎALLEm
mƎALLEmBest answer
ST 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.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.

3 replies

mƎALLEm
mƎALLEmBest answer
ST 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.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
gokul2507Author
Associate
April 17, 2024

Thanks for your reply.

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

mƎALLEm
ST 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.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.