Keil Logo

MCB2140: USE AS A SELF-POWERED USB DEVICE

The MCB2140 power supply may be changed from a bus-powered USB device to self-powered mode enabling the SoftConnect feature of the LPC2148. SoftConnect is especially useful for devices that change USB functionality during runtime. USB debugging with µVision becomes easier because the firmware may be reset without unplugging the board.

HARDWARE CHANGES

Remove the following components:

  • R37: This disconnects the board power from the bus.
  • USB LED: Can be reused to indicate USB SoftConnect status in the changed layout.
  • R36: No longer used

Add the following components:

  • Connect the base of a PNP transistor (PMBTA92) to P0.31 through a 1.8K Ohm resistor.
  • Connect the transistor's emitter to +3.3V on regulator IC3.
  • Connect the transistor's base through a 10K Ohm resistor to +3.3V on regulator IC3.
  • Wire the Collector pin with 1.5 KOhm to D+. On the Collector you may also add an LED with 330 Ohm to GND, to indicate switching state.

Additional information about the transistor: Philips PMBTA92

SOFTWARE CHANGES

P0.31 must be configured for SoftConnect as follows:

PINSEL1 |= 0x80004000;

SCHEMATICS

MCB2140 SoftConnect Schematic Modifications

MORE INFORMATION

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Wednesday, January 10, 2007


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.