2019-12-22 10:48 AM
Hi!
I am confused, i wanted to use STM32F042F6P6 MCU for can interface but, ther is no TX pin for can interface (PB9 on datasheet).
So, how i can configure CAN TX?
There is no CAN mode option for this MCU inside of CUBEMX because there is no TX pin for CAN.
Is it possible to use MCU for CAN interface?
Solved! Go to Solution.
2019-12-22 11:47 AM
Per the DATA SHEET, the 20-pin device requires you remap PA11/PA12 via SYSCFG_CFGR1. You'll lose PA9/PA10
PA11 CAN_RX
PA12 CAN_TX
https://www.st.com/resource/en/datasheet/stm32f042f6.pdf
2019-12-22 11:47 AM
Per the DATA SHEET, the 20-pin device requires you remap PA11/PA12 via SYSCFG_CFGR1. You'll lose PA9/PA10
PA11 CAN_RX
PA12 CAN_TX
https://www.st.com/resource/en/datasheet/stm32f042f6.pdf
2019-12-23 10:34 PM
Thank you!
I've got it.