Hardware layout and configuration
UM1065
Doc ID 018640 Rev 4
2.17
USB OTG HS
The STM3221G-EVAL evaluation board enables USB OTG high speed communication via a
USB micro-AB connector (CN9), USB high speed PHY (U8) and USB power switch (U4)
connected to VBUS. The evaluation board can be powered by this USB connector (CN9) at
5 V DC with a 500 mA current limitation.
LED LD7 indicates that power switch (U4) is ON and the STM3221G-EVAL is working as a
USB host or that VBUS is powered by another USB host when the STM3221G-EVAL is
working as a USB device. LD8 indicates an over-current.
The USB ULPI bus is shared with CAN2 bus, JP10 and JP3 must be kept open for USB
OTG HS.
Note:
On boards MB786 prior to version B03 it is possible that after a board RESET the MCU is no
longer able to control communication with the OTG PHY (U8). When this issue occurs the
only way to recover OTG PHY control is to power the board OFF and ON. This issue is fixed
on MB786 version B03 or newer.
2.18 Camera
module
A camera module is connected to DCMI bus of STM32F217IGH6 and shares the same I/Os
with the motor control connector. SB16 must be kept open (default setting) for camera
module application.
There are two possible modules and omnivision cameras populated on the CN15 connector
of the board:
●
1.3 Megapixel: Module CN01302H1045-C: Camera OV9655
●
2 Megapixel: Module CN020VAH2554-C: Camera OV2640
Note:
1
When the camera demo loaded in Flash is executed, some green pixels may appear in high
contrast zones, depending on the image captured.
2
The camera is not firmly restricted on its connector (CN15). It is possible that during
shipment the camera could be unplugged. In such case you need to plug it into the right
position as shown on the picture below (pin 1 dot on top left corner of the socket).
It is not recommended to remove it in order to avoid false contact later.
Table 12.
MicroSD Card related jumper
Jumper
Description
JP31
To disable USB OTG PHY U8, JP31 is not fitted.
Default setting: Fitted.
Table 13.
Camera module related jumpers
Jumper
Description
JP26
To set power down mode for the camera module, JP26 is fitted.
Default setting: Not fitted.
SB16
Description of SB16 is in
.