cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling PB0 for GPIO to use in STM32CubeMx

Renato Valentim
Associate III

Hello! I have a project for the NucleoF767ZI board.

I want to use the Mii mode of the Ethernet but in the STM32CubeMx setup screen it doesn't let me. It says that MII is didabled because PB0 is enabled as GPIO output. The thing is I don't know how to disabe PB0 as GPIO output.

Also there are other "conflicts" for ETH use. PLease see attachment.

Thanks

3 REPLIES 3
KnarfB
Principal III

> don't know how to disabe PB0 as GPIO output.

In Pinout View left-click on PB0, select ETH_RXD2 function, done.

But: RMII = *Reduced* Media Independent Interface, i.e. less pins than MII. You cannot change RMII to MII without changing the board. Check schematics "UM1974 User manual STM32 Nucleo-144 boards". PB0 is connected to an on-board LED. Selecting MII is useles on that board.

Khouloud ZEMMELI
ST Employee

​Hello @Renato Valentim​ ,

You can use  the F767 Nucleo board  with a clean project, just click on "Clear Pinouts" under "Pinout" or simply re-check the GPIO_Output on PB0 and the MII mode will be available.

0690X00000DCAjMQAX.png

Best Regards,

Khouloud

berendi
Principal

The onboard ethernet PHY transceiver uses RMII. Are you going to replace it?