-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
stm32: Add support for ETH RMII peripheral #3808
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This works fine on my Nucleo-F767ZI. Thank you a lot for integrating codes. |
…ects/STM32F767ZI-Nucleo/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS/Src)
ethernetif.c --- low level driver mainly derived from STM example code network_ethernet.c --- MicroPython module code Makefile and mpconfigport.mk are modified to build these files modnetwork.c added ethernet
…LAY and PHY_CONFIG_DELAY from 0xfff to 0xff
- add RMII_* pin definitions - uncomment HAL_ETH_MODULE_ENABLED - add pin definitions for Ethernet RII Interface - Enable ETH_RMII.
Hello boochow, i would like to ask you how did you test the Ethernet , as i am struggling to work with this topic ,would appreciate any help |
Please see also #3878 |
@ziadelmolla to use this PR we have to cherry-pick a bug fix of modnetwork.c. building this PR for Nucleo-F767ZI:
testing the ethernet and its results:
|
Thanks! I've now fixed this in 6fc84a7 |
Should I test this PR Code on STM32F746G-disco board? |
Hi everyone! Today i've ported ethernet feature (RMII) from STM32F7 to STM32F4DISC board. In order to test network performance i used iperf utility. uPy code on the board (main.py):
and it showed appoximately 4.19-4.3MBit Any suggestions? |
I'm trying to run micropython on STM32F746G-DISCO. Using "above recipe" ethernet is working fine but SD card is now working: (PYB: can't mount SD card message during startup). Has anyone working SD card on theses board? And second question: are they any chances to include these patch into "main branch" of the project? |
I would like to ask if the Ethernet connection is supported with NUCLEO_H743ZI ? |
This is superseded by #4541 |
👍👍 |
@@ -258,6 +258,8 @@ SRC_C = \ | |||
servo.c \ | |||
dac.c \ | |||
adc.c \ | |||
ethernetif.c \ | |||
network_ethernet.c \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where did you obtain this file from?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Specifically, the network_ethernet.c file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned above, this PR was superseded by #4541 and network_ethernet.c
was replaced by network_lan.c
Enter safe mode after panic or brownout
This PR is based on #3671. It adapts that PR to work with current master.
NUCLEO_F767ZI and STM32F7DISC boards have Ethernet enabled.