AM335x Industrial Automation EVM User Guide


 * AM335x Industrial Design Kit Evaluation Module (TMDXEVM3359) Hardware User Guide

= Introduction =

The TMDXIDK3359 is "Obsolete" and no longer available. However the TMDSICE3359 is recommended for industrial communications and is less complex to use and is readily available at a lower cost via the TI eStore. This document describes the hardware architecture of the AM335x Industrial Development Kit (IDK) Evaluation Module (EVM) (Part # TMDXIDK3359) which is based on the Texas Instruments AM335x processor. This EVM is also commonly known as the AM335x IDK EVM.

Description
The AM335x IDK EVM is a standalone test, development, and evaluation module system that enables developers to write software and develop hardware around an AM335x processor subsystem, and it is focused on industrial automation and motor control type of applications. The main elements of the AM335x 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 AM335x as the main processor. Furthermore, additional, industrial type peripherals are built into the daughterboard of the EVM such as memory, sensors, Profibus, DCAN, Ethernet PHY, etc. so that prospective industrial 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 AM335x IDK EVM consists of the baseboard and industrial automation/motor control daughterboard stacked together and connected with standard throughhole connectors. See the pictures below of the EVM.



Figure 1: AM335x IDK EVM



Figure 2: AM335x IDK Daughterboard View

Schematics/Design Files

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

= System Description =

System Board Diagram
The complete AM335x IDK EVM is partitioned across two different boards for modularity. The IDK EVM consists of the baseboard (processor and main power supply) and daughterboard (external peripherals).



Figure 3: AM335x IDK EVM System Board Diagram

Functional Block Diagram of AM335x IDK Baseboard
The functional block diagram of the AM335x IDK baseboards is as shown below:



Figure 4: AM335x IDK Baseboard Block Diagram

Functional Block Diagram of AM335x IDK Industrial Daughterboard
The functional block diagram of the AM335x IDK Industrial Daughterboard is as shown below:



Figure 5: AM335x IDK Industrial Daughterboard Block Diagram

Processor
The AM3359 processor is the central processor for this EVM. All the resources on the board surround the AM3359 processor to provide development capabilities for hardware and software. See the AM3359 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 AM335x processor. See the Configuration/Setup section later for more details.

Clocks
The IDK EVM has several clocks to support the AM3359 processor. The main clock for the processor is derived from a 24MHz crystal. An on-board oscillator in the AM3359 generates the base clock and subsequent module clocks as needed within the AM3359 processor. A 32kHz clock for the RTC on the AM3359 is derived from a 32kHz crystal on the board.

Reset Signals
SYS_RESETn is a signal running to several peripherals and AM335x which performs a reset on those peripherals. SYS_WARMRESETn is asserted by a pushbutton on the base board and is used to force a reset of the AM335x. AM335x can also pulldown on the RESET_INOUTn signal to cause the SYS_RESETn line to go active.

= Power System =

This section describes how the power supply is implemented.

Power Source
AM335x Baseboard uses an external AC to +5VDC (rated 2.5A min) power adapter. The switch near to the power cable is used for power ON/OFF. The main power is off when the power switch is in the position away from the power supply jack. The main power is on when the power switch is in the position closest to the power supply jack. The AM335x IDK Daughterboard has a power jack for +24VDC to power the motor drive and the industrial input/output devices. There are separate industrial screw down power supply jacks for +24VDC connections to enable using different voltage values to drive the motor than the industrial input/outputs. Nonetheless, the default setup when the IDK is shipped is to use a single +24VDC power supply into the DIN power jack. On earlier IDK versions, this DIN power jack is the same barrel size as the base board +5VDC power jack. Be careful to plug the supplied +24VDC power supply only into the daughterboard!

Power Nets
The power nets used in the AM335x Baseboard schematics are listed in the below tables.

Table 1: AM335x IDK EVM Baseboard Power Nets

Table 2: AM335x IDK EVM Industrial Daughterboard Power Nets

The power sequencing requirements of the AM335X processor (see the AM335x datasheet) are handled automatically by the TPS65910A PMIC.

Power Management IC Power Supplies
The AM335x Baseboard uses the TPS65910A power management IC.

The I2C0 on AM335x is used to control the Smart Reflex port and control port on the TPS65910A.

For AM335x, the following power supplies from the TPS65910A are used.

Table 3: AM335x Power supplies from TPS65910A

APM Sense Resistors
The AM335x Baseboard has the following subsystems with current sense resistors. These resistors allow the power to be measured on each power rail to check AM335x power requirements during real time software execution. The value of the resistors is selected to provide the best dynamic range when using a TI INA226 converter. In fact an INA226 converter is installed on the base board for both the VDD_CORE and VDD_MPU power supply rails of the AM335x. The other power rails have sense resistors but have their measurement connections attached to 2pin standard headers so that they can be read easily by a multimeter or connected to an INA226 converter EVM.

Note the value of the sense resistors for the VDD_CORE and VDD_MPU were selected to give better dynamic range for active power modes rather than sleep/low power modes. If power is to be measured for VDD_CORE or VDD_MPU for sleep/low power modes then this sense resistor value should be changed to give better shunt voltage values.

Table 4: AM335x Baseboard APM Sense Resistors

= Configuration/Setup =

The IDK EVM has many different subsystems to allow development around the AM335x's capabilities. All major subsystems are fixed with regard to address locations and pin assignments. Additionally, the AM335x has SYSBOOT pins that can be configured a certain way using two 8bit DIP switches on the base board.

Also, the motor driver chip, DRV8412, can be configured for one of several different modes. See the Motor Control section for configuration information.

I2C Address Assignments
In the AM335x IDK 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). All the ID memories use I2C0 from AM335x (as does the Smart Reflex to the PMIC) so that software can always check I2C0 at the defined I2C addresses for the presence of a board and its contents. Therefore, the baseboard is the only board that has the ID memory set to 0x50, and the daughterboard's addresses are all 0x51 (only one daughterboard is ever connected at a time).

