Skip to main content
Renato Valentim
Associate III
February 21, 2020
Question

Disabling PB0 for GPIO to use in STM32CubeMx

  • February 21, 2020
  • 3 replies
  • 1658 views

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

This topic has been closed for replies.

3 replies

KnarfB
Super User
February 21, 2020

> 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
February 24, 2020

​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
February 24, 2020

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