AM572x General Purpose EVM HW User Guide

= Introduction =

This document describes the hardware architecture of the AM572x Evaluation Module (EVM) (Part # TMDSEVM572X) which is based on the Texas Instruments AM572x processor. This EVM is also commonly known as the AM572x General Purpose (GP) EVM.

Description
The AM572x General Purpose EVM is a standalone test, development, and evaluation module system that enables developers to write software and develop hardware around an AM572x processor subsystem. The main elements of the AM572x subsystem are already available on the base board of the EVM which gives developers the basic resources needed for most general purpose type projects that encompass the AM572x as the main processor. Furthermore, additional, "typical" type peripherals are built into the EVM such as memory, sensors, LCD, Ethernet PHY, etc. so that prospective systems can be modeled quickly without significant additional hardware resources.

The following sections give more details regarding the EVM.

EVM System View
The System View of the AM572x General Purpose EVM consists the Processor Module and LCD Module stacked together and connected through SMT connectors (Camera Module, TMDSCM572x, is optional and it must be purchased separately). See the pictures below of the EVM.



Figure 1: AM572x General Purpose EVM

Schematics/Design/Errata Files

 * HW Documentation - Schematics, Design Files, and other related HW Documentation

Be sure to view the Errata document for important notes

Other Useful Links

 * AM572x GP Evaluation Module
 * AM572x GP EVM Quick Start Guide
 * AM572x GP EVM Hardware Setup


 * AM572x GP EVM Videos:
 * Meet the AM572x Development Kit
 * Getting Started Out of the Box With the AM5728 EVM

= Important Usage Notes =

Isolated Power Supply


 * An isolated Power Supply (GND sleeve of DC barrel not shorted to earth GND) must be used. Refer to "Power Source" section of this wiki for additional Power Supply requirements.

Powering On EVM


 * If the PMIC needs to be on for more than 7 sec without SD boot image (i.e. connecting with CCS), a zero ohm shunt can be installed in J5. CAUTION:  Do not leave the board on without first either:
 * Booting using the Linux SDK boot image, or
 * Booting using the RTOS SDK boot image (using SBL), or
 * Connecting to CCS and running the AM572x GEL file (using fast JTAG connection such as XDS560)
 * This is required because the AM57x device has limited Power-On-Hours without releasing eMMC contention after reset. Refer to the Device Silicon Errata (i863) for more details.


 * A boot option was added to silicon revision 2.0 which allows the user to disable internal pull-down resistors on the eMMC signals and avoid the issue. However, this option was not implemented on the earlier AM572x GP EVMs even though they contain silicon revision 2.0 devices with this option. All TMDXEVM5728 and TMDSEVM572X revisions earlier than A3a, have the SYSBOOT[15] input pulled low which doesn’t disable the internal pull-down resistors on the MMC2 terminals. To disable the internal pull-down resistors without software intervention, remove R432 and install R197 which pulls SYSBOOT[15] high, and install external 47k ohm resistors into positions R250, R251, R252, R253, R254, R255, R256, R257, R258, and R259. This should be done if you plan to have power applied to the AM572x GP EVM for long periods of time without software properly initializing the internal pull resistors.


 * There is one additional concern with adding a shunt to J5. The Linux image for the AM572x GP EVM contains thermal management code that will automatically turn off power to the AM572x GP EVM if it detects a dangerous junction temperature.  When a shunt is installed in J5, software will not be able to power off the EVM and you run the risk of damaging the processor if you are not providing an alternate thermal management solution.

Powering Off EVM


 * Do NOT remove the DC power jack to turn off the board, as it may cause damage.
 * The proper procedure to power down the board is as follows:
 * Use software to gracefully power off (e.g., in Linux, use the "poweroff" command).
 * If unable to use software (e.g., software has crashed or does not have a shut down command), press the power button for at least 15 seconds until the power LED (D3) turns off.
 * If you need to remove the DC power jack:
 * Follow above steps to gracefully power down the board.
 * Disconnect AC power cord from the power brick.
 * Wait several seconds until the DC LED (D41) turns off (the power brick discharges its voltage).
 * Disconnect DC barrel of power brick from the board's DC jack.

Removing Processor and LCD Module Boards


 * Frequent removal and reattaching of the LCD Module should be avoided. The LCD Module connectors are spec'ed an insertion/extraction lifetime of 500 times.


 * The proper procedure for removing the LCD Module is as follows:
 * Unplug from power
 * Lift straight up at arrows on the LCD Module
 * "Unzip" connectors lengthwise, not back and forth. Removing the LCD Module with a back and forth motion (i.e. perpendicular to long edge of connectors), may damage the connectors.
 * The proper procedure for reattaching the LCD Module is as follows:
 * Unplug from power
 * Place LCD Module face down on a flat surface
 * Align connectors on Processor Module with those on LCD Module
 * Push down on all four connectors evenly to attach Processor Module

Removing Camera Module Board


 * The proper procedure for removing the Camera Module is as follows:
 * Unplug from power
 * Either "unzip" along long edge or pull straight up at connector ends. Removing the Camera Module with a back and forth motion (i.e. perpendicular to long edge of connectors), may damage the connector.

Caution: Hot Surface 


 * The Processor Module can get extremely hot. Observe the caution hot icon in silk screen next to processor, and never touch the heatsink without feeling if its hot first.



Figure 2: Caution Hot Icon on Processor Module board

= System Description =

System Board Diagram
The complete AM572x General Purpose EVM is partitioned across three different boards for modularity.

The GP EVM consists of the Processor Module (processor and peripherals), LCD Module (LCD, touchscreen, and peripherals), and the Camera Module (CM).



Figure 3: AM572x GP EVM Key Components

Processor
The AM5728FCBGA processor is the central processor to this EVM. All the resources on the board surround the AM5728 processor to provide development capabilities for hardware and software. See the AM5728 datasheet and TRM for the details about the processor.

There are system configuration signals, SYSBOOT, that can be set on the EVM to define some startup parameters on the AM572x processor. See the Configuration/Setup section later for more details.

Clocks
The EVM has several clocks to support the AM5728 processor.

The main clock for the processor is derived from a 20MHz crystal. An on-board oscillator in the AM5728 generates the base clock and subsequent module clocks as needed within the AM5728 processor. An Auxiliary Oscillator in the AM5728 generates 22.5792MHZ (evenly divides to 44.1KHz and 180.6336MHz).

Reset Signals
RSTOUTn is a warm reset generated by AM572x (RSTOUTN signal). Whenever driven low, it generates a PORZ pulse causing a power-on-reset.

CPU_POR_RESETn is asserted by the reset pushbutton (S2) and is used to force a reset of the AM572x.

PMIC_RESET_OUT is controlled by the PMIC and is used to hold the AM572x in PORZ until all power supplies are ramped and/or stable.

= Power System =

This section describes how the power supply will be implemented.

Power Source
A power supply with the following specs should be used with the AM572x Evaluation Module (power supply is not included):
 * 5A output
 * Positive inner and negative outer terminals
 * Female barrel with 2.5mm tuning fork inner contact and 5.5mm outer diameter contact
 * Isolated power supply



Figure 4: Isolated Power Supply

The push button S1 near to the power cable is used for power ON/OFF. The main power is off until the push button is pressed. After pressing the S1 push button, the main power stays on for 7 seconds then powers off. To keep the power on, see the "Important Usage Notes" section of this wiki. Holding the push button for 15 seconds will forcably turn the main power off.



Figure 5: AM572x GP EVM DC Power Jack

The AM572x Processor Module also includes a connector for a Lithium CR1220 non-rechargeable battery for powering a battery back external Real Time Clock (RTC) MCP79410.
 * The CR1220 battery is NOT included with the AM572x Evaluation Module and needs to be purchased separately, if the MCP79410 is required.
 * This battery should only be replaced by a trained technician.
 * If the battery is installed, R416 must first be removed to avoid shorting the battery.

Power Nets
The power nets used in the AM572x Processor Module schematics are listed in the below tables.

Table 1: AM572x Processor Module Power Nets

Table 2: AM572x LCD Module Power Nets

Table 3: AM572x Camera Module Power Nets

The power sequencing requirements of the AM572x processor (see the AM572x datasheet) are handled automatically by the TPS659037 PMIC.

Power Management IC Power Supplies
The AM572x Processor Module uses the TPS659037 power management IC with the following power supply configuration.

Table 4: AM572x Power supplies from TPS659037

APM Sense Resistors
The AM572x Processor Module has the following sub-systems with current sense resistors. These resistors allow the power to be monitored on each supply rail to check AM572x power requirements during real time software execution. All supply rails with sense resistors have their test points located on headers P2 and P3 so that they can be read easily by a multimeter or connected to a TI INA226 current and power monitor. The value of the resistors are selected to provide the best dynamic range when using a TI INA226 EVM.

Table 5: AM572x Baseboard APM Sense Resistors

= Configuration/Setup =

Boot and emulation setup
The AM572x boot mode sequence is selected via three jumpers on the board (J3, J4, J6).

There are three boot mode options (described below) supported by this board.


 * OPTION 1 Boot Order:
 * SD Boot. This mode will boot from the microSD slot. It can be used to override what is on the eMMC device or to program the eMMC when used in the manufacturing process or for field updates.
 * eMMC Boot. This is the default boot mode, if the microSD is NOT inserted, and will allow for the fastest boot time.


 * OPTION 2 Boot Order:
 * UART Boot. The EVM is hardwired to boot from UART3 in this mode.  Note the Linux debug serial boot also uses this same UART port and pinmuxing.


 * OPTION 3 Boot Order:
 * SATA Boot. This mode will boot from the eSATA connector. This mode can be used to override what is on the microSD.
 * SD Boot. This mode will boot from the microSD slot.

The table below summarizes the jumper configuration for the three bode mode sequence options supported by the board.

Table 6: Jumper Configuration for Boot Mode Selection 

Emulation and Hardware setup
For complete list of supported emulators and hardware configuration required to connect to the GP EVM using CCS refer to the Hardware setup guide here: AM572x GP EVM Hardware Setup

I2C Address Assignments
In the AM572x GP EVM boards, each separate board has an I2C ID memory that contains the details of the identity of that board such as it's configuration, etc. (see sections below for more details on the memories' contents).

