9 years, 8 months ago.

Media-independent Interface pins on K64F being set in Ethernet driver

I recently noticed that the MII pins are changing values once a Ethernet object is initialized. From the K64F documentation it looks as though only the RMII pins should be used in the Ethernet driver. I noticed under the Freescale K64F directory structure in the Ethernet library that the hardware_init_MK64F12.c file is setting all of the MII pins. I'm curious if anyone else has run into this issue or has a fix so that any pins related with MII will not change while using Ethernet?

1 Answer

9 years, 8 months ago.

Hi,

This can be a bug, have you checked the latest KSDK version, of how ethernet is initialized there? The ethernet was ported to K64F a year ago when KSDK was in a beta stage, since then few releases were published, might be fixed there and should be also in mbed. If this is a case, can you create an issue on github https://github.com/mbedmicro/mbed , if possible to sent a pull request with a fix. Thanks