Phytec phyBoard Wega AM335x User guide

A product of a PHYTEC Technology Holding company
phyBOARD®-Wega AM335x
Application Guide
Document No.: L-792e_1
SBC Prod. No..: PB-00802-xxx
CB PCB No.: 1405.1, 1405.2
SOM PCB No.: 1397.1
Edition: August 2015

phyBOARD-Wega AM335x [PB-00802-xxx]
©PHYTEC Messtechnik GmbH 2014 L-792e_1
Copyrighted products are not explicitly indicated in this manual. The absence of the trademark (™, or ®)
and copyright (©) symbols does not imply that a product is not protected. Additionally, registered patents
and trademarks are similarly not expressly indicated in this manual.
The information in this document has been carefully checked and is considered to be entirely reliable.
However, PHYTEC Messtechnik GmbH assumes no responsibility for any inaccuracies. PHYTEC Messtechnik
GmbH neither gives any guarantee nor accepts any liability whatsoever for consequential damages
resulting from the use of this manual or its associated product. PHYTEC Messtechnik GmbH reserves the
right to alter the information contained herein without prior notification and accepts no responsibility for
any damages that might result.
Additionally, PHYTEC Messtechnik GmbH offers no guarantee nor accepts any liability for damages arising
from the improper usage or improper installation of the hardware or software. PHYTEC Messtechnik GmbH
further reserves the right to alter the layout and/or design of the hardware without prior notification and
accepts no liability for doing so.
©Copyright 2015 PHYTEC Messtechnik GmbH, D-55129 Mainz.
Rights - including those of translation, reprint, broadcast, photomechanical or similar reproduction and
storage or processing in computer systems, in whole or in part - are reserved. No reproduction may occur
without the express written consent from PHYTEC Messtechnik GmbH.
EUROPE NORTH AMERICA FRANCE
Address: PHYTEC Messtechnik GmbH
Robert-Koch-Str. 39
D-55129 Mainz
GERMANY
PHYTEC America LLC
203 Parfitt Way SW
Bainbridge Island, WA 98110
USA
PHYTEC France
17, place Saint-Etienne
F-72140 Sillé-le-Guillaume
FRANCE
Sales: +49 6131 9221-32
+1 800 278-9913
+33 2 43 29 22 33
Technical
Support:
+49 6131 9221-31
+1 206 780-9047
Fax: +49 6131 9221-33 +1 206 780-9135 +33 2 43 29 22 34
Web Site: http://www.phytec.de
http://www.phytec.eu http://www.phytec.com http://www.phytec.fr
INDIA CHINA
Address: PHYTEC Embedded Pvt. Ltd.
#16/9C, 3rd Main, 3rd Floor, 8th Block,
Opp. Police Station Koramangala,
Bangalore-560095
INDIA
PHYTEC Information Technology (Shenzhen) Co. Ltd.
Suite 2611, Floor 26, Anlian Plaza,
4018 Jin Tian Road
Futian District, Shenzhen
CHINA 518026
Sales: +91-80-4086 7046/48
+86-755-3395-5875
Technical
Support:
+91-80-4086 7047
Fax: +86-755-3395-5999
Web Site: http://www.phytec.in http://www.phytec.cn
1st Edition August 2015