Table 7: AM572x Processor Module I2C Bus Addresses

Table 8: AM572x LCD Module I2C Bus Addresses

Table 9: AM572x Camera Module I2C Bus Addresses

I2C ID Memory
The Processor Module and LCD Module boards each have a dedicated I2C EEPROM which contains specific identity/configuration information for that board. In addition, there is available space in each memory for user specific configuration information.

The part number of the memory device is pn#CAT24C256WI-G.

Table 10: AM572x Processor Module EEPROM Data

Table 11: AM572x LCD Module EEPROM Data

= Processor Module Functional Block Descriptions =

This section describes major functional blocks of the AM572x EVM Processor Module System.

Memory
Described in the following sections are the four memory devices found on the board.

4KB EEPROM (Board Identity Memory)
The Processor Module and LCD Module boards each contain a single 4KB EEPROM provided on I2C1 that contains the board specific information and allows the processor to automatically detect which board is connected and the version of that board. Other hardware specific data can be stored on this memory device as well. The WP pin on the EEPPROM device should be pulled to GND before writing to the device. Note that over writing the pre-programmed data in the EEPROM will inhibit TI software from running as-is.

The part number of the memory device is pn#CAT24C256WI-G. See the Configuration/Setup section for details on the data in this memory.

2GB DDR3L
The Processor Module contains four 4 Gb (256M x16) of DDR3L SDRAM memories from Kingston. The part number for the DDR3L SDRAM memory used is D2516EC4BXGGB. The AM572x has two 32 bit memory buses with two DDR3L devices on each bus.

