2
\$\begingroup\$

On the ATmega32U4 MCU there are several pins related to USB:

  • VBUS
  • D+
  • D-
  • UCAP
  • UGND
  • UVCC

In the datasheet and in almost all reference schematics I find on the Internet, it's explained how to connect those pins when you need the USB.

On my board, instead, I don't need the USB at all. Hence, I want to understand how to connect those pins.

I'm not sure if I can just leave them floating or else.

\$\endgroup\$

2 Answers 2

2
\$\begingroup\$

The datasheet does have that information.

You can make a self-powered USB device as per the datasheet diagrams and imagine the USB cable is unplugged, which gives enough information how the pins should be connected without USB connection.

\$\endgroup\$
1
\$\begingroup\$

On my board, instead, I don't need the USB at all. Hence, I want to understand how to connect those pins.

Grab a schematic that uses the USB interface like this: -

enter image description here

And ask yourself what connectivity is important if there isn't anything plugged into the USB connector. You'd end up with this: -

enter image description here

Schematic image taken from here.

So, should VBUS be connected to Vcc - you can always double check that in the data sheet and, is it any great hardship to make that connection anyway? What about UVCC and UGND - well, is it really any problem to connect them to Vcc and GND

\$\endgroup\$
2
  • \$\begingroup\$ It's not a problem. But I'm trying to understand, not to guess... For example, the capacitor on UCAP may be mandatory because it's the output of the internal regulator. I cannot know if omitting it may lead to some issues. \$\endgroup\$
    – Mark
    Commented Feb 7, 2022 at 14:45
  • 1
    \$\begingroup\$ @Mark then you should thoroughly read the data sheet from front to back and double check everything. \$\endgroup\$
    – Andy aka
    Commented Feb 7, 2022 at 14:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.