Contents
©PHYTEC Messtechnik GmbH 2014 L-792e_1 i
List of Figures........................................................................................................... iv
List of Tables ............................................................................................................. v
Conventions, Abbreviations and Acronyms .................................................................... vi
Preface .................................................................................................................... ix
1Introduction ...................................................................................................... 1
1.1 Hardware Overview........................................................................................ 1
1.1.1 Features of the phyBOARD-Wega AM335x ............................................... 1
1.1.2 Block Diagram................................................................................... 2
1.1.3 View of the phyBOARD-Wega AM335x..................................................... 3
1.2 Software Overview......................................................................................... 4
1.2.1 Ubuntu............................................................................................ 4
1.2.2 Eclipse............................................................................................. 4
1.2.3 Qt Creator ........................................................................................ 4
1.2.4 Yocto Project .................................................................................... 4
2Application Programming..................................................................................... 5
2.1 Working with Eclipse...................................................................................... 5
2.1.1 Programming in the C/C++ Perspective................................................... 5
2.1.1.1 Work with the Demo Project .................................................... 5
2.1.1.2 Creating a New Project ..........................................................11
2.1.1.3 Modifying the Demo Application .............................................18
2.1.1.4 Starting a Program out of Eclipse on the Target..........................21
2.1.2 Debugging an Example Project ............................................................23
2.1.2.1 Starting the GDB Server on the Target ......................................24
2.1.2.2 Configuring and Starting the Debugger in Eclipse.......................24
2.1.2.3 Setting a Breakpoint ............................................................29
2.1.2.4 Stepping through and Watching Variable Contents .....................30
2.1.2.5 Stepping through and Changing Variable Contents .....................32
2.1.2.6 Using the Memory Monitor.....................................................33
2.2 Working with Qt Creator ................................................................................36
2.2.1 Stop the Running Qt Demo on the Target ...............................................36
2.2.2 Importing the Demo Application..........................................................36
2.2.3 Work with the Demo Application ..........................................................38
2.2.4 Compile and Run the Demo Application on the Target...............................41
2.2.5 Compile and Run the Demo Application on the Host.................................43
2.2.6 Debugging the Demo Application.........................................................44
2.2.6.1 Using QDebug for simple Debugging Messages...........................44
2.2.6.2 Using the integrated Qt Creator Debugger.................................46
3Accessing the phyBOARD-Wega Features .............................................................. 51
3.1 Overview of the phyBOARD-Wega Peripherals.....................................................51
3.1.1 Connectors and Pin Header.................................................................51
3.1.2 LEDs...............................................................................................52
3.1.3 Switches .........................................................................................52
3.1.4 Jumpers..........................................................................................53
3.2 Functional Components on the phyBOARD-Wega SBC ..........................................54

phyBOARD-Wega AM335x [PB-00802-xxx]
ii ©PHYTEC Messtechnik GmbH 2014 L-792e_1
3.2.1 Power Supply .................................................................................. 54
3.2.1.1 Power Connectors (X67 and X72)............................................ 54
3.2.1.1.1 PHOENIX 2-pole MINI COMBICON Base Strip (X67)........55
3.2.1.1.2 USB Micro-AB (X72)...............................................55
3.2.1.1.3 WAGO 6-pole Male Header (X67)...............................55
3.2.1.2 Power LED D58 ................................................................... 56
3.2.1.3 VBAT and RTC ..................................................................... 56
3.2.2 UART Connectivity (X66 and X69) ........................................................ 57
3.2.2.1 Software Implementation ..................................................... 58
3.2.3 Ethernet Connectivity (X16 and X17) ................................................... 59
3.2.3.1 Software Implementation ..................................................... 60
3.2.4 USB Connectivity (X15 and X42).......................................................... 60
3.2.4.1 Software Implementation ..................................................... 61
3.2.4.1.1 USB Host .............................................................61
3.2.4.1.2 USB OTG ..............................................................61
3.2.5 Audio Interface (X55 and X73)............................................................ 62
3.2.5.1 Software Implementation ..................................................... 63
3.2.6 CAN Connectivity (X65, JP3)............................................................... 64
3.2.6.1 Software Implementation ..................................................... 65
3.2.7 Secure Digital Memory Card/ MultiMedia Card (X11) ............................... 67
3.2.7.1 Software Implementation ..................................................... 67
3.2.8 Boot Mode (S4) ............................................................................... 68
3.2.9 System Reset Button (S2) .................................................................. 69
3.2.10 Audio/Video connectors (X70 and X71) ................................................ 69
3.2.11 Expansion connector (X69)................................................................ 69
3.2.12 Addressing the RTC........................................................................... 70
3.2.13 CPU Core Frequency Scaling ............................................................... 70
3.2.14 Using the Pre-installed Qt Demo Applications ........................................ 72
4System Level Customizing .................................................................................. 73
4.1 About this Section....................................................................................... 73
4.2 Software Overview....................................................................................... 73
4.3 Getting Started with the BSP ......................................................................... 73
4.3.1 Working with Yocto........................................................................... 73
4.3.2 Writing the Root Filesystem into the Target’s Flash ................................. 77
4.4 Updating the Software using an SD Card .......................................................... 80
4.4.1 Creating a bootable SD Card ............................................................... 80
4.4.2 Flashing the Bootloader .................................................................... 81
4.4.3 Writing the Kernel / Root File System into Flash ..................................... 81
4.5 Setup your own Linux Host PC........................................................................ 82
4.5.1 Essential settings............................................................................. 82
4.5.1.1 Installing Ubuntu................................................................ 82
4.5.1.2 Installation of Software Packages........................................... 84
4.5.1.3 Set the Git Configuration ...................................................... 85
4.5.1.4 Build the Board Support Package and Install the SDK ................. 85
4.5.1.5 Setting up Eclipse and Integrate Plug-ins................................. 86
4.5.1.6 Install and Setup Qt Creator................................................... 89
4.5.1.7 Setting up a TFTP server........................................................ 94
4.5.2 Optional Settings............................................................................. 95

