kywwilson11 opened a new pull request, #15583:
URL: https://github.com/apache/nuttx/pull/15583

   ## Summary
   
   STM32H5 Ethernet Driver. This driver is heavily based on the STM32H7 because 
the Ethernet peripheral on the STM32H5 is essentially identical to that on the 
STM32H7. 
   
   Differences from the STM32H7:
   1. stm32_uid.c - Reading the device electronic signature 8-bits at a time 
(like the H7) caused an exception. The code was modified to access the device 
electronic signature 32-bits at a time. 
   2. ETH_SEL_PHY - These bits are located in the SBS_PMCR register on the 
STM32H5. This is different on the STM32H7. This change also required enabling 
SBS peripheral when Ethernet is configured. 
   
   Note: ICACHE and DCACHE not yet implemented on STM32H5. 
   
   ## Impact
   
   STM32H5 Architecture
   
   ## Testing
   
   Hardware:
   1. Nucleo-H563ZI
   2. USB-to-Ethernet adapter (for test device)
   
   Software:
   1. Ping
   2. Phy Tool (mdio)
   3. ifconfig
   
   Configuration:
   Use STM32H7 netnsh config as an example. Added network related options to 
standard nsh STM32H5 Nucleo-H563ZI config. 
   
   Procedure:
   1. Initialize the STM32H5 Ethernet device eth0. Configured IP address of 
10.0.0.2. LAN8742 configuration done in menuconfig. 
   2. Run ifconfig on eth0. 
   3. Run a couple of MDIO commands to ensure proper functionality. 
   4. Ping the test device (IP = 10.0.0.5)
   
   Tested at 100Mb/s Half Duplex.
   
   
[stm32h5_rmii_ethernet_test.txt](https://github.com/user-attachments/files/18443807/stm32h5_rmii_ethernet_test.txt)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to