You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: device/esp_tinyusb/README.md
+29-1Lines changed: 29 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,7 +81,7 @@ The default installation automatically configures the port (High-speed if suppor
81
81
82
82
Default descriptors are provided for the following USB classes: CDC, MSC, and NCM.
83
83
84
-
> **⚠️ Important:** For demonstration purposes, all error handling logic has been removed from the code examples. Do not ignore proper error handling in actual development.
84
+
> ⚠️ For demonstration purposes, all error handling logic has been removed from the code examples. Do not ignore proper error handling in actual development.
85
85
86
86
```c
87
87
#include"tinyusb_default_config.h"
@@ -226,6 +226,34 @@ For self-powered devices, monitoring the VBUS voltage is required. To do this:
226
226
tinyusb_driver_install(&tusb_cfg);
227
227
}
228
228
```
229
+
230
+
> ⚠️ **ESP32-P4**, USB OTG 2.0, High-speed doesn't have hardware detection of VBUS BVALID signal
231
+
232
+
To solve this, an additional software timer is implemented in the driver.
233
+
234
+
To filter glitches on the VBUS-monitor GPIO, a configurable `vbus_debounce_ms` parameter is available.
235
+
236
+
> **Note:** Default value of debounce timer is 250 ms
237
+
238
+
The default debounce interval might be changed during the driver configuration:
0 commit comments