![Phytec phyBoard Wega AM335x Application Manual Download Page 119](http://html1.mh-extra.com/html/phytec/phyboard-wega-am335x/phyboard-wega-am335x_application-manual_1554191119.webp)
Advanced
Information
©
PHYTEC Messtechnik GmbH 2014 L-792e_1
103
4.6.3.1.4
I
2
C Connectivity
Please refer to
section 4.6.2
for complete information on the I
2
C connectivity.
4.6.3.1.5
Audio I
2
S
Audio support on the module is done via the I
2
S interface and controlled via I
2
C.
On the phyBOARD-Wega the audio codec's registers can be accessed via the I2C0 interface
at address 0x18 (7-bit MSB addressing).
4.6.3.1.6
User programmable GPIOs
Two pins of the A/V connector X71 are dedicated as GPIO (
available/used on the corresponding expansion-boards, e.g. PEB-AV-02. For more
information please look at the Expansion Boards Application Guide (L-793e).
The BSP delivered with the phyBOARD-Wega supports the GPIOs according
to the configuration done in correspondence to the expansion board
installed on delivery. Thus the GPIOs might not be available if they are
needed to support functions of the expansion board. In order to apply the
GPIOs for other purposes after removal of the expansion board the BSP
must be exchanged, too.
This allows to easily adapt the BSP if an expansion board is attached,
removed, or exchanged, thus allowing to release the GPIOs for other
purposes.
With the appropriate BSP / BSP configuration the GPIOs (GPIO1_30, GPIO3_19, or
GPIO3_21) are available as input by default.
The following table lists all GPIOs, their location, their number and their default usage.
Pin # GPIO Name
GPIOno
Default
Usage
Comment
5 GPIO1_30
62
IN
6
GPIO3_19 or
GPIO3_21
115 or
117
IN
selectable with jumper J77
Table 20:
GPIOs available at A/V Connector X71
Please refer to chapter
for information on how to use the GPIO pins.