2024-05-28 10:21 AM - last edited on 2024-05-29 06:47 AM by STea
We apologize for changing the subject again and not responding to your request, but today we discussed this project with our teacher, who told us to first focus on the implementation of Wake on LAN and to be satisfied with putting the device in standby mode without NetxDuo (which we can easily do). However, we still have difficulty implementing the wake-up through the Ethernet mechanism, so I wonder if it is actually possible with our board. Is specific support from the MAC controller required?
Board: NUCLEO - H563ZI
2024-05-29 07:04 AM
Hello @CostaMH ,
Answering you question: "However, we still have difficulty implementing the wake-up through the Ethernet mechanism, so I wonder if it is actually possible with our board. Is specific support from the MAC controller required?"
Yes, it is possible to wake the system from a low-power mode, such as Stop mode, through the Ethernet remote wake-up packet mode. The Ethernet MAC (Media Access Control) receiver can trigger an exit from low-power mode upon the reception of an expected remote wake-up packet. This is facilitated by setting the PWRDWN bit in the PMT control status register (ETH_MACPCSR) to 1 to enter power saving mode, and enabling exit from this mode by programming the RWKPKTEN bit of the same register to 1. When a valid remote wake-up packet is received, the MAC receiver sets the RWKPRCVD bit in the PMT control status register and triggers an interrupt, which can wake up the host system from low-power mode.
so, you need to follow the sequence described in the reference Manual for this to work (see section 57.7.1 Low-power management)
Regards