Table 5: AM335x IDK Baseboard I2C Bus Addresses

I2C ID Memory
Both boards in the EVM 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-GT3.

Table 6: AM335x Baseboard EEPROM Data

Table 7: AM335x IDK Industrial Daughterboard EEPROM Data

= AM335x IDK EVM Functional Block Descriptions =

This section describes major functional blocks of the AM335x IDK EVM System.

Board Identity Memory
Each of the boards contains a serial EEPROM that contains board specific data that 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 part number of the memory device is pn\\#CAT24C256WI-GT3. See the Configuration/Setup section for details on the data in this memory.

SDMMC0 Connector
The SDMMC0 connector on the Base Board is a Morethanall card socket \\#MHC-W21-601. This is a standard SD/MMC Card type of connector. It is connected to the MMC0 port of the AM335x processor. Check the AM335x data sheet and TRM for supported card types/densities.

The Pin assignment is as given below.

Table 8: AM335x SDMMC0 Connector Pin Details

10/100 Ethernet PRU Controlled
The AM335x Industrial Daughterboard has two 10/100 Ethernet transceivers, TI TLK110, that are connected to J8 & J9. These Ethernet transceivers are connected to the PRU0 & PRU1 units within the AM335x.

The reset on the transceiver is driven by the board system reset SYS_RESETn. A 25MHz crystal drives the clock signal for the AR8031. The Ethernet INT pins are not used in the IDK EVM.

The PHYAD pins are left unconnected for setting the PHY's address on the PRU0 Ethernet so it is by default 0x01. The PHYAD pins are left unconnected for setting the PHY's address on the PRU1 Ethernet so it is by default 0x03.

Table 9: AM335x 10/100 PRU Ethernet Pin Details

10/100 Ethernet
The AM335x Industrial Daughterboard has a 10/100 Ethernet transceiver, TI TLK110, that is connected to J14. This Ethernet transceiver is connected to the standard Ethernet switch MII1 within the AM335x.

The reset on the transceiver is driven by the board system reset SYS_RESETn. A 25MHz crystal drives the clock signal for the AR8031. The Ethernet INT pin is not used in the IDK EVM.

Some of the PHYAD pins are connected for setting the PHY's address so it is by default 0x1F.

Table 10: AM335x 10/100 Ethernet Pin Details

USB
The AM335x ZCZ package supports 2 USB ports. The USB ports are on the base board and connected to a microUSB AB connector and a standard A connector. The ESD device TPD4012 and common choke filter ACM2012 (TDK) are used on the USB signals before they are connected to the AM335x pins. The microAB connector has its ID pin tied to ground through a 120K resistor by default so that the port looks like a B device.

Table 11: AM335x USB Port0

Table 12: AM335x USB Port1

RS-232 Connectors
The IDK Industrial Daughterboard has two RS-232 connectors (DB9 male) for two of the UART's on the AM335x. J10 is connected to UART3 of the AM335x and J12 is connected to UART5 of the AM335x. The MAX3232E is used for the RS-232 level translation. Hardware handshaking is not enabled for either of these ports.

CAN
The IDK Industrial Daughterboard has 1 CAN transceiver and connector for the CAN1 interface of the AM335x. The CAN transceiver that is used is the TI ISO1050 and the connector is a DB9 female connector.

Table 13: AM335x IDK Industrial Daughterboard CAN Connector Pin Details

A PSM712 transient voltage suppressor and RSZ-3.305HP isolated voltage regulator are connected to the ISO1050 for full industrial connection. The AM335x side line filters are calculated for a max CAN transmission speed of 10MHz.

