Skip to main content
YWhit
Associate III
January 16, 2020
Question

Hi I'm using a STM32G030F6. I cant find how to remap the IO ports to the pins: example: Pin1= PB7 /PB8 ? Pin20= PB3/PB4/PB5/PB6 ? register SYSCFG_CFGR1 only selects PA9/PA11 && PA10/PA12 thanks Yona

  • January 16, 2020
  • 3 replies
  • 1190 views

..

This topic has been closed for replies.

3 replies

waclawek.jan
Super User
January 16, 2020

You can't remap the pins, they are simply connected together internally.

JW

YWhit
YWhitAuthor
Associate III
January 16, 2020

so under what port do I manage pin1 ? PB7 or PB8

berendi
Principal
January 16, 2020

Consider them as two/four pins soldered together. Never set more than one of them as output. Set the "unused" ones to analog mode in GPIOB->MODER. This is the default setting after reset, so just leaving the MODER bits alone is fine.

YWhit
YWhitAuthor
Associate III
January 16, 2020

seems strange.( I would have designed it with a remap configuration.)

thanks for the clarification

Yona

berendi
Principal
January 16, 2020

The product manager would complain loudly, because then they couldn't use the same silicon for different packages.