User Manual

P A G E 26
mikromedia 7 CAPACITIVE U S E R M A N U A L
P A G E 26
PROGRAMMING
P A G E 26
CONNECTIVITY
5.4 USB
The host MCU is equipped with the USB peripheral module, allowing
simple USB connectivity. USB (Universal Serial Bus) is a very popular
industry standard that defines cables, connectors, and protocols used for
communication and power supply between computers and other devices.
Mikromedia 7 supports USB as HOST and USB as DEVICE, allowing the
development of a wide range of various USB-based applications. It is
equipped with the USB-C connector (1), which offers many advantages,
compared to earlier types of USB connectors (symmetrical design, higher
current rating, compact size, etc).
The USB mode selection is done using a monolithic controller IC. This IC
provides Configuration Channel (CC) detection and indication functions.
To set up mikromedia 7 as a USB HOST, the USB PSW pin should be set
to a LOW logic level (0) by the host MCU. If set to a HIGH logic level (1),
mikromedia 7 acts as a DEVICE. While in HOST mode, mikromedia 7
provides power over the USB-C connector. The USB PSW pin is driven by
the host MCU, allowing the software to control the USB mode.
N O T EWhen mikromedia 7 is working in USB HOST mode, it must not be
mounted to another USB HOST (such as PC).
2 3 1
Figure 14: USB and 1x26 pin header view
The USB ID pin is used to detect the type of the device attached to the USB
port, according to the USB OTG specifications: the USB ID pin connected to
GND indicates a HOST device, while the USB ID pin set to a high impedance
state (HI-Z) indicates that the connected peripheral is a DEVICE.