A regulator is implemented on the Processor Module that handles the VTT voltage rail. The regulator creates the voltage for the termination circuits and the DDR_VREF level as well. This regulator supplies the required functions for both of the DDR3L banks on the Processor Module. Termination resistors are used.

eMMC Flash Memory
A single Kingston 4GB eMMC Flash Memory is on the Processor Module and can be used for booting and non-volatile storage. The eMMC device connects to the MMC2 port of the processor, allowing for 8-bit wide access.

MicroSD (MMC1) Connector
The MMC1 connector on the Processor Module is an ALPS card socket #SCHA5B0200. This is a standard SD/MMC Card type of connector. It is connected to the MMC1 port of the AM572x processor. Check the AM572x data sheet and TRM for supported card types/densities.

Temperature Sensor
A TI TMP102A temperature sensor on the Processor Module is used to report ambient temperature near the processor. It is controlled by I2C and is configured for an I2C slave address of 0x48.

The sensor is connected to the I2C1 bus on the processor. The alert pin that indicates that the temperature has exceeded the configurable limit is connected to GPIO7_16 on the processor.

Real Time Clock
A battery back external Real Time Clock (RTC) MCP79410 is provided to keep the current clock active while the board is powered down. It can be used in conjunction with the internal Real Time Clock of the processor which will reset when power is removed from the board.

