Hello, I am using CAN2 at stm32f429zı. But PİNS of CAN2 ı dont use. when ı use PB5/PB6 CAN2 is working why?
Hello kadir ustun ,
You would check the the pins assignment in the STM32F429 datasheet 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_TX signal.
Yes, I see but when I connect to PB12, CAN2 dont work. I dont connect to PB12 another alternatif.
if CAN2 will work, is connection of receive enough ?
PB12/PB13 are used by USB on the STM32F429I-DISCO board, if that's what you're using.
how can ı change this pin?
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
for CAN2, I need tu use PB13, but when I use PB13,Can2 is not working
Retrieving data ...