cancel
Showing results for 
Search instead for 
Did you mean: 

CAN2_RX TX PB12/PB13

kadir ustun1
Senior
Posted on March 30, 2018 at 11:18

Hello, I am using CAN2 at stm32f429zı. But PİNS of CAN2 ı dont use. when ı use PB5/PB6 CAN2 is working why?

7 REPLIES 7
Imen.D
ST Employee
Posted on March 30, 2018 at 13:03

Hello

_st_n.kadir

,

You would check the the pins assignment in theSTM32F429datasheet relevant to your device

The specific alternate function assignments for each pin are detailed in the datasheet, Table 10 STM32F427xx and STM32F429xx pin and ball definitions:

PB5 and PB12 are used for the

CAN2_RX

signal.

PB6 and PB13 are used for the CAN2_TXsignal.

0690X0000060AKeQAM.png

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on March 30, 2018 at 13:18

Yes, I see but when I connect to PB12, CAN2 dont work. I dont connect to PB12 another alternatif. 

Posted on March 30, 2018 at 13:53

if CAN2 will work, is connection of receive enough ?

Posted on March 30, 2018 at 14:07

for CAN2, I need tu use PB13, but when I use PB13,Can2 is not working

Posted on March 30, 2018 at 14:07

PB12/PB13 are used by USB on the STM32F429I-DISCO board, if that's what you're using.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on March 30, 2018 at 14:32

how can ı change this pin?

Posted on March 30, 2018 at 16:52

You'd review the schematic and make a determination if you can resolve that conflict.

I've long indicated that the STM32F429I-DISCO is a poor choice if you wish to expand functionality beyond that delivered on the board. The chip is pin constrained, and the SDRAM/LCD eat a lot of pins, precluding the easy use of ETHERNET, SDIO, etc.

If you need a breakout board type design, look at the NUCLEO-F429ZI

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..