Contents
©PHYTEC Messtechnik GmbH 2014 L-792e_1 iii
4.6 System Level Hardware Information ................................................................96
4.6.1 USB Connectivity (X15 and X42) ..........................................................96
4.6.1.1 Combining the Overcurrent Signals (J78 and J77) ......................96
4.6.1.2 96
4.6.1.3 Rerouting the USB Interfaces to different Connectors (J72 – J75, J79
and J80) ............................................................................97
4.6.2 I2C Connectivity................................................................................97
4.6.2.1 Software Implementation......................................................98
4.6.2.1.1 EEPROM............................................................... 98
4.6.3 Audio/Video Connectors (X70 and X71).................................................99
4.6.3.1 Software Implementation....................................................102
4.6.3.1.1 Framebuffer ....................................................... 102
4.6.3.1.2 Brightness......................................................... 102
4.6.3.1.3 Touch ............................................................... 102
4.6.3.1.4 I2C Connectivity .................................................. 103
4.6.3.1.5 Audio I2S........................................................... 103
4.6.3.1.6 User programmable GPIOs..................................... 103
4.6.4 Expansion Connector (X69)...............................................................104
4.6.4.1 Software Implementation....................................................107
4.6.4.1.1 UART Connectivity ............................................... 107
4.6.4.1.2 USB Connectivity ................................................ 107
4.6.4.1.3 SPI Connectivity.................................................. 107
4.6.4.1.4 I2C Connectivity .................................................. 108
4.6.4.1.5 User programmable GPIOs..................................... 108
5Revision History ............................................................................................. 110
Index.................................................................................................................... 111

phyBOARD-Wega AM335x [PB-00802-xxx]
iv ©PHYTEC Messtechnik GmbH 2014 L-792e_1
List of Figures
Figure 1: Block Diagram of the phyBOARD-Wega AM335x ................................................. 2
Figure 2: View of the phyBOARD-Wega AM335x .............................................................. 3
Figure 3: Power Supply Connectors............................................................................ 54
Figure 4: RS-232 Interface Connector (X66) ................................................................ 57
Figure 5: RS-232 Connector Signal Mapping................................................................ 58
Figure 6: Ethernet Interfaces at Connectors (X16 and X17)............................................. 59
Figure 7: Components supporting the USB Interfaces.................................................... 60
Figure 8: Audio Interfaces at Connectors (X55 and X73)................................................. 62
Figure 9: Components supporting the CAN Interface ..................................................... 64
Figure 10: CAN Connector Signal Mapping .................................................................... 65
Figure 11: SD / MM Card interface at connector( X11) ..................................................... 67
Figure 12: Boot Switch (S4)....................................................................................... 68
Figure 13: System Reset Button (S2) ........................................................................... 69
Figure 14: Audio/Video Connectors (X70 and X71) ......................................................... 99
Figure 15: Expansion Connector (X69) ........................................................................104

