Pin Connection Guidelines: Agilex™ 5 FPGAs and SoCs

ID 813266
Date 11/21/2024
Public
Document Table of Contents

1.4.9. HPS I2C_EMAC and MDIO Pins

Note: Altera recommends that you create a Quartus® Prime design, enter your device I/O assignments, and compile the design. The Quartus® Prime software checks your pin connections according to I/O assignment and placement rules. The rules differ from one device to another based on device density, package, I/O assignments, voltage assignments, and other factors that are not fully described in this document or the device user guides.

There are three sets of I2C_EMAC interfaces that can be used as I2C interfaces or as the MDIO pins for the EMACs. You must take note that the I2C_EMAC and MDIO modules must be used with the corresponding EMAC interfaces. For example, you can use either I2C_EMAC0_SDA and I2C_EMAC0_SCL or MDIO0_MDIO and MDIO0_MDC with EMAC0.

The I2C protocol requires pull-up resistors to VCCIO_HPS on both the serial data and serial clock signals for them to function correctly. The value of the pull-up resistor varies depending on your board loading, but it is typically 4.7-kΩ.

Typically the MDIO pin requires an external pull-up resistor to VCCIO_HPS in the range of 1.0-kΩ to 4.7-kΩ.

Table 26.  HPS I2C_EMAC and MDIO Pins
HPS Pin Function Pin Description and Connection Guidelines Pin Type Valid Assignments (select from one of the groups)
Group 1 Group 2 Group 3
I2C_EMAC2_SDA I2C EMAC2 Serial Data. I/O HPS_IOA_7 HPS_IOB_9 HPS_IOB_21
I2C_EMAC2_SCL I2C EMAC2 Serial Clock. I/O HPS_IOA_8 HPS_IOB_10 HPS_IOB_22
I2C_EMAC1_SDA I2C EMAC1 Serial Data. I/O HPS_IOA_9 HPS_IOB_19
I2C_EMAC1_SCL I2C EMAC1 Serial Clock. I/O HPS_IOA_10 HPS_IOB_20
I2C_EMAC0_SDA I2C EMAC0 Serial Data. I/O HPS_IOA_11 HPS_IOB_11 HPS_IOB_23
I2C_EMAC0_SCL I2C EMAC0 Serial Clock. I/O HPS_IOA_12 HPS_IOB_12 HPS_IOB_24
MDIO0_MDIO EMAC0 MDIO. I/O HPS_IOA_11 HPS_IOB_11 HPS_IOB_23
MDIO0_MDC EMAC0 MDC. Output HPS_IOA_12 HPS_IOB_12 HPS_IOB_24
MDIO1_MDIO EMAC1 MDIO. I/O HPS_IOA_9 HPS_IOB_19
MDIO1_MDC EMAC1 MDC. Output HPS_IOA_10 HPS_IOB_20
MDIO2_MDIO EMAC2 MDIO. I/O HPS_IOA_7 HPS_IOB_9
MDIO2_MDC EMAC2 MDC. Output HPS_IOA_8 HPS_IOB_10