Page 2 of 2

Re: CAN - Don't get RXMSG

Posted: Fri Jun 20, 2014 10:03 am
by Giovanni
Hi,

You should look into the AFIO section of the STM32 Reference Manual.

Giovanni

Re: CAN - Don't get RXMSG

Posted: Sat Nov 14, 2015 4:40 pm
by gnif
You can remap to PB8 & PB9 with the following

Code: Select all

AFIO->MAPR |= AFIO_MAPR_CAN_REMAP_REMAP2;

Re: CAN - Don't get RXMSG

Posted: Wed Dec 30, 2015 8:43 am
by DeusExMachina
Also you need to set up CAN_BTR register according to your APB bus frequency
There is a special online calculator to do this trick.
http://www.bittiming.can-wiki.info/#C_CAN16