Contents
©PHYTEC Messtechnik GmbH 2014 L-792e_1 v
List of Tables
Table 1: Abbreviations and Acronyms used in this Manual..............................................vii
Table 2: phyBOARD-Wega Connectors and Pin Headers..................................................51
Table 3: phyBOARD-Wega LEDs Descriptions ...............................................................52
Table 4: phyBOARD-Wega Switches Description ...........................................................52
Table 5: phyBOARD-Wega Jumper Description .............................................................53
Table 6: Pin Assignment of the 2-pole PHOENIX MINI COMBICON Base Strip at X67..............55
Table 7: Pin Assignment of the 6-pole WAGO Connector at X67........................................56
Table 8: Pin Assignment of RS-232 Interface Connector X66...........................................57
Table 9: Pin Assignment of Audio Connector X73..........................................................62
Table 10: Pin Assignment of Audio Connector X55..........................................................62
Table 11: Pin Assignment of CAN Connector X65 ............................................................64
Table 12: Boot Switch Configuration (S4).....................................................................68
Table 13: USBOC Configuration ..................................................................................96
Table 14: USB Routing Configuration ..........................................................................97
Table 15: I2C Connectivity .........................................................................................97
Table 16: I2C Addresses in Use ...................................................................................98
Table 17: Pin Assignment of PHYTEC A/V connector X70 ................................................101
Table 18: Pin Assignment of PHYTEC A/V connector X71 ................................................101
Table 19: A/V Jumper Configuration J77....................................................................101
Table 20: GPIOs available at A/V Connector X71...........................................................103
Table 21: Pin Assignment of PHYTEC Expansion Connector X69 .......................................106
Table 22: GPIOs available at Expansion Connector X69..................................................108
Table 23: GPO Pins and Device Path...........................................................................109

phyBOARD-Wega AM335x [PB-00802-xxx]
vi ©PHYTEC Messtechnik GmbH 2014 L-792e_1
Conventions, Abbreviations and Acronyms
This hardware manual describes the PB-00802-xxx Single Board Computer (SBC) in the
following referred to as phyBOARD-Wega AM335x. The manual specifies the
phyBOARD-Wega AM335x's design and function. Precise specifications for the Texas
Instruments AM335x microcontrollers can be found in the Texas Instrumenten’s AM335x
Data Sheet and Technical Reference Manual.
Conventions
The conventions used in this manual are as follows:
Signals that are preceded by an "n", "/", or “#”character (e.g.: nRD, /RD, or #RD), or
that have a dash on top of the signal name (e.g.: RD) are designated as active low
signals. That is, their active state is when they are driven low, or are driving low.
A "0" indicates a logic zero or low-level signal, while a "1" represents a logic one or
high-level signal.
The hex-numbers given for addresses of I2C devices always represent the 7 MSB of the
address byte. The correct value of the LSB which depends on the desired command
(read (1), or write (0)) must be added to get the complete address byte. E.g. given
address in this manual 0x41 => complete address byte = 0x83 to read from the device
and 0x82 to write to the device.
Tables which describe jumper settings show the default position in bold, blue text.
Text in blue italic indicates a hyperlink within, or external to the document. Click these
links to quickly jump to the applicable URL, part, chapter, table, or figure.
Text in bold italic indicates an interaction by the user, which is defined on the screen.
Text in Consolasindicates an input by the user, without a premade text or button to
click on.
Text in italic indicates proper names of development tools and corresponding controls
(windows, tabs, commands etc.) used within the development tool, no interaction
takes place.
White Text on black background shows the result of any user interaction (command,
program execution, etc.)
Abbreviations and Acronyms
Many acronyms and abbreviations are used throughout this manual. Use the table below to
navigate unfamiliar terms used in this document.

Conventions, Abbreviations and Acronyms
©PHYTEC Messtechnik GmbH 2014 L-792e_1 vii
Abbreviation Definition
A/V Audio/Video
BSP Board Support Package (Software delivered with the Development Kit
including an operating system (Windows, or Linux) pre-installed on
the module and Development Tools)
CB Carrier Board; used in reference to the phyBOARD-Wega Development
Kit Carrier Board
DFF D flip-flop
DSC Direct Solder Connect
EMB External memory bus
EMI Electromagnetic Interference
GPI General purpose input
GPIO General purpose input and output
GPO General purpose output
IRAM Internal RAM; the internal static RAM on the Texas Instruments
AM335x microcontroller
J Solder jumper; these types of jumpers require solder equipment to
remove and place
JP Solderless jumper; these types of jumpers can be removed and placed
by hand with no special tools
NC Not Connected
NM Not Mounted
NS Not Specified
PCB Printed circuit board
PDI PHYTEC Display Interface; defined to connect PHYTEC display adapter
boards, or custom adapters
PEB PHYTEC Expansion Board
PMIC Power management IC
PoE Power over Ethernet
PoP Package on Package
POR Power-on reset
RTC Real-time clock
SBC Single Board Computer; used in reference to the PBA-CD-02
/phyBOARD-Wega AM335x
SMT Surface mount technology
SOM System on Module; used in reference to the PCL-051
/phyCORE-AM335x module
Sx User button Sx (e.g. S1, S2) used in reference to the available user
buttons, or DIP switches on the CB
Sx_y Switch y of DIP switch Sx; used in reference to the DIP switch on the
carrier board
VSTBY SOM standby voltage input
Table 1: Abbreviations and Acronyms used in this Manual

