Commit ae07a78
committed
stm32/eth: Restore CLK_SLEEP_ENABLE for packet reception during CPU sleep.
The CLK_SLEEP_ENABLE calls were removed during the restructure (commit
90297bc), leaving the driver dependent on the HAL default state.
While the default enables clocks during sleep, explicit configuration
is more robust and documents the requirement.
ETH clocks must remain enabled during CPU sleep (WFI) to allow the
peripheral to receive packets and generate interrupts, which is
necessary for DHCP and other network traffic.
Tested on NUCLEO_F429ZI: DHCP acquisition successful.
Signed-off-by: Andrew Leech <[email protected]>1 parent daa24cf commit ae07a78
1 file changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
277 | 277 | | |
278 | 278 | | |
279 | 279 | | |
| 280 | + | |
| 281 | + | |
| 282 | + | |
| 283 | + | |
| 284 | + | |
280 | 285 | | |
281 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
282 | 290 | | |
283 | 291 | | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
284 | 295 | | |
285 | 296 | | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
286 | 300 | | |
287 | 301 | | |
288 | 302 | | |
| |||
0 commit comments