Skip to content

Commit 3c798a3

Browse files
committed
Document ULPI Transciever Delay
See stm32-rs/synopsys-usb-otg#17
1 parent 3195524 commit 3c798a3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/usb_hs.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,15 @@
22
//!
33
//! Requires the `usb_hs` feature.
44
//!
5+
//! ## ULPI Transciever Delay
6+
//!
7+
//! Some ULPI PHYs like the Microchip USB334x series require a delay between the
8+
//! ULPI register write that initiates the HS Chirp and the subsequent transmit
9+
//! command, otherwise the HS Chirp does not get executed and the deivce
10+
//! enumerates in FS mode. The STM32H7 series supports adding this delay to work
11+
//! with the affected PHYs. Enable the `synopsys-usb-otg/xcvrdly` feature to add
12+
//! this delay.
13+
//!
514
//! # Examples
615
//!
716
//! - [USB Serial Port](https://github.com/stm32-rs/stm32h7xx-hal/blob/master/examples/usb_serial.rs)

0 commit comments

Comments
 (0)