Content originally posted in LPCWare by goffi on Wed Jul 16 04:30:25 MST 2014
Quote: nerd herd
Hi,
So it turns out that the LPC18xx does not support low speed device mode for USB, which is probably why you are unable to disable the D+ pull up resistor.
At page 519 point "22.3 Features" of the previous pdf (UM10430.pdf) , i read "Supports all high-speed, full-speed, and low-speed USB-compliant peripherals". Low speed is also reported in several parts of the document.
I'm really confused :-(
I'm reading:
USBx_DP : USB0 bidirectional D+ line. The D+ line has an internal 1.5 k pull-up. This pull-up is enabled when software sets the RS bit (Bit 0) in the USBCMD register and the USB0 controller sees a valid VBUS voltage level (above ~1.8V) on the VBUS pin. Do not add an external series resistor.
USBx_DM : USBx bidirectional D- line. The D- line has an internal 1.5 k pull-up. This pull-up is enabled when software sets RS bit (BIT_0) in the USBCMD register and the USB0 controller sees a valid VBUS voltage level (above ~1.8V) on the VBUS pin. Do not add an external series resistor.
This means:
USBCMD.RS = 0 -> D+ and D- no pull-up on both
USBCMD.RS = 1 -> D+ and D- with pull-up on both
I don't found any informations about these configurations on the usb standard ( i know only Full Speed pull up on D+ and nothing on D-, Low Speed pull up on D- and nothing on D+).
Who can help me to understand?? Thanks