In addition to the typical RTC functions, the MCP79410 device has 64 bytes of battery backed RAM and 1Kb of EEPROM.

The MCP79410 RTC IC will only keep time when RTC coin battery is installed. The AM572x GP EVM does not ship with a coin battery. However, the Processor Module includes connections for a CR1220 non-rechargeable battery that is capable of supplying 35mAh of backup power and is sufficient to keep the RTC active for a couple of years.

The CR1220 battery must be installed by a trained technician. When installing the CR1220, make sure to remove R416 that shorts across the battery. R416 is needed for MCP79410 to operate without a battery. After the battery is installed, make sure to not short the battery by placing the board on a conductive surface when not in use, as the RTC time will be lost.

10/100/1000 Ethernet
The AM572x GP EVM has two 10/100/1000 Ethernet transceiver from Micrel(KSZ9031RN) that is connected to a dual RJ45 (P5) connector. The two Ethernet interfaces are connected to the switch inside the AM572x processor.

The reset on the transceivers are driven by the board system reset signal ENET0/1_PORZ. A 25MHz crystal drives the clock input of the KSZ9031RN Ethernet PHY.

The PHY address on the MDIO bus is set to 0x00h.

USB
The Processor Module connects the AM572x USB1/USB2 ports as follows:


 * AM572x USB1 port (capable of USB 3.0 SuperSpeed) --> USB 3.0 hub w/ 3 downstream ports
 * AM572x USB2 port (limited to USB 2.0 High-Speed) --> microUSB B connector  (Client mode only)

The AM572x USB1 port has its USB_ID pin (GPIO7_25) pulled low for host mode. The three downstream ports of the USB 3.0 hub attached to the AM572x USB1 port are connected to a single port USB 3.0 A connector and a stacked, two port USB 3.0 A connector.

The AM572x USB2 port has its USB_ID pin (GPIO7_24) pulled high for client, or device, mode. By default, the USB2 port is routed to a microUSB client port (P7) on the Processor Module. Alternatively, the AM572x USB2 signals are also available on the expansion connectors for use with an expansion board. To route the USB2 port to a custom daughter board on the expansion connector, remove R210 & R211 and populate R314 & R315 with 0-ohm resistors. To support host mode or OTG, VBUS 5V must be supplied by the custom daughter board.

Audio
There are two sources of audio on the Processor Module:


 * the HDMI interface, or
 * via two stereo jacks on the board that are connected to the AIC3104 CODEC

This section covers the stereo CODEC. The HDMI interface is covered in the following section.

The AIC3104 CODEC is controlled from AM572x by I2C which is at address 0x18 and is connected to the McASP3 I2S interface on the AM572x processor. The AIC3104 requires a master clock (MCLK) that is supplied by the processor using the AM572x CLKOOUT2 pin. Depending on the requirements, this clock can be any range from 512KHz to 50MHz. The most likely frequencies to be used are 12MHZ, 13MHZ, 16MHz, 19.2MHZ or 19.68MHZ. Additionally, the RSTOUTn signal provides a reset to the AIC3014 whenever the system is reset.

