+ Post New Thread
Results 1 to 4 of 4
  1. #1
    Junior Member level 1
    Points: 1,645, Level: 9
    Achievements:
    7 years registered

    Join Date
    Feb 2008
    Posts
    19
    Helped
    0 / 0
    Points
    1,645
    Level
    9

    Powering USB's Vcc pin

    Hi,

    I have a PIC microcontroller connected to Beaglebone Black (similar to Raspberry Pi). The micro as well Beaglebone Black both have its own power supply.

    Is it necessary to connect the Vcc pin of USB socket to +5V? If we leave it unconnected and just use these three pins- Rx, Tx and GND, it should work correctly, right?

    •   AltAdvertisement

        
       

  2. #2
    Super Moderator
    Points: 260,308, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,463
    Helped
    13830 / 13830
    Points
    260,308
    Level
    100

    Re: Powering USB's Vcc pin

    The USB standard specifies that self-powered devices shall monitor VUSB to detect attachement and detachment. An USB device designed in concordance with the standard thus won't operate without VUSB. Your self-elaborated PIC device possibly will.



    •   AltAdvertisement

        
       

  3. #3
    Junior Member level 1
    Points: 1,645, Level: 9
    Achievements:
    7 years registered

    Join Date
    Feb 2008
    Posts
    19
    Helped
    0 / 0
    Points
    1,645
    Level
    9

    Re: Powering USB's Vcc pin

    Hi,

    Thanks for the reply. I'm very new to USB communication.

    1. I'm using PIC18f4550, a 5V PIC device and the Vusb pin is grounded using a 470nF capacitor. Since you said attachment/detachment monitoring is through Vusb pin, how can monitoring be possible in this case?
    2. While connecting two self powered devices, do we interconnect the +5V lines? This sounds bit dangerous. The interconnection should only be for Rx, Tx and ground lines, right?



    •   AltAdvertisement

        
       

  4. #4
    Super Moderator
    Points: 260,308, Level: 100
    Awards:
    1st Helpful Member

    Join Date
    Jan 2008
    Location
    Bochum, Germany
    Posts
    45,463
    Helped
    13830 / 13830
    Points
    260,308
    Level
    100

    Re: Powering USB's Vcc pin

    I wrote VUSB but meaned VBUS.

    VUSB is the internal driver supply of the PIC USB interface. It's not grounded, but connected to a bypass capacitor.

    PIC18 has specific no pin to connect VBUS, a GPIO pin has to be used in a self-powered design. See the paragraph "USB Power Modes" in PIC data sheet.



--[[ ]]--