![]() |
STM32Cube
Version 2.0
Create Projects for STM32F7 Series with STM32Cube HAL and STM32CubeMX
|
The CMSIS-Driver EMAC requires:
The example below uses correct settings for STM32F746G-Discovery:
For different boards, refer to the hardware schematics to reflect correct setup values.
The STM32CubeMX configuration steps for Pinout, Clock, and System Configuration are listed below. Enter the values that are marked bold.
Under Connectivity open ETH Configuration:
| Pin Name | Signal on Pin | GPIO mode | GPIO Pull-up/Pull.. | Maximum out | User Label |
|---|---|---|---|---|---|
| PA1 | ETH_REF_CLK | Alternate | No pull-up and no.. | High | . |
| PA2 | ETH_MDIO | Alternate | No pull-up and no.. | High | . |
| PA7 | ETH_CRS_DV | Alternate | No pull-up and no.. | High | . |
| PC1 | ETH_MDC | Alternate | No pull-up and no.. | High | . |
| PC4 | ETH_RXD0 | Alternate | No pull-up and no.. | High | . |
| PC5 | ETH_RXD1 | Alternate | No pull-up and no.. | High | . |
| PG11 | ETH_TX_EN | Alternate | No pull-up and no.. | High | . |
| PG13 | ETH_TXD0 | Alternate | No pull-up and no.. | High | . |
| PG14 | ETH_TXD1 | Alternate | No pull-up and no.. | High | . |
| Interrupt Table | Enable | Preemption Priority | Sub Priority |
|---|---|---|---|
| Ethernet global interrupt | ON | 0 | 0 |
Click OK to close the ETH Configuration dialog