HDMI
A single HDMI interface is provided direct from the processor. The Processor Module supports level translation from 3.3V to 5V for the HDMI interface.

A standard (not mini) HDMI connector is implemented on the Processor Module.

eSATA
A switch is used to direct the SATA signals to the onboard eSATA connector or to the expansion header, where they are routed to the mSATA connector on the LCD Module. If the signal on the expansion header, P19-4, is left open, the signals go to the eSATA onboard connector. If the pin is grounded via the SATA_SEL jumper (J1) on the LCD Module, the switch is activated and the signals are routed to the expansion headers.

The eSATA interface on the Processor Module is a combination of two separate interfaces, SATA and USB. The eSATA port can be used as an eSATA or a USB 2.0 port. The USB signals originate from the USB 3.0 HUB. The SATA interfaces originate from the AM57xx processor via the switch.

Power for the eSATA is from the USB power pins, 5V. Power is routed to the eSATA connector via the TPS2560 FET switch. It is capable of providing the 500mA required by the eSATA connector. Only 5V is supplied.

NOTE that when J1 on the LCD Module is installed (for mSATA), the eSATA on the Processor Module will no longer function. However, the connector can still function as a USB 2.0 port.

Serial Debug Header
The Processor Module has a 6-pin Serial Debug Header that enables the AM572x UART3 to be used as a serial debug port. It provides TX, RX, and ground signals. An isolation buffer (SN74LVC2G241) is located between the SoC and header to prevent the signals from being fed back into the processor when the board is powered off.

The UART TX and RX signals provided to this header are 3.3V level. In order to connect them to a PC, a USB to serial converter is required. A common converter is the FTDI USB to TTL cable (TTL-232R-3V3). However, make sure to use the 3.3V version and not the 5V version.

= AM572x EVM LCD Module Functional Block Descriptions =

This section describes major functional blocks of the AM572x EVM LCD Module System.

LCD Screen
The LCD is a OSD 7in WVGA (800x480) RGB LCD panel part number #OSD070T1718-19TS v1 3. It is a 24bit RGB TFT LCD with 21 white LED's for backlight (controlled by one power regulator). The connector is FPC 50pin pn #XF3M-5015-1B.

The LED backlight on the LCD is controlled by a TPS61080 PWM controlled LED driver.

Capacitive Touch Screen
The Pixcir Tango C48 touchscreen is integrated into the OSD070T1718-19TS v1 3. It supports multi-touch for 5 fingers using the I2C interface.

mSATA
There is a single mSATA connector on the backside of the LCD Module for use with SSD drives.

Only one SATA interface exists on the Processor Module. In order to use this interface on the LCD Module, SATA_SEL jumper (located on the LCD Module) must be installed. This switches the SATA mux on the Processor Module to the expansion connectors. When the SATA_SEL jumper (J1) is installed, the eSATA on the Processor Module will no longer function. However, the connector can still function as a USB 2.0 port.

miniPCIe
The miniPCIe (single lane) connector is identical to the mSATA connector. However, different pins are used.

miniPCIe can support several different functions such as WLAN/WIFI, Ethernet, Video, Analog, GPS, and Memory.

COM8 Interface – Mobile Connectivity Expansion Connector
A single COM8 connector and interface is provided on the LCD Module. This connector is intended to facilitate the plugging in of TI WiLink8 type devices for the addition of a Wi-Fi interface. The COM8 connector is a Samtec card edge type connector pn# MEC. This connector thus supports TI WiLink8 types of boards, and more details about this connector can be found in the TI WiLink8 board documents.

The COM connector requires on 3.6V on the power supply. Thus a TPS74801 LDO regulator is used to provide this voltage supply from the base 5.0V supply. The signals on the COM board are all 1.8V voltage level. Thus voltage translators are placed to convert to/from 3.3V of the AM572x rail for a particular signal which is running at 3.3V.

The TI WiLink8 evaluation modules have a built-in antennae. However, the LCD Module has holes cut to accommodate a custom board with antennae if needed.

= AM572x EVM Camera Module Functional Block Descriptions =

