Why connected two I2C SCL and SDA together?

From the nano every schematic, pin 36/37 and 46/47 both connected to A4SDA/A5SCL.
But from the ATMEGA4809, pin 36/37 and 46/47 are for two I2C bus, and also pin 12/13, while the 12/13 and 36/37 are marked with note
"Alternate pin positions. For selecting the alternate positions, refer to the PORTMUX documentation"
It seems we can write the TWISPIROUTEA register to select default TWI0 and SPI0

My question is why on nano every those pins are connected on the board? what do we gain from that? More driving power?

1 Like

I would imagine it's so that the pins can be used either for I2C or as analog inputs (without having to reconfigure pin functions), as on the 328P Nano.

1 Like

You can configure the PORTMUX to make I2C bus occur on different pin pairs.

1 Like