which stm32 can1 pins should I use?

34 views
Skip to first unread message

Pavel Vasev

unread,
Apr 3, 2018, 2:55:29 PM4/3/18
to UAVCAN
Dear friends!

Having a libcanard-based program with libcanard/drivers/stm32 can driver, I cannot figure out which pins of `stm32 blue pill` should I connect to to have a can connection?

I spend a 2 hours of googling and the result is still missing. Please help me!..

Best Regards,
Pavel Vasev

Pavel Kirienko

unread,
Apr 3, 2018, 3:04:50 PM4/3/18
to Pavel Vasev, UAVCAN
According to http://wiki.stm32duino.com/images/a/ae/Bluepillpinout.gif, you need either pins 32/33 or 45/64, depending on your AFIO configuration.

Pavel.

--
You received this message because you are subscribed to the Google Groups "UAVCAN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+unsubscribe@googlegroups.com.
To post to this group, send email to uav...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/uavcan/faf75aa4-bfd3-42c3-a4e4-b34ba3efe1ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Pavel Vasev

unread,
Apr 3, 2018, 4:28:08 PM4/3/18
to Pavel Kirienko, UAVCAN
Pavel, probably do you know which of thrm is can1…?

ср, 4 апр. 2018, 0:04 Pavel Kirienko <pavel.k...@gmail.com>:
According to http://wiki.stm32duino.com/images/a/ae/Bluepillpinout.gif, you need either pins 32/33 or 45/64, depending on your AFIO configuration.

Pavel.
On Tue, Apr 3, 2018 at 9:55 PM, Pavel Vasev <pavel...@gmail.com> wrote:
Dear friends!

Having a libcanard-based program with libcanard/drivers/stm32 can driver, I cannot figure out which pins of `stm32 blue pill` should I connect to to have a can connection?

I spend a 2 hours of googling and the result is still missing. Please help me!..

Best Regards,
Pavel Vasev

--
You received this message because you are subscribed to the Google Groups "UAVCAN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to uavcan+un...@googlegroups.com.

Pavel Kirienko

unread,
Apr 3, 2018, 4:32:10 PM4/3/18
to Pavel Vasev, UAVCAN
Both of them are CAN1. This MCU does not have CAN2.

Pavel.

Pavel Vasev

unread,
Apr 3, 2018, 5:03:29 PM4/3/18
to Pavel Kirienko, UAVCAN
Thank you!!!

ср, 4 апр. 2018, 1:32 Pavel Kirienko <pavel.k...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages