cancel
Showing results for 
Search instead for 
Did you mean: 

ETHERNET RMII configuration in STM32H745I-DISCO (MB1381-H745XI-B02).

vaun
Associate

Hello ST Community,
I M USING STM32H745I-DISCO (MB1381-H745XI-B02), WHICH COME DEFAULT MII MODE, TO CONFIGURE IT ON RMII, WHAT CHANGES I HAVE TO DO IN HARDWARE, IOC. AS THIS BOARD HAVE ETHERNET IC LAN8742A-CZ-TR WHICH HAVE BOTH MII,RMII PROTOCOLS.
AS I HAVE SEEN SOME VIDEOS ON ETHERNET FOR DIFFERENT STM32 CONTROLLER IN RMII, I M NOT ABLE TO GET RESULT. 

I WANTED TO KNOW DO THIS BOARD CONFIGURE IN RMII, IF YES THEN TELL ME HOW I CAN DO.

HERE IS CONFIGURATION I HAVE DONE IN MY PROJECT.
 

PG11 ETH_TX_EN ARM Cortex-M7 n/a Alternate Function Push Pull No pull-up and no pull-down Very High n/a   true
PG14 ETH_TXD1 ARM Cortex-M7 n/a Alternate Function Push Pull No pull-up and no pull-down Very High n/a   true
PG13 ETH_TXD0 ARM Cortex-M7 n/a Alternate Function Push Pull No pull-up and no pull-down Very High n/a   true
PC5 ETH_RXD1 ARM Cortex-M7 n/a Alternate Function Push Pull No pull-up and no pull-down Very High n/a   true
PC4 ETH_RXD0 ARM Cortex-M7 n/a Alternate Function Push Pull No pull-up and no pull-down Very High n/a   true
PA1 ETH_REF_CLK ARM Cortex-M7 n/a Alternate Function Push Pull No pull-up and no pull-down Very High n/a   true
PA2 ETH_MDIO ARM Cortex-M7 n/a Alternate Function Push Pull No pull-up and no pull-down Very High n/a   true
PC1 ETH_MDC ARM Cortex-M7 n/a Alternate Function Push Pull No pull-up and no pull-down Very High n/a   true
PA7 ETH_CRS_DV ARM Cortex-M7 n/a Alternate Function Push Pull No pull-up and no pull-down Very High n/a   true

 

vaun_0-1776946118958.png

vaun_4-1776947994520.png

 

vaun_3-1776947962162.png

 

 

 

vaun_0-1776947903842.png

vaun_1-1776947940078.png

vaun_2-1776947947542.png

 

 

 

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

@vaun wrote:

 i m asking do this eval board can be configure in RMII or not , if not then what are the configuration to configure ethernet in RMII for custom PCB have stm32h745bit6 controller.


No you can't configure the ETH on that board in RMII. You should configure it in MII as the board is hardwired in MII mode.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
mƎALLEm
ST Employee

Hello @vaun and welcome to the St community,

According to the board's schematic /page 5, the configuration is MII and not RMII:

mALLEm_0-1776949684328.png

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.

thanks @mƎALLEm for your response, i have seen the schematic its was in MII mode, i m asking do this eval board can be configure in RMII or not , if not then what are the configuration to configure ethernet in RMII for custom PCB have stm32h745bit6 controller.


@vaun wrote:

 i m asking do this eval board can be configure in RMII or not , if not then what are the configuration to configure ethernet in RMII for custom PCB have stm32h745bit6 controller.


No you can't configure the ETH on that board in RMII. You should configure it in MII as the board is hardwired in MII mode.

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.