ProfiBus
The IDK Industrial Daughterboard has 1 Profibus transceiver and connector for the UART1 interface of the AM335x. The Profibus transceiver that is used is the TI ISO1176T and the connector is a DB9 female connector. The Profibus voltage rail is sourced by a TPS76650 regulator U15.

Table 15: AM335x IDK Industrial Daughterboard ProfiBus Connector Pin Details

A PSM712 transient voltage suppressor and TPS76650 voltage regulator are connected to the ISO1076T for full industrial connection.

Industrial Serializer (SPI)
The IDK Industrial Daughterboard has an ISO7641 industrial isolated serializer which is connected to an SN65HVS882 parallel input and output industrial latch. The isolated industrial inputs/outputs are 24V powered through R283.

Industrial Serializer (I2C)
The IDK Industrial Daughterboard has an TPIC2810 industrial serializer latch. This industrial serializer is connected to I2C1.

Piccolo DSP
The IDK Industrial Daughterboard has a TMS320F28027 DSP to allow motor control testing. There is a full subsystem to support the F28027 including JTAG header (shared with the Stellaris processor), reset button SW1, status LED, and ADC inputs from the motor subsystem. This F28027 is connected to the AM335x through the SPI bus.

Stellaris
The IDK Industrial Daughterboard has a LM3S5R31 processor which can provide safe mode protection for the motor control system. The JTAG connection is shared (chained) with the DSP F28027. Separate reset switch SW3 and indicator LED's are provided. The Stellaris processor communicates with the AM335x through the SPI1 channel. A test UART header J26 is provided.

Motor Control
The IDK Industrial Daughterboard has a DRV8412 motor driver. This circuit incorporates over temp and fault indicator LED's. Separate screw type connectors are provided for each motor leg so a variety of motors can be used. Either a separate power input (J23) for the motor section or the combined 24V power supply J32 can be used.

The mode set for the DRV8412 is configured by DIP switch SW2- 3&4. By default the driver is setup for mode 3 for dual full bridges. See the DRV8412 datasheet for the possible mode settings.

RS-485 / EnDAT
This industrial automation daughterboard has 2 SN65HVD10 transceivers for the UARTs for RS-485 or EnDAT connection.

EtherCAT LED's
The EtherCAT LED's are implemented as 4 LEDs D6-D9.     Table 17: AM335x IA Daughterboard EtherCAT LED's

ADC Inputs
The IDK Industrial Daughterboard has a test header J30 that can be used for connecting analog devices to the ADC of the AM335x.

Table 18: AM335x Industrial Daughter Board ADC Test Header Signals

NAND Flash Memory
The Industrial Daughterboard has a Micron NAND Flash Memory. This is a MT29F2G08AB 2Gb 8bit wide flash memory. The footprint is set to allow the 16bit version to be placed instead although there is no plan for this. This memory was placed on the daughterboard to allow active muxing of its signals and allow NOR/MMC1 connection.

Table 19: AM335x NAND Pin Details

SPI Flash Memory
The IDK Industrial Daughterboard has a 64Mb SPI Flash device which is a W25Q64CVSSIG device. This is connected to the SPI1 port on the AM335x. Write protect is off by default.

= Pin Use Description =

Functional Interface Mapping
Most signals of the AM335x are connected to a fixed device on the EVM where it is used for a specific function. A few of the signals of the AM335x such as the SPI signals, however, are connected to devices on the EVM based on the logic within the CPLD. The only use of the CPLD in fact for the standard IDK is to use the states of two GPIO signals XDMA_EVENT_INTR0 and UART0_RTSn to enable the SPI chip selects for the Piccolo, Stellaris, and industrial serializer ISO7641 U18.

XDMA_EVENT_INTR0   UART0_RTSn         SPI Device Enabled 0               0                 Industrial Serializer 0               1                 None 1               0                 Stellaris 1               1                 Piccolo

GPIO Definitions
See this pinmux document which shows the use case for the AM335x signals on the IDK. Developer can select and enable pins based on the selective peripheral pins as output or input. For the IDK EVM, each single pin is muxed based on the functional needs of the EVM.

= Board Connectors =

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

Table 21: AM335x EXP0 Connector

Table 22: AM335x EXP1 Connector

Table 23: AM335x EXP2 Connector

Table 24: AM335x EXP3 Connector

LCD Connectors
The connector details of LCD are described below.

Table 25: AM335x LCD Connector 1

Table 26: AM335x LCD Connector 2

This is the touchscreen connector.

Table 27: AM335x Touchscreen Connector

= EVM Important Notices =

= ANNEX =

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


 * 1) AM335x Sitara ARM Microprocessors TRM (SPRUH73)