phyBOARD-Wega AM335x [PB-00802-xxx]
viii ©PHYTEC Messtechnik GmbH 2014 L-792e_1
At this icon you might leave the path of this Application Guide.
This is a warning. It helps you to avoid annoying problems.
You can find useful supplementary information about the topic.
At the beginning of each chapter you can find information about the time
required to read the following chapter.
You have successfully completed an important part of this Application
Guide.
You can find information to solve problems.
Note: The BSP delivered with the phyBOARD-Wega AM335x usually includes drivers and/or
software for controlling all components such as interfaces, memory, etc. Therefore
programming close to hardware at register level is not necessary in most cases. For this
reason, this manual contains no detailed description of the controller's registers. Please
refer to the AM335x Technical Reference Manual, if such information is needed to connect
customer designed applications.
The BSP is configured according to the hardware configuration including the expansion
board delivered with the kit. Thus some functions of the hyBOARD-Wega AM335x might not
be available if the corresponding pins and drivers are needed to support an expansion
board. If the expansion board is removed, or exchanged the BSP must be exchanged, too.
From BSP version AM335x-PD14.1-rc1 on it is possible to configure the BSP in regard to
the hardware configuration. This allows to easily adapt the BSP if an expansion board is
attached, removed, or exchanged.

Preface
©PHYTEC Messtechnik GmbH 2014 L-792e_1 ix
Preface
As a member of PHYTEC's new phyBOARD®product family the phyBOARD-Wega AM335x is
one of a series of PHYTEC System on Modules (SBCs) that offer off-the-shelf solutions for a
huge variety of industrial applications. The new phyBOARD®product family consists of a
series of extremely compact embedded control engines featuring various processing
performance classes. All phyBOARDs are rated for industry, cost optimized and offer long-
term availability. The phyBOARD-Wega AM335x is one of currently six industrial-grade
carrier boards which are suitable for series production and that have been realized in
accordance with PHYTEC's new SBCplus concept. It is an excellent example of this concept.
SBCplus Concept
The SBCplus concept was developed to meet fine differences in customer requirements with
little development effort and thus to greatly reduce the time-to-market.
Core of the SBCplus concept is the SBC design library (a kind of construction set) that
consists of a great number of function blocks (so-called "building blocks") which are
refined constantly. The recombination of these function blocks allows to develop a
customer specific SBC within a short time. Thus, PHYTEC is able to deliver production-ready
custom Single Board Computers within a few weeks at very low costs.
The already developed SBCs, such as the phyBOARD-Wega, each represent an intersection
of different customer wishes. Because of that all necessary interfaces are already available
on the standard versions, thus, allowing to integrate them in a large number of
applications without modification. For any necessary detail adjustment extension
connectors are available to enable adding of a wide variety of functions.
Cost-optimized with Direct Solder Connect (DSC) Technology
At the heart of the phyBOARD-Wega is the phyCORE-AM335x System on Module (SOM). As
with all SBCs of the phyBOARD®family the SOM is directly soldered onto the carrier board
PCB for routing of signals from the SOM to applicable I/O interfaces. This “Direct Solder
Connect” (DSC) of the SOM eliminates costly PCB to PCB connectors, thereby further
reducing overall system costs, and making the phyBOARDs ideally suited for deployment
into a wide range of cost-optimized and robust industrial applications.
Customized Expandability from PHYTEC
Common interface signals route to standard connector interfaces on the carrier board such
as Ethernet, CAN, RS-232, and audio. Due to the easily modifiable phyBOARD design
approach (see "SBCplus concept"), these plug-and-play interfaces can be readily adapted
in customer-specific variants according to end system requirements.

