--- In lpc2000@yahoogroups.com, "Joel Winarske" <joelw@...> wrote: > > > From the LPC2148 documentation it is not clear how the P0.31 pin > > should be used for CONNECT feature. > > Particularly, in the schematic p.32 of datasheet the pin is connected > > to GND trough the relay winding, thus disabling the JTAG port, see > > p.10 of the datasheet. > > The page 32 diagram is referencing a pull-up. Refer to section 7.1.5.1 of > the USB specification. > > > Is there a schematic of a working connection of pin P0.31? > > http://www.olimex.com/dev/pdf/LPC-P2148.pdf > > When PINSEL0 P0.31 is configured for CONNECT, refer to page 225 of the User > Manual for control of this pin. > > > Joel > I want to restart the discussion. First the description of the problem: When I run the USBHID example according to description, it runs well (with Client1) just until I push the reset button on the MCB2140. Then it hungs and one needs to close (kill) HIDClient, disconnect the board, then connect again and run the HIDClient. As the reset condition is pretty common: Watchdog Reset, Brounout, etc, this example is absolutely not useful for learning how to run a real application. Is there any possibility to solve the problem so that the connection between HIDClent and the board restarts again after the microcontroller reset? I sent this question to the Keil forum, no answer. Then I mounted on the MCB2148 the P0.31 connection circuit according to the message above and the Olimex schamatic. It does not work. When I connect the 1.5k resistor from USB:pin3 to +3.3v it works, but as described above, hanging after the microcontroller RESET, when the resistor is connected between the USB:pin3 and the Q3 (refering to the Olimex schematic) the USBHID does not recognize the board. Maybe somebody knows how to change the USBHID example for is starts to work with the Olimex-like connection. Thanks in advance, Varuzhan
Message
Re: LPC2148 USB
2006-02-21 by varuzhandanielyan
Attachments
- No local attachments were found for this message.