The SAM D11 Xplained Pro has a Micro-USB connector for use with the SAM D11 USB
module. To be able to detect when a target USB cable is connected in self-powered
mode, a GPIO is used to detect the VBUS voltage on the connector.
Table 1. USB ConnectionsPin on SAM D11 |
USB |
PA27 |
VBUS Detection(1) |
PA24 |
USB D- |
PA25 |
USB D+ |
Note: - 1.PA27 is shared between SPI SS to the EDBG and VBUS detect on target USB. This is
implemented so the pin can detect if VBUS is present when configured as input with no
internal pull. If VBUS is present, the level on the pin will be high. If VBUS is not
present, the line is externally pulled low. It will not be possible to detect this if
the EDBG SPI DGI interface is enabled from Atmel Data Visualizer.