File tree Expand file tree Collapse file tree 6 files changed +6
-0
lines changed Expand file tree Collapse file tree 6 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -193,6 +193,7 @@ static esp_err_t dm9051_reset_hw(esp_eth_phy_t *phy)
193
193
esp_rom_gpio_pad_select_gpio (dm9051 -> reset_gpio_num );
194
194
gpio_set_direction (dm9051 -> reset_gpio_num , GPIO_MODE_OUTPUT );
195
195
gpio_set_level (dm9051 -> reset_gpio_num , 0 );
196
+ ets_delay_us (100 ); // insert min input assert time
196
197
gpio_set_level (dm9051 -> reset_gpio_num , 1 );
197
198
}
198
199
return ESP_OK ;
Original file line number Diff line number Diff line change @@ -182,6 +182,7 @@ static esp_err_t dp83848_reset_hw(esp_eth_phy_t *phy)
182
182
esp_rom_gpio_pad_select_gpio (dp83848 -> reset_gpio_num );
183
183
gpio_set_direction (dp83848 -> reset_gpio_num , GPIO_MODE_OUTPUT );
184
184
gpio_set_level (dp83848 -> reset_gpio_num , 0 );
185
+ ets_delay_us (100 ); // insert min input assert time
185
186
gpio_set_level (dp83848 -> reset_gpio_num , 1 );
186
187
}
187
188
return ESP_OK ;
Original file line number Diff line number Diff line change @@ -222,6 +222,7 @@ static esp_err_t ip101_reset_hw(esp_eth_phy_t *phy)
222
222
esp_rom_gpio_pad_select_gpio (ip101 -> reset_gpio_num );
223
223
gpio_set_direction (ip101 -> reset_gpio_num , GPIO_MODE_OUTPUT );
224
224
gpio_set_level (ip101 -> reset_gpio_num , 0 );
225
+ ets_delay_us (100 ); // insert min input assert time
225
226
gpio_set_level (ip101 -> reset_gpio_num , 1 );
226
227
}
227
228
return ESP_OK ;
Original file line number Diff line number Diff line change @@ -170,6 +170,7 @@ static esp_err_t ksz8041_reset_hw(esp_eth_phy_t *phy)
170
170
esp_rom_gpio_pad_select_gpio (ksz8041 -> reset_gpio_num );
171
171
gpio_set_direction (ksz8041 -> reset_gpio_num , GPIO_MODE_OUTPUT );
172
172
gpio_set_level (ksz8041 -> reset_gpio_num , 0 );
173
+ ets_delay_us (100 ); // insert min input assert time
173
174
gpio_set_level (ksz8041 -> reset_gpio_num , 1 );
174
175
}
175
176
return ESP_OK ;
Original file line number Diff line number Diff line change @@ -267,6 +267,7 @@ static esp_err_t lan8720_reset_hw(esp_eth_phy_t *phy)
267
267
esp_rom_gpio_pad_select_gpio (lan8720 -> reset_gpio_num );
268
268
gpio_set_direction (lan8720 -> reset_gpio_num , GPIO_MODE_OUTPUT );
269
269
gpio_set_level (lan8720 -> reset_gpio_num , 0 );
270
+ ets_delay_us (100 ); // insert min input assert time
270
271
gpio_set_level (lan8720 -> reset_gpio_num , 1 );
271
272
}
272
273
return ESP_OK ;
Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ static esp_err_t rtl8201_reset_hw(esp_eth_phy_t *phy)
176
176
esp_rom_gpio_pad_select_gpio (rtl8201 -> reset_gpio_num );
177
177
gpio_set_direction (rtl8201 -> reset_gpio_num , GPIO_MODE_OUTPUT );
178
178
gpio_set_level (rtl8201 -> reset_gpio_num , 0 );
179
+ ets_delay_us (100 ); // insert min input assert time
179
180
gpio_set_level (rtl8201 -> reset_gpio_num , 1 );
180
181
}
181
182
return ESP_OK ;
You can’t perform that action at this time.
0 commit comments