How to remap CAN-Pins for a STM32F042 TSSOP20 Chip
Hi,
I'm going to use a STM32F042F6P in TSSOP20 - case for a application using CAN - connectivity. The low-pin-version of the STM32F042 demand to remap the CAN-pins to alternate pins.
I already discovered the hint for bit 4 (PA11_PA12_RMP) of SYSCFG_CFGR1 for repmapping PA11/PA12 to PA9/PA10 (pin 17/18 of the TSSOP20 chip), but unfortunately it simply doesn't work.
I checked my firmware with a LQFP32 type of the chip (NUCLEO-Board) with CAN - pins on PA11/PA12 - so everything seams to work properly. My idea was simply to change SYSCFG_CFGR1.4 - bit for the smaller case chip and have fun with the stuff.
Please can anybody tell me weather there is anything else to do transfer my CAN-Program from STM32F042K4U (LQFP32) to STM32F042F6P (TSSOP20), or is the remap-bit the only neccessary changing?
My second question is, does pin-remapping work with GPIOs to? As a test, I tried to remap PA11/PA12 to PA9/PA10 and to toggle PA11/PA12 then, but this didn't run too.
Thanks a lot for your help.
