Hi,
RMII does not support speed change.
To operate with old 10 hubs, you must configure ENET to 10. But in this case you will not able to connect to your PC.
MII mode does not have this issue.
In order to change RMII to MII under MQX, you need at minimum:
1. Add the port initialization in init_gpio.c file.
2. Change ENET_OPTION_RMII to ENET_OPTION_MII in ENET_default_params initialization.
3. If you are using different phy change your configuration properly in phy_ksz8041.c (or the phy you are using)
4. Then I think it also changes the way the core clocks are sourced (in RMII they have to be synchronous with PHY, in MII they don’t) MII uses 25MHz clock input so J2 on TWR-SER sould be set to 1-2.
5. - No shunt across any pin on J12 of TWR-SER.
Please let me know if this helps,
Have a great day,
Sol
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------