This section describes major functional blocks of the AM572x EVM Camera Module System.

Camera
The Camera Module uses the Leopard Imaging LI-3M02CM 3MP imager. The imager uses the Aptina MT9T11 sensor module.

Level shifters and buffers are provided on the Camera Module to interface to the 3.3V of the expansion headers.

Control signals from the Processor Module controls the module. These include I2C, oscillator, and power down. A dedicated 32MHz oscillator is provided to the CMOS Imager.

= Board Connectors =

The pinout details of all the connectors used in the GP EVM are provided below.

Gigabit Ethernet - P5 (Processor Module)
Table 12: AM572x Gbit Ethernet Pin Details

eSATA / USB - P6 (Processor Module)
The 4th port of the Processor Module's USB 3.0 hub is connected to P6 and is limited to USB 2.0 (High-speed).

Table 13: eSATA Connector Pin Details

AM572x USB2 (USB 2.0 Client) - P7 (Processor Module)
Table 14: AM572x USB2 (USB 2.0 Client)

AM572x USB1 (USB 3.0 Host) - P13, P15 (Processor Module)
The AM572x USB1 port supports USB 3.0 speeds and is connected to a 4-port USB 3.0 hub. Three are accessible on the USB 3.0 Host ports while the fourth is located in the eSATA/USB combination port and is therefore limited to USB 2.0.

Table 15: USB 3.0 Hub Port 1 (AM572x USB1 Port) - P13

Table 16: USB 3.0 Hub Port 2/3 (AM572x USB1 Port) - P15

Serial Debug Header - P10 (Processor Module)
Table 17: Serial Debug Header Pin Details

HDMI - P11 (Processor Module)
Table 18: HDMI Connector Pin Details

MicroSD - P12 (Processor Module)
Table 19: AM572x MMC1 Connector Pin Details

Expansion Connectors
The expansion connector details are listed in the tables below.

Processor Module P16 / LCD Module P1
Table 20: AM572x P16 Expansion Connector

Processor Module P17 / LCD Module P3
Table 21: AM572x P17 Expansion Connector

Processor Module P18 / LCD Module P4
Table 22: AM572x P18 Expansion Connector

Processor Module P19 / LCD Module P2
Table 23: AM572x P19 Expansion Connector

JTAG Connector
TI 20 pin connector... other JTAG adaptors are available on TI e-store and can be purchased from here

LCD Connector - P5 (LCD Module)
The LCD Module's backlight supply comes from a TPS61080 LED Driver / Boost-Converter. It outputs 9.9V max and is controlled by PWM (See: EHRPWM2A on Pin 5 of P17 Processor Module).

Table 24: LCD Connector Pin Details

Touchscreen Connector - P15 (LCD Module)
Table 25: LCD Module Capacitive Touch Screen Pin Details

PCI-Express Mini Card Slot - P7 (LCD Module)
PCI-Express Mini Card Slot supports x1 speeds. 3.3V Supply 1.5A max. 1.5V Supply 0.5A max.

Table 26: PCIe Mini Card Connector Pin Details

mSATA Connector - P8 (LCD Module)
The mSATA slot is intended to support SATA based Solid State Drives compatible with the PCI-Express Mini Card slot physical specification but carry SATA signals instead of PCI-E. There is a remote LED indicator at Pin 49 called “Device Activity Signal”. The mSATA card should sink current on Pin 49 to allow the LED to flash to indicate an ACTIVITY.

Table 27: mSATA Connector Pin Details

Camera Connector - P9 (LCD Module), P9 (Camera Module)
Table 28: Camera Connector Pin Details

Communications Connector - P12 (LCD Module)
The Communications Connector (P12) on the LCD module is intended for use with WiLink boards. All I/O operates at 1.8V logic levels behind level shifters that limit some GPIO signal directions. The 3.6V and 1.8V rails are supplied by separate LDOs capable of 1.5A max each.

Table 29: COM Connector Pin Details

= EVM Important Notice =

= ANNEX =

This HUG is prepared by using the following documents as references.


 * 1) AM572x Sitara ARM Microprocessors TRM (SPRUHZ6)