18.3.7 USB PLL
The USB PLL (UPLL) provides the 96 MHz double sampling clock (2*48 MHz) for the Full Speed USB module. It also manages power dissipation by turning the USB clock source on or off. The usb_clock output is enabled when the USB module is active, not suspended, and not in Sleep mode. The output should be 96 MHz when this PLL is used as the USB clock source. The FRC cannot be used as the reference clock source for the UPLL.
The UPLL output can be obtained through the UPLL feedback divider, reference frequency divider, and the first post-divider. The VCO frequency is the frequency before the UPLL post-divider, calculated as:
The UPLL output is then given by:
Ref. Clock | Reference Frequency Divider | UPLL Feedback Divider | VCO (MHz) | Post Divider |
UPLL OUT (MHz) | CLBW | Bandwidth Select |
---|---|---|---|---|---|---|---|
16 | 1 | 96 | 1536 | 16 | 96 | 1 MHz | 010 |
16 | 1 | 72 | 1152 | 12 | 96 | 1 MHz | 010 |
16 | 2 | 192 | 1536 | 16 | 96 | 400 KHz | 001 |
16 | 2 | 144 | 1152 | 12 | 96 | 400 KHz | 001 |
16 | 2 | 384 | 1536 | 16 | 96 | 400 KHz | 001 |
16 | 4 | 288 | 1152 | 12 | 96 | 400 KHz | 001 |
Where,
- UPLL Feedback Divider is UPLLCON.UPLLFBDIV[9:0]
- Reference Frequency Divider is UPLLCON.UPLLREFDIV[5:0]
- First Post Divider is UPLLCON.UPLLPOSTDIV1[5:0]
- Bandwidth select is UPLLBSWSEL[2:0]