I'm currently trying to make a USB device with the ATMega16U2.
On page 187 of the datasheet, there are unspecified resistors between the USB port and the pins of the microcontroller
The Arduino Uno (R3) similarly uses these resistors in its design, with a value of 22 Ohms.
What are these for, and why are they needed with such low values?
Bonus question: The wiring between UDP
, UDM
, D+
and D-
in the figure on page 187 is a mistake, right? On the next page, they are reversed.
UDP
connected toD-
on that page, butD+
on the following page, and so on forUDM
. Looking at other datasheets, this appears to be wrong. \$\endgroup\$