STM32G031G. I want to confirm that the 28 pin package can be programmed using pins 18 and 19 with bootloader #1873
-
I understand that PA11 and PA12 are mapped by default, which don't have USART TX/RX function, it should be remapped to PA9 and PA10. Cases where it was not achieved/ somebody answered that is not possible: and cases where they are using uart in pins that need to be remapped (although in packages with 8 pins) (No, I can't use PA2/PA3 or I2C on PB6/PB7.. or SW pins 🌵) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
If the USART boot mode is enabled (boot selection bit must be cleared), then the boot loader will read from USART1, which are PA9 and PA10. I assume the boot loader will do any remapping if required. |
Beta Was this translation helpful? Give feedback.
-
It means that on regular chip (where PA9/PA10 are available) you need to use PA9/PA10, no remap possible. In other words, PA11/PA12 are used by bootloader only when PA9/PA10 are not available on your package. |
Beta Was this translation helpful? Give feedback.
@JuanTopoSPA ,
It means that on regular chip (where PA9/PA10 are available) you need to use PA9/PA10, no remap possible.
But on specific chip like SO8, WLCSP18, ... where PA9/PA10 are not available, then bootloader remap USART1 to PA11/PA12.
In other words, PA11/PA12 are used by bootloader only when PA9/PA10 are not available on your package.