cancel
Showing results for 
Search instead for 
Did you mean: 

CAN2 in STM32F429I-DISC1

gokul2507
Associate

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.

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
SofLit
ST Employee

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 on "Accept as Solution" on the reply which solved your issue or answered your question.

Thanks for your reply.

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

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 on "Accept as Solution" on the reply which solved your issue or answered your question.