phyBOARD-Wega AM335x [PB-00802-xxx]
x©PHYTEC Messtechnik GmbH 2014 L-792e_1
Some signals from the processor populating the SOM also extend to the expansion, and
A/V connectors of the phyBOARD-Wega. This provides for customized expandability
according to end user requirements. Thus expandability is made easy by available plug-
and-play expansion modules from PHYTEC.
• HDMI and LVDS/Parallel Displays
• Power Supply, with broad voltage range
• Industrial I/O (including WLAN)
• Home-Control Board (WiFi, KNX/EIB, I/O)
• M2M Board (GPS, GSM, I/O's)
• Debug Adapter
The default orientation of the expansion bus connectors is parallel and on the top side of
the carrier board PCB. However, in custom configurations the connectors can be mounted
on the PCB's underside. Connectors in perpendicular orientation can also populate the top
or underside of the PCB. This enables maximum flexibility for orientation of expansion
modules on the phyBOARD-Wega, as well as integration of the system into a variety of end
application physical envelopes and form factors.
Easy Integration of Display und Touch
The phyBOARD and its expansion modules enable easy connection of parallel or LVDS based
displays, as well as resistive or capacitive touch screens.
OEM Implementation
Implementation of an OEM-able SBC subassembly as the "core" of your embedded design
allows you to focus on hardware peripherals and firmware without expending resources to
"re-invent" microcontroller circuitry. Furthermore, much of the value of the phyBOARD®
SBC lies in its layout and test.
Software Support
Production-ready Board Support Packages (BSPs) and Design Services for our hardware will
further reduce your development time and risk and allow you to focus on your product
expertise.

Preface
©PHYTEC Messtechnik GmbH 2014 L-792e_1 xi
Ordering Information
Ordering numbers:
phyBOARD-Wega AM335x Development Kit: KPB-00802-xxx
phyBOARD-Wega AM335x SBC: PB-00802-xxx
Product Specific Information and Technical Support
In order to receive product specific information on changes and updates in the best way
also in the future, we recommend to register at
http://www.phytec.de/de/support/registrierung.html or
http://www.phytec.eu/europe/support/registration.html
For technical support and additional information concerning your product, please visit the
support section of our web site which provides product specific information, such as errata
sheets, application notes, FAQs, etc.
http://www.phytec.de/de/support/faq/faq-phyBOARD-Wega-AM335x.html or
http://www.phytec.eu/europe/support/faq/faq-phyBOARD-Wega-AM335x.html
Other Products and Development Support
Aside of the new phyBOARD®family, PHYTEC supports a variety of 8-/16- and 32-bit
controllers in two ways:
(1) as the basis for Rapid Development Kits which serve as a reference and evaluation
platform
(2) as insert-ready, fully functional OEM modules, which can be embedded directly into
the user’s peripheral hardware design.
Take advantage of PHYTEC products to shorten time-to-market, reduce development costs,
and avoid substantial design issues and risks. With this new innovative full system solution
you will be able to bring your new ideas to market in the most timely and cost-efficient
manner.
For more information go to:
http://www.phytec.de/de/leistungen/entwicklungsunterstuetzung.html or
www.phytec.eu/europe/oem-integration/evaluation-start-up.html

phyBOARD-Wega AM335x [PB-00802-xxx]
xii ©PHYTEC Messtechnik GmbH 2014 L-792e_1
Declaration of Electro Magnetic Conformity of the PHYTEC
phyBOARD-Wega AM335x
PHYTEC Single Board Computers (henceforth products) are designed for installation in
electrical appliances, or as part of custom applications, or as dedicated Evaluation Boards
(i.e.: for use as a test and prototype platform for hardware/software development) in
laboratory environments.
Caution!
PHYTEC products lacking protective enclosures are subject to damage by ESD and, hence,
may only be unpacked, handled or operated in environments in which sufficient
precautionary measures have been taken in respect to ESD-dangers. It is also necessary
that only appropriately trained personnel (such as electricians, technicians and engineers)
handle and/or operate these products. Moreover, PHYTEC products should not be operated
without protection circuitry if connections to the product's pin header rows are longer
than 3 m.
PHYTEC products fulfill the norms of the European Union’s Directive for Electro Magnetic
Conformity only in accordance to the descriptions and rules of usage indicated in this
hardware manual (particularly in respect to the pin header row connectors, power
connector and serial interface to a host-PC).
Implementation of PHYTEC products into target devices, as well as user modifications and
extensions of PHYTEC products, is subject to renewed establishment of conformity to, and
certification of, Electro Magnetic Directives. Users should ensure conformance following
any modifications to the products as well as implementation of the products into target
systems.

Preface
©PHYTEC Messtechnik GmbH 2014 L-792e_1 xiii
Product Change Management and information in this manual on parts populated on
the SOM / SBC
When buying a PHYTEC SOM / SBC, you will, in addition to our HW and SW offerings, receive
a free obsolescence maintenance service for the HW we provide.
Our PCM (Product Change Management) Team of developers, is continuously processing, all
incoming PCN's (Product Change Notifications) from vendors and distributors concerning
parts which are being used in our products.
Possible impacts to the functionality of our products, due to changes of functionality or
obsolesce of a certain part, are being evaluated in order to take the right masseurs in
purchasing or within our HW/SW design.
Our general philosophy here is: We never discontinue a product as long as there is
demand for it.
Therefore we have established a set of methods to fulfill our philosophy:
Avoiding strategies
•Avoid changes by evaluating long-livety of parts during design in phase.
•Ensure availability of equivalent second source parts.
•Stay in close contact with part vendors to be aware of roadmap strategies.
Change management in rare event of an obsolete and non replaceable part
•Ensure long term availability by stocking parts through last time buy management
according to product forecasts.
•Offer long term frame contract to customers.
Change management in case of functional changes
•Avoid impacts on product functionality by choosing equivalent replacement parts.
•Avoid impacts on product functionality by compensating changes through HW redesign
or backward compatible SW maintenance.
•Provide early change notifications concerning functional relevant changes of our
products.
Therefore we refrain from providing detailed part specific information within this
manual, which can be subject to continuous changes, due to part maintenance for our
products.
In order to receive reliable, up to date and detailed information concerning parts used
for our product, please contact our support team through the contact information
given within this manual.

phyBOARD-Wega AM335x [PB-00802-xxx]
xiv ©PHYTEC Messtechnik GmbH 2014 L-792e_1

Introduction
©PHYTEC Messtechnik GmbH 2014 L-792e_1 1
1Introduction
1.1 Hardware Overview
The phyBOARD-Wega for phyCORE-AM335x is a low-cost, feature-rich software
development platform supporting the Texas Instruments AM335x microcontroller.
Moreover, due to the numerous standard interfaces the phyBOARD-Wega AM335x can serve
as bedrock for your application. At the core of the phyBOARD-Wega is the
PCL-051/phyCORE-AM335x System On Module (SOM) in a direct solder form factor,
containing the processor, DRAM, NAND Flash, power regulation, supervision, transceivers,
and other core functions required to support the AM335x processor. Surrounding the SOM
is the PBA-CD-02/phyBOARD-Wega carrier board, adding power input, buttons,
connectors, signal breakout, and Ethernet connectivity amongst other things.
The PCL-051 System On Module is a connector-less, BGA style variant of the
PCM-051/phyCORE-AM335x SOM. Unlike traditional PHYTEC SOM products that support
high density connectors, the PCL-051 SOM is directly soldered down to the
phyBOARD-Wega using PHYTEC's Direct Solder Connect technology. This solution offers an
ultra-low cost Single Board Computer for the AM335x processor, while maintaining most of
the advantages of the SOM concept.
Adding the phyCORE-AM335x SOM into your own design is as simple as ordering the
connectored version (PCM-051) and making use of our phyCORE Carrier Board reference
schematics.
1.1.1 Features of the phyBOARD-Wega AM335x
The phyBOARD-Wega AM335x supports the following features :
•Developed in accordance with PHYTEC's new SBCplus concept (Preface)
•PHYTEC’s phyCORE-AM335x SOM with Direct Solder Connect (DSC)
•Pico ITX standard dimensions (100 mm × 72 mm)
•Boot from MMC or NAND Flash
•Max. 1 GHz core clock frequency
•Three different power supply options (5 V via 3.5 mm combicon or micro USB connector;
or 12 V – 24 V through external power module)
•Two RJ45 jacks for 10/100 Mbps Ethernet
•One USB host interface brought out to an upright USB Standard-A connector, or at the
expansion connector1
•One USB OTG interface available at an USB Micro-AB connector at the back side, or at
the expansion connector1
•One Secure Digital / Multi Media Memory Card interface brought out to a Micro-SD
connector at the back side
1: Caution! There is no protective circuit for the USB interface brought out at the expansion connector.

phyBOARD-Wega AM335x [PB-00802-xxx]
2©PHYTEC Messtechnik GmbH 2014 L-792e_1
•CAN interface at 2×5 pin header 2.54 mm
•Audiocodec with Stereo Line In and Line Out (2×3 pin header 2.54 mm) and mono
speaker (2-pole Molex SPOX)
•RS-232 transceiver supporting UART1 incl. handshake signals with data rates of up to
1 Mbps (2×5 pin header 2.54 mm)
•Reset-Button
•Audio/Video (A/V) connectors
•Expansion connector with different interfaces
•Backup battery supply for RTC with Gold cap (lasts approx. 17 ½ days)
1.1.2 Block Diagram
Figure 1: Block Diagram of the phyBOARD-Wega AM335x

Introduction
©PHYTEC Messtechnik GmbH 2014 L-792e_1 3
1.1.3 View of the phyBOARD-Wega AM335x
Figure 2: View of the phyBOARD-Wega AM335x
optional.

phyBOARD-Wega AM335x [PB-00802-xxx]
4©PHYTEC Messtechnik GmbH 2014 L-792e_1
1.2 Software Overview
1.2.1 Ubuntu
Ubuntu - which you is used as operating system for our virtual machine hard disk image - is
a free and open source operating system based on Debian Linux. Basically it is designed for
desktop use. Web statistics suggest that Ubuntu is one of the most popular operating
systems in the Linux desktop environment.
The Ubuntu release which we deliver is 14.04.2 and was released on 20 February 2015.
Ubuntu 14.04 code name "Trusty Tahr" is designated as a Long Term Support (LTS) release
and the first stable release was on 17 April 2014. LTS means that it will be supported and
updated for five years.
Our Ubuntu version comes with Unity as desktop environment, dpkg as package
management system, the update method is based on APT (Advanced Packaging Tool) and
the user space uses GNU.
1.2.2 Eclipse
The Eclipse platform provides support for C/C++. Because the Eclipse platform is only a
framework for developer tools, it does not support C/C++ directly, instead it uses external
plug-ins. This Application Guide shows you how to make use of the CDT plug-in.
The CDT is an open source project (licensed under the Common Public License)
implemented purely in Java as a set of plug-ins for the Eclipse SDK platform. These plug-ins
add a C/C++ perspective to the Eclipse Workbench that can now support C/C++ development
with a number of views and wizards, along with advanced editing and debugging support.
1.2.3 Qt Creator
Qt Creator is a cross-platform development environment for the Qt framework. Included are
a code editor and a Qt Designer to build graphical user interfaces (GUI). It uses the GNU
C/C++ compiler.
1.2.4 Yocto Project
The Yocto Project is an open source collaboration to create custom Linux-based systems for
embedded products regardless of the hardware architecture. We use the Yocto Project to
create the Board Support Package (BSP) for our hardware.
Table of contents
Other Phytec Single Board Computer manuals

Phytec
Phytec PhyBOARD-Mira i.MX6 User manual

Phytec
Phytec phyCORE-AM64xx User manual

Phytec
Phytec phyCORE-TC1796 User manual

Phytec
Phytec phyCORE-XC167 User manual

Phytec
Phytec phyCORE-AM64 Series User manual

Phytec
Phytec phyCORE-P8xC51Mx2 User manual

Phytec
Phytec phyCORE-OMAP44 Series User manual

Phytec
Phytec phyCORE-AM335x User manual

Phytec
Phytec phyCORE-AM65x User manual

Phytec
Phytec phyCORE-i.MX7 User manual