Texas Instruments | Pad Configuration Tool | User Guides | Texas Instruments Pad Configuration Tool User guides

Texas Instruments Pad Configuration Tool User guides
Pad Configuration Tool
Texas Instruments Family of Products
User's Guide
Literature Number: SPRUIC1
November 2016
Contents
Preface ........................................................................................................................................ 5
1
PCT Installation .................................................................................................................. 12
2
3
4
5
PCT Installation Steps
1.2
PCT running when multiple versions of JRE are installed (Under MS-WINDOWS) ........................... 13
PCT
PCT
PCT
PCT
12
Overview ....................................................................................................................
System and Running Requirements ...............................................................................
Start-up and View Refresh Timing .................................................................................
Graphical User Interface Description .............................................................................
13
13
14
15
.........................................................................................................
PCT IOSET View .......................................................................................................
PCT Search View .......................................................................................................
PCT Snapshot View ....................................................................................................
PCT Trace View ........................................................................................................
PCT Optimization View ................................................................................................
PCT Schematics View .................................................................................................
PCT GPIO Configuration View ........................................................................................
PCT Zoom Control......................................................................................................
PCT Thumbnail View ...................................................................................................
PCT Controller View....................................................................................................
PCT Registers View ....................................................................................................
PCT Menu Commands Description ..................................................................................
15
5.1
5.2
5.3
5.4
5.5
5.6
5.7
5.8
5.9
5.10
5.11
5.12
5.13
2
.................................................................................................
1.1
PCT Main View
Table of Contents
16
20
21
21
22
24
25
26
26
27
30
31
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
www.ti.com
List of Figures
1
PCT Installation License Agreement Window .......................................................................... 12
2
PCT Start Window
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.........................................................................................................
PCT Views ..................................................................................................................
PCT Main View .............................................................................................................
PCT IOSET View ...........................................................................................................
PCT IOSET View ...........................................................................................................
PCT IOSET Error cross-check ...........................................................................................
PCT IOSET Error cross-check 2 .........................................................................................
PCT IOSET Error cross-check 3 .........................................................................................
PCT IOSET Warning/Caution message .................................................................................
PCT Search View ..........................................................................................................
PCT Snapshot View........................................................................................................
PCT Trace View ............................................................................................................
PCT Optimization View ....................................................................................................
PCT Driver Column Flow Chart ..........................................................................................
PCT Schematics View .....................................................................................................
PCT GPIO Configuration View ...........................................................................................
PCT Zoom Control .........................................................................................................
PCT Thumbnail View ......................................................................................................
PCT Controller View .......................................................................................................
PCT Pad Block .............................................................................................................
PCT Register View .........................................................................................................
PCT Register View Pop-up ...............................................................................................
PCT Menu ...................................................................................................................
PCT Mismatch Warning Window .........................................................................................
SPRUIC1 – November 2016
Submit Documentation Feedback
List of Figures
Copyright © 2016, Texas Instruments Incorporated
14
15
16
17
18
18
19
19
20
20
21
22
23
24
25
26
26
27
28
30
31
31
31
33
3
www.ti.com
List of Tables
4
List of Tables
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
Preface
SPRUIC1 – November 2016
Read This First
Community Resources
The following link connects to TI community resources. Linked contents are provided "AS IS" by the
respective contributors. They do not constitute TI specifications and do not necessarily reflect TI's views;
see TI's Terms of Use.
TI Embedded Processors Wiki — Texas Instruments Embedded Processors Wiki
Established to assist developers using the many Embedded Processors from Texas Instruments to
get started, help each other innovate, and foster the growth of general knowledge about the
hardware and software surrounding these devices.
SPRUIC1 – November 2016
Submit Documentation Feedback
Preface
Copyright © 2016, Texas Instruments Incorporated
5
About This Manual
www.ti.com
About This Manual
FCC Warning
This equipment is intended for use in a laboratory test environment only. It generates, uses, and can
radiate radio frequency energy and has not been tested for compliance with the limits of computing
devices pursuant to subpart J of part 15 of FCC rules, which are designed to provide reasonable
protection against radio frequency interference. Operation of this equipment in other environments may
cause interference with radio communications, in which case the user at his own expense will be required
to take whatever measures may be required to correct this interference.
Information About Cautions and Warnings
This book may contain cautions and warnings.
CAUTION
This is an example of a caution statement.
A caution statement describes a situation that could potentially damage your
software or equipment.
WARNING
This is an example of a warning statement.
A warning statement describes a situation that could potentially
cause harm to you.
The information in a caution or a warning is provided for your protection. Please read each caution and
warning carefully.
6
Read This First
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
Register, Field, and Bit Calls
www.ti.com
Register, Field, and Bit Calls
The naming convention applied for a call consists of:
• For a register call: <Module name>.<Register name>; for example: UART.UASR
• For a bit field call:
– <Module name>.<Register name>[End:Start] <Field name> field; for example, UART.UASR[4:0]
SPEED bit field
– <Field name> field <Module name>.<Register name>[End:Start]; for example, SPEED bit field
UART.UASR[4:0]
• For a bit call:
– <Module name>.<Register name>[pos] <Bit name> bit; for example, UART.UASR[5]
BIT_BY_CHAR bit
– <Bit name> bit <Module name>.<Register name>[pos]; for example, BIT_BY_CHAR bit
UART.UASR[5]
To help the reader navigate the document, each register call is hyperlinked to its register description in the
register manual section. After each register description, a table summarizes all hyperlinked register calls.
SPRUIC1 – November 2016
Submit Documentation Feedback
Read This First
Copyright © 2016, Texas Instruments Incorporated
7
Coding Rules
www.ti.com
Coding Rules
The programming models or code listings follow the rules:
Type
Definition
Example
File
Starts with the module name
PRCM_test1.c
MCBSP1_init.h
Variable
Global variables are prefixed by "g_"
Pointers are prefixed by "p"
Global pointers are prefixed by "g_p"
g_SDMA_LogicalChan
pAddrCounter
g_pSDMA_LogicalChan
Function
Starts with the module name
PRCM_SetupClocks()
ArmIntC_MaskInterrupts()
Typedef
Ends with "_t"
PRCM_Struct_t
Definition
Starts with the module name and is followed by the
register name
#define SMS_ERR_TYPE *((volatileUint32*)0x680080F4)
#define MCBSP2_RCR1_REG *((volatile Uint32*)0x4807401C)
Enumeration
Starts with the module name
Typedef enum DMA_Mode_Label
{
INPUT_MODE
OUTPUT_MODE
} DMA_Mode_t;
8
Read This First
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
Flow Chart Rules
www.ti.com
Flow Chart Rules
Flow charts follow the following rules:
Shape
Start/Stop
The height of the text box
and its associated line
increases or decreases as
you add text. To change the
width of the comment, drag
the side handle.
Name
Definition
Process
Any computational steps or processing function of a program; defined
operation(s) causing change in value, form, or location of information
Decision
A decision or switching-type operation that determines which of a number
of alternate paths is followed
Predefined process or subprocess
One or more named operations or program steps specified in a
subroutine or another set of flow charts
Data or I/O
General I/O function; information available for processing (input) or
recording of processed information (output)
Terminator
Terminal point in a flow chart: start, stop, halt, delay, or interrupt; may
show exit from a closed subroutine
Annotation
Additional descriptive clarification, comment
On page connector (reference)
Exit to, or entry from, another part of chart in the same page
Off page connector (reference)
The flow continues on a different page.
Summing Junction
Logical AND
Or
Logical OR
Parallel mode (ISO)
Beginning or end of two or more simultaneous operations
Flow Line
Lines indicate the sequence of steps and the direction of flow.
SPRUIC1 – November 2016
Submit Documentation Feedback
Read This First
Copyright © 2016, Texas Instruments Incorporated
9
Trademarks
www.ti.com
Trademarks
JAVA is a trademark of Oracle.
Windows is a registered trademarks of Microsoft.
All other trademarks are the property of their respective owners.
10
Read This First
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
User's Guide
SPRUIC1 – November 2016
Pad Configuration Tool
Topic
...........................................................................................................................
Page
Table of Contents ......................................................................................................... 2
Preface ........................................................................................................................ 5
1
PCT Installation.................................................................................................. 12
2
PCT Overview .................................................................................................... 13
3
PCT System and Running Requirements............................................................... 13
4
PCT Start-up and View Refresh Timing ................................................................. 14
5
PCT Graphical User Interface Description ............................................................. 15
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
11
PCT Installation
1
www.ti.com
PCT Installation
CAUTION
Java™ Runtime Environment, Standard Edition (v 1.7 or higher) must be
installed before Pad Configuration Tool is installed.
The Pad Configuration Tool (PCT) installation procedure is composed of following steps.
1.1
PCT Installation Steps
To install the Pad Configuration Tool double click (java -jar in terminal for Linux users) on the "InstallerPCT-xxxxSRx.x-vx.x.x.x" file. The installer will execute and display the License Agreement window shown
in Figure 1. You must either accept the conditions of the license or have a signed SLA to proceed further.
Select an option.
When the conditions of the license agreement are accepted or the SLA option is selected, the "Next"
button will become active. In the "Export Control Notice" window, the "Install" button is enabled. Click on
the "Install" button to proceed to the "Destination Directory Selection" window
When the installation is complete the "Installation completed" message is displayed. Click on "OK" button
to proceed to the last window.
Figure 1. PCT Installation License Agreement Window
12
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Installation
www.ti.com
1.2
PCT running when multiple versions of JRE are installed (Under MS-WINDOWS)
WARNING
JRE version 1.7 or higher is required. The default Java™ update
should install version 1.7 or higher by default. If not, please refer to
the Java™ update web page for downloading the 1.7 or higher
version. Then verify the installation by checking the version from
the command line (type java -version; Message such as the
following should appear: Java(TM) SE Runtime Environment (build
1.7.0_11-b21)).
2
PCT Overview
The Pad Configuration Tool (PCT) is a Java™ based stand-alone application. It is an interactive pad
configuration software for the device. It allows the user to:
❏ visualize the device pad multiplexing and additional functionality
❏ interact with the pad elements and view the effect on the Control Module registers
❏ interact with the Control Module registers and view the effect on the device pad configuration
❏ view a trace of all the device registers affected by the user interaction with pad configuration
❏ extract padconf register C header and register dumps for Code Composer Studio and Lauterbach.
❏ optimize configuration based pad configuration register settings vs. the outside device (PCB layout)
settings.
❏ schematics review a given configurations and automatically detect inconsistency between board design
and pad configuration.
❏ configure existing virtual and/or manual required timing and switching characteristics.
❏ configure IOSETs and cross check configuration for errors and warnings.
The advantage of the tool is that the user can visualize the device pad configuration state on power-on
reset and then customize the configuration of the pads for the specific use-case and identify the device
register settings associated to that configuration.
Being an interactive visual tool, the PCT gives the user a global view of the device pad architecture and
allows determining the exact register settings to obtain the specific configuration.
3
PCT System and Running Requirements
❏ Java™ JRE v 1.7 or higher (Can be downloaded from
http://www.oracle.com/technetwork/java/index.html ).
❏ Microsoft Windows7©) or later. Ubuntu 12.04 or later. Mac OSX Yosemite or later.
❏ The ideal screen resolution is 1440x900 or higher.
❏ Processor: 1 gigahertz (GHz) or faster
❏ RAM: 1 gigabyte (GB) or more
❏ Hard disk space: 100 MB or more
Run the tool by:
1. Unzip the project zipped folder. (NOTE: Do not change the name of the unzipped folder, e.g., PCTXXXX )
2. Double-click on the PCT-[version].jar file. If you are using a console, navigate to the installation folder
and run the tool by typing java -jar PCT-[version].jar
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
13
PCT Start-up and View Refresh Timing
4
www.ti.com
PCT Start-up and View Refresh Timing
NOTE: The performance data given below is for the test machine used with Intel® Core ™ i3 @
3.3GHz with 8 GB of RAM.
The PCT starts with the window shown in Figure 2. There are options for the user to select the desired
Device Package and Silicon Revision.
Figure 2. PCT Start Window
The start-up sequence of the PCT consists of reading an entire pad associated description database files.
This would normally take about 10 to 20 seconds.
Similarly, the View Refresh function that updates the main view, covers all software functional pad of the
device and takes as well about 10 to 20 seconds.
NOTE: In same cases, due to OS platform dependency, the PCT may not display correctly. In this
case, a simple "View>Refresh Main view" from the drop-down menu will fix the coordination
of the main view window.
14
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
5
PCT Graphical User Interface Description
Figure 3. PCT Views
1
2
3
4
5
6
7
8
9
10
11
12
The PCT GUI is composed of a dozen sub-views which give the user different leverages for optimizing
their work. The existing views are as follow :
• 1. Main View
• 2. IOSET View
• 3. Search View
• 4. Snapshot View
• 5. Trace View
• 6. Optimization View
• 7. Schematics View
• 8. GPIO View
• 9. Zoom Control
• 10. Thumbnail View
• 11. Controller View
• 12. Registers View
5.1
PCT Main View
The Main View presents a focused view of a section of the device pad configuration.
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
15
PCT Graphical User Interface Description
www.ti.com
Figure 4. PCT Main View
The device pad configuration is represented as an XY coordinate system of pads (i.e., the rectangular
elements).
The user can use the slide bars or drag with the mouse cursor on the view to move about. The view
highlights the state of the blocks and their current configuration visually. For example, the mux mode of
the pads is color coded. User will notice that for all pads that are set in muxmode 15 (driver off) the colors
stay the same.
5.2
PCT IOSET View
An IO signal may have multiplexing options across two or more device pads. In many cases, the user is
allowed to select any combination of IO signal multiplexing options to use for an interface. But in some
cases, specific combinations of multiplexing options must be selected to guarantee the Timing and
Switching Characteristics in the Data Manual. These specific combinations are called IOSETs, and they
generally represent layout-friendly groups of pads that are pinned-out in close proximity to each other.
IOSETs are defined in the Data Manual for interfaces that require them.
This view is created from and aligned with device Data Manual. Therefore the user will see the groups of
IOSETs when selecting the desired module.
16
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
Figure 5. PCT IOSET View
This view and in fact all views are in synch with register configuration. Therefore, user can either click the
check boxes to configure the desired signals IOSET, read in register configuration, or use another view
and configure register there. Either way, changes will be propelled here as seen in the above screenshot.
Besides the general visual easiness of seeing and configuring IOSETS with a simple click, the view
provides some helpful errors and warnings based on particular hardware requirements. One of these
requirements, is that only a single IOSET must be used at a time per peripheral. If not the tool will display
an error as shown below
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
17
PCT Graphical User Interface Description
www.ti.com
Figure 6. PCT IOSET View
For details on the error itself, the user can simply hover the error icon with the mouse
Figure 7. PCT IOSET Error cross-check
Another typical error would be when same signal is set on 2 different balls in two different IOSETs
18
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
Figure 8. PCT IOSET Error cross-check 2
On some occasions, same signal(in same mux mode) on same ball is included in 2 or more IOSETs. This
time the tool assumes these signals/balls as shared and does not display an error as shown in the
following example:
Figure 9. PCT IOSET Error cross-check 3
Lastly, the tool will show caution next to an available but not configured signal if the ball is already used in
another IOSET. In this case, the user is notified not to configure the ball since it has been used in another
configuration.
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
19
PCT Graphical User Interface Description
www.ti.com
Figure 10. PCT IOSET Warning/Caution message
Limitation: Note that, as stated in the beginning of this subsection, all views are in synch across the
entire tool. This means that views are being updated asynchronously when an action event has occurred.
If pad is also associated to a different peripheral IOSET than the current selected, the view may refresh
and show the IOSETs of the peripheral that has lastly updated the pad. If this occurs, a quick workaround
for the user will be to reselect the needed peripheral from the left list menu.
5.3
PCT Search View
The Search view allows the user to navigate to the needed pad and pad controller. Simply by selecting the
desired module associated to the pad the corresponding controller will be displayed.
Figure 11. PCT Search View
20
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
5.4
PCT Snapshot View
The Snapshot view allows the user to see a clear list of all device pads, their padconf register address,
value, selected muxmode, and driveroff availability. This view is dynamically refreshed and all changed
done in other views are also present here.
Figure 12. PCT Snapshot View
5.5
PCT Trace View
The Trace View is composed of a multi-column table. The successive changes of the register bitfields as a
result of the user interaction with the pad (via the Controller View, Register View, or other user interactions
such as readin configuration) are recorded in the rows of the Trace View table.
This view allows the user to find a trace of all the register bitfields affected and the values associated to
these bitfields, as a result of the current interactions. Also, for step-by-step debug configuration, there is a
"View -> Reset Trace View" command from the top menu which will clear the log table and start recording
new events.
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
21
PCT Graphical User Interface Description
www.ti.com
Figure 13. PCT Trace View
5.6
PCT Optimization View
The Optimization view gives the user the ability to verify pad configuration register settings vs. the outside
device (PCB layout) needed configuration (that is configured from the Schematics View described later).
When data is entered in the schematics view or register is updated, this view will automatically do the
checks and will output errors or warnings if any. The logic will also try to scan additional patterns and try
to find tips on how these errors may be fixed. The columns are as follow:
❏ Mux 0: This column contains the name of the signal for Mux 0. Mux 0 is also the name of the pad.
❏ Mode: This column contains the current configured mux mode from the main view or pad conf register.
❏ fn dir: This column checks the schematic configuration vs the pad configuration. If schematic vs
register configuration IO direction does not match, an error will occur.
❏ IO type: This column contains the C variable for the current configuration.
❏ padconf Pull: This column contains information of the register configuration pull direction. It can be PU
for pull-up or PD for pull-down.
❏ padconf OFF config: This column contains information of the register configuration OFF mode pullUD
enabled.
❏ Schematics pull: This column contains information of the schematics configuration and whether the pull
is present or not on the outside.
❏ padconf IO: This column contains information of the register configuration and whether the pad is
configured as input(input is enabled) or only as an output.
❏ Schematics IO: This column contains information of the register configuration and whether the pad is
configured as input(input bit is enabled) or only as an output.
❏ GPIO: This column gets updated automatically if the pad is register configured in GPIO mode and it is
based on the input from the GPIO Configuration view. Values are in/0, in/1, out/0, and out/1.
❏ Pull Contention: This column gets updated automatically and it gives an error (contention) if pull
configuration has an discrepancy between internal and schematic pulls. Again, this is based on the two
configurations - register and schematic input.
❏ External Driver: This column gets updated automatically and it gives an error based on the two
configurations - register and schematic input. See Figure 15
22
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
❏ Manual Status: This column gets updated when manual status is filled in the schematics view. The
user can fill a comment "OK" or a comment "TBC" and the logic checks will be ignored and the result
in the driver column will be OK or TBC depending on the entered comment.
❏ First Customer feedback: This column gets updated when comments are entered by the user in the
"First customer feedback" column in the Schematics View. This feature can be used for
tracking/commenting purposes. It means no value for the logical checks.
❏ TI Initial Comments: Same as "First Customer feedback"
❏ Additional Comments: Same as "First Customer feedback" and "TI Initial Comments"
CAUTION
Schematic and Register configuration are two different scopes which are
matched to determine errors/warning if any. Register configuration is internal for
the device, while the schematics is devices external configuration. Settings that
are same for both (such as pull configuration) does not get updated for both
register and schematic views. For example, if pull direction is configured from a
register it does not get propagated to the schematics view, but rather used to
match schematic configuration in order to give errors/warnings if mismatches
are present.
Figure 14 is read-only view and cannot be modified directly, but rather it will get updated when new
register reconfiguration and/or schematics input is entered and verified for errors.
Figure 14. PCT Optimization View
The following flow chart describes the logic behind showing errors/warnings.
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
23
PCT Graphical User Interface Description
www.ti.com
Figure 15. PCT Driver Column Flow Chart
no
Ball
connected?
no
Safe mode
configured
Warning: configure
safe mode “TBC”
yes
yes
Driver OK
Input disabled
and pull down
Manual status
field filled with
“OK”
no
Warning: Disable
input buffer &
configure pull-down
yes
no
Driver OK
Error: “floating”
yes
Manual status
field filled with
“TBC”
Warning: “TBC”
no
If ball is set as input And
NO_PULL is configuredAnd
No pull is configured from schem And
Manual column is not OK And
Not GPIO
no
yes
Error: GPIO out
contention with
Pull
(GPIO out high
+ PD )or( GPIO
out Low+ PU)
Driver OK
5.7
PCT Schematics View
CAUTION
Schematic configuration is not stored/set into registers. Schematic configuration
must be saved before exiting the tool and can be reloaded on the next run from
Project>Save/Load Schematic View configuration menu. See Section 5.13.4
24
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
The Schematics view gives the user the ability to enter board design data and thus automatically detect of
inconsistency between board design and pad configuration which is then displayed in the Optimization
View. The columns are as follow:
❏ Ball ID: Contains the Ball ID coordinates
❏ Connected/not connected: User can state whether the ball is connected or not. If connected the tool
proceeds and starts checking for errors/warnings. If not connected then the configuration is checked to
make sure it is in a "safe" state. See Figure 15.
❏ MUXX0: Presents the mux 0 name for the pad. This field is read-only and is for reference purposes.
❏ Selected Mux: Shows the current configured mux mode from register setting. This field is read-only
and is for reference purposes.
❏ External Pull on board: User can state whether an external pull is present on board.
❏ External Pull Type: User can state the type of pull present on board.
❏ External Direction: User can state the direction needed.
❏ Off mode override needed: User can state whether an off mode is needed.
❏ Off mode override output en: User can state whether an off output is enabled.
❏ Off mode pull needed: User can state whether an off mode pull is needed.
❏ Off mode pull value: User can state the pull value in off mode.
❏ PadConf output: TBD in future versions of the tool.
❏ Manual status: This column can be filled by user to override the logical check of the tool. Valid
comments are "OK" and "TBD". See Figure 15.
❏ First Customer feedback: This column gets updated when comments are entered by the user in the
"First customer feedback" column in the Schematics View. This feature can be used for
tracking/commenting purposes. It means no value for the logical checks.
❏ TI Initial Comments: Same as "First Customer feedback"
❏ Additional Comments: Same as "First Customer feedback" and "TI Initial Comments"
The following figure is for the sake of presenting the view, not be taken as an example configuration.
Figure 16. PCT Schematics View
5.8
PCT GPIO Configuration View
This view enables the user to enter GPIO configuration for pads. The view consists of two tables. The left
one is read-only with columns stating GPIO instance, name, bit number, whether output is enabled, and
in/out values. The right column is filled by the user. For example "OE (register value)" column is filled with
the GPIO instance register value. The valid inputs are 32bit hex strings (e.g. 0xFFFFFFFF). Furthermore,
when all information is entered, and if the pad is configured in GPIO mode, the tool starts cross checking
and gives errors/warnings if any. See Figure 15.
The following figure is for the sake of presenting the view, not be taken as an example configuration.
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
25
PCT Graphical User Interface Description
www.ti.com
Figure 17. PCT GPIO Configuration View
5.9
PCT Zoom Control
The Zoom Control allows the user to change the zoom level of the Main View. By default the zoom level is
set to x1. The user can zoom in by shifting the slider to the right hand side (towards x2) and zoom-out by
shifting the slider to the left hand side (towards x0.1). The user can also use the mouse scroll wheel to
zoom in/out.
Figure 18. PCT Zoom Control
5.10 PCT Thumbnail View
The Thumbnail View highlights a global view of the device pad configuration. It also highlights the region
of the tool visible in the Main View by a bounding rectangle. As the slide bars of the Main View are
displaced the bounding rectangle in the Thumbnail View also moves accordingly.
26
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
Figure 19. PCT Thumbnail View
5.11 PCT Controller View
The Controller View represent a menu of configurable options associated to pad's padconf and iodelay
registers.. The user selects (i.e., clicks on) the block in the Main View and its corresponding controller is
displayed.
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
27
PCT Graphical User Interface Description
www.ti.com
Figure 20. PCT Controller View
5.11.1
PCT Controller Fields Description
There are several available options for the user to configure the bitfields of a padconf register. Refer to
device TRM Control Module chapter for functional description of the padconf bitfields. Moreover, the
following list describes available controller options and their corresponding bitfields from top to bottom:
• MuxMode drop down menu - [3:0] MUXMODE
• IO timing MODESELECT - [8] MODESELECT, also see Section 5.11.2
• Virtual IO Timing Mode - [7:4] DELAYMODE, also see Section 5.11.2
• Manual Function - N/A, see Section 5.11.2
• Enable Pull - [16] PULLUDENABLE
• Pull Type - [17] PULLTYPESELECT
• Enable Input - [18] ACTIVE or [18] INPUTENABLE
• Enable Wakeup - [24] WAKEUPENABLE
28
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
•
Slew Control - [19] SLEWCONTROL
NOTE: If a bitfield is not available for a given pad, its corresponding controller option is greyed out
and not available for the user to click.
5.11.2
PCT Manual /Virtual Function Description
Some of the timings described in the device Data Manual section "Virtual and Manual IO Timing Modes"
require the use of Virtual or Manual IO Timing Modes. See DM and TRM for detail description. The Pad
Configuration Tool on its end, gives the user the ability to configure these timing modes.
First, the user needs to have the MODESELECT enabled for Virtual/Manual modes. If not configured, PCT
will not display the available configuration menus.
When enabled, depending on whether there are available manual/virtual modes, tool will display virtual or
manual drop down menu, or both.
Manual function
Manul function is a straight forward configuration. By selecting the mode name, its prefix value is the value
that will be set into the [7:4] DELAYMODE padconf bitfield
Virtual function
Virtual configuration is a bit more complex that manual mode. Depending on available registers, there are
up to 3 registers associated to a pad - IN, OUT, and OEN registers. Therefore, the controller will display
up to 3 drop down menus. From there the user can select the desired manual mode.
CAUTION
Although there may be up to 3 different drop down menus for manual mode
(each configuring the IN, OUT, or OEN register), the same mode must be
selected for IN, OUT, and OEN. That is, the same mode name must be set in
all 3 menus.
CAUTION
Unlike virtual mode, manual mode configuration is not directly written into
registers when configured due to a chip specific variable which is not know by
the PCT. User must save their configuration from the "Project -> Save manual
IODELAY configuration" before exiting the tool, or their configuration will be
lost. On the next run, user can do "Project -> Load manual IODELAY
configuration" respectively to upload their old or somebody else's configuration.
See Section 5.13.4
5.11.3
PCT Pad Block
NOTE: For detail description on Control Module, pads, and I/O cell logical functionality, refer to the
device Technical Reference Manual (TRM)
NOTE: For detail description on electrical characteristics and I/O cell performance, refer to the
device Data Manual (DM)
The PCT pad block is mainly composed of the associated pad conf register and additional control module
registers. In the PCT there are various combinations of registers associated to a pad (pad conf register
and additional functionalities). These types of pads are split into classes in the pad conf tool. For detail
description of the different functional pad classes refer to device TRM chapter Control Module.
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
29
PCT Graphical User Interface Description
www.ti.com
Figure 21. PCT Pad Block
5.12 PCT Registers View
The Registers View is composed of a Register Selector list box, on the left hand side. The name of the
currently selected register is highlighted in this box.
On the upper right hand side of the Register View is the Register Address/Value indicator. It presents the
address and the current hexadecimal value of the register.
Below these two is a Register Bits view. The register bits view lists all the bits of the selected register
(e.g., 0 to 31 bits for a 32 bits register of the Control Module). Each bit is identified by the bit number (0 for
the LSB). Below the bit number is the current value of the bit (1/0).
A toggle button below the bit number of the user configurable (i.e. read/write) bits allows the user to toggle
the bit value. Pressing the button sets the bit value to 1 and in the released state the bit value is 0.
There is no button associated to the RESERVED bits of the register (i.e., the user cannot modify the
states of these bits).
When the user selects a register in the Register Selector list box, its contents (i.e., bits and value) are
shown in the Register Bits view and the Register Value indicator.
When the user changes a parameter of a block in the Controller View, the associated bitfield is updated in
the register and the Register View highlights the affected register.
When the value of a bit/ bitfield of a register changes in the register view, the Trace view captures this
change also.
NOTE: When the user changes a parameter of a block which affects bitfields of more than one
register, the Registers View only shows the last register updated. The Trace view shows the
complete list of registers affected by this change.
30
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
Figure 22. PCT Register View
When user positions the pointer on the number of a register bit a pop-up displays the name of that bit.
Figure 23. PCT Register View Pop-up
5.13 PCT Menu Commands Description
The PCT menu has following commands:
Figure 24. PCT Menu
1. PCT Settings
(a) Power-on Reset
2. View
(a) Reset Trace View
(b) Refresh Main View
3. File Generation
(a) C Header
(b) C Header (XLoader)
(c) Android Conf Macro
(d) Pad Conf Macro (modified pads only)
(e) Pad Conf Macro (all pads)
(f) Syscfg.h (Device Sys config header)
(g) Bios C header manual mode IODELAY config
(h) Generic file format - Modified PADCONF only registers
(i) Generic file format - ALL PADCONF registers
(j) Generic file format - Only Modified manual IODELAY values
(k) Generic file format - ALL manual IODELAY values
(l) Pads Listing
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
31
PCT Graphical User Interface Description
www.ti.com
4. Project
(a) Save Registers
(b) Load Registers
(c) Save manual IODELAY configuration
(d) Load manual IODELAY configuration
(e) Save Schematic View configuration
(f) Load Schematic View configuration
5. Help
(a) About PadConf Tool
(b) User Manual
(c) Licence Agreement
(d) Export Control Notice
5.13.1
PCT Settings
1. Power-on Reset
Triggers a power-on reset for all the registers of the Control Module. All the registers are set to their
reset values. As a result, the state of the pads is updated and reflects the state after power-on reset.
(Note: When the PCT starts, the power-on reset is automatically triggered. Hence, the initial pad state
is that of the device after power-on reset).
5.13.2
PCT Trace
1. Reset Trace View
Resets (clears) the Trace View table.
2. Refresh Main View
This command refreshes the Main View representation of the pad configuration tool. It is used if the
pad representation is visually positioned sketchy, not aligned to a grid, etc. and the view needs to be
refreshed.
5.13.3
PCT File Generation
The File Generation menu gives the user options to export all sorts of file formats, thus helping them to
create a quick data files to be used in their code or for reference.
1. C Header This menu allows to export the settings set in the PCT in a C header file. For details of the C
header functionality, refer to the comments in an exported C header file from the PCT.
2. C Header (XLoader) This menu allows to export the settings set in the PCT in a C header file XLoader
format.
3. Android Conf Macro This menu allows to export the settings set in the PCT in a C header android
configuration file format.
4. Pad Conf Macro (modified pads only) This menu allows to export macro definition used by software
for only modified pads. Refer to inside file comments for details.
5. Pad Conf Macro (all registers) This menu allows to export macro definition used by software for all
pads within the PCT. Refer to inside file comments for details.
6. Syscfg.h (Device Sys config header) This menu allows to export a device level system configuration
header file (compatible with L2 software teams environment and test cases.)
7. Bios C header manual mode IODELAY config This menu allows to export a BIOS C header file for
configured manual mode IODELAY A/G delay values.
8. Generic file format - Modified PADCONF only registers This menu allows to export a generic C
header file for configured only padconf registers. Refer to inside file comments for details.
9. Generic file format - ALL PADCONF registers This menu allows to export a generic C header file for
all padconf registers. Refer to inside file comments for details.
10. Generic file format - Only Modified manual IODELAY values This menu allows to export a generic
C header file for only configured manual mode IODELAY A/G delay values. Refer to inside file comments
for details.
32
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
PCT Graphical User Interface Description
www.ti.com
11. Generic file format - ALL manual IODELAY values This menu allows to export a generic C header
file for all IODELAY A/G delay values. Refer to inside file comments for details.
12. Pads Listing: This menu allows to export the list of pads with the associated padconf registers and
settings in a given xml format.
5.13.4
PCT Project
1. Save Registers This menu allows to save the PCT register configuration to a file, in order the user to
be able to reload it on next run. The tool can save two different file formats as given below.
1.1 Save Format: ADD DATA. This menu selection allows to write to file in format where each line
consists of two hex values as given below : ADDRESS_OF_REGISTER DATA_VALUE_OF_REGISTER
1.2 Save Format: [ADD] DATA. This menu selection allows to write to file in format where each line
consists of two hex values as given below : [ADDRESS_OF_REGISTER] DATA_VALUE_OF_REGISTER
NOTE: The ADD DATA format is saved to / read from file with .rd1 (register dump1) extension.
The [ADD] DATA format is saved to / read from file with .rd2 (register dump2) extension.
2. Load Registers This menu allow to load register setting from a file in order to set registers in the PCT.
The tool can load two different file formats as given below.
2.1 Load Format: ADD DATA. This menu selection allows to load a file in which each line consists of two
hex values in following format : ADDRESS_OF_REGISTER DATA_VALUE_OF_REGISTER
2.2 Load Format: [ADD] DATA. This menu selection allows to load a file in which each line consists of
two hex values in following format :[ADDRESS_OF_REGISTER] DATA_VALUE_OF_REGISTER
In case of mismatch between the Device Packages or Silicon Revisions of the PCT settings and the
loaded Registers the warning window shown in Figure 25 appears.
Figure 25. PCT Mismatch Warning Window
NOTE: The Register Load may be used to read-in the registers dump file generated by the Register
Dump script (GEL in Code Composer Studio or CMM in Lauterbach) or by any function
respecting the format described below. This allows to read the current state of the pad conf
at any break-point in the code and obtain a visual representation of its state in the PCT. A
gel and a cmm files can be found in <PCT-Install-path>/Scripts/
3. Save Manual IODELAY configuration: This option allows the user to save their IODELAY manual
mode current configuration.
4. Load Manual IODELAY configuration: This option allows the user to load an IODELAY manual mode
configuration.
5. Save Schematic View configuration: This option allows the user to save their configuration entered
from the Schematics view.
6. Load Schematic View configuration: This option allows the user to load their configuration into the
Schematics view.
5.13.5
PCT Help
1. About PadConf Tool: This option highlights the tool, model and view versions.
2. User Manual: This option opens the user manual document. (For Linux users, navigate to the "Docs"
folder and open document with appropriate application manually.)
3. Licence Agreement: This option displays the licence agreement window.
SPRUIC1 – November 2016
Submit Documentation Feedback
Pad Configuration Tool
Copyright © 2016, Texas Instruments Incorporated
33
PCT Graphical User Interface Description
www.ti.com
4. Export Control Notice: This option displays the export control notice window.
34
Pad Configuration Tool
SPRUIC1 – November 2016
Submit Documentation Feedback
Copyright © 2016, Texas Instruments Incorporated
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, enhancements, improvements and other
changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest
issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and
complete. All semiconductor products (also referred to herein as “components”) are sold subject to TI’s terms and conditions of sale
supplied at the time of order acknowledgment.
TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms
and conditions of sale of semiconductor products. Testing and other quality control techniques are used to the extent TI deems necessary
to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily
performed.
TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and
applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any patent right, copyright, mask work right, or
other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information
published by TI regarding third-party products or services does not constitute a license to use such products or services or a warranty or
endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the
third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of significant portions of TI information in TI data books or data sheets is permissible only if reproduction is without alteration
and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered
documentation. Information of third parties may be subject to additional restrictions.
Resale of TI components or services with statements different from or beyond the parameters stated by TI for that component or service
voids all express and any implied warranties for the associated TI component or service and is an unfair and deceptive business practice.
TI is not responsible or liable for any such statements.
Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements
concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support
that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards which
anticipate dangerous consequences of failures, monitor failures and their consequences, lessen the likelihood of failures that might cause
harm and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use
of any TI components in safety-critical applications.
In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to
help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and
requirements. Nonetheless, such components are subject to these terms.
No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties
have executed a special agreement specifically governing such use.
Only those TI components which TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in
military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components
which have not been so designated is solely at the Buyer's risk, and that Buyer is solely responsible for compliance with all legal and
regulatory requirements in connection with such use.
TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of
non-designated products, TI will not be responsible for any failure to meet ISO/TS16949.
Products
Applications
Audio
www.ti.com/audio
Automotive and Transportation
www.ti.com/automotive
Amplifiers
amplifier.ti.com
Communications and Telecom
www.ti.com/communications
Data Converters
dataconverter.ti.com
Computers and Peripherals
www.ti.com/computers
DLP® Products
www.dlp.com
Consumer Electronics
www.ti.com/consumer-apps
DSP
dsp.ti.com
Energy and Lighting
www.ti.com/energy
Clocks and Timers
www.ti.com/clocks
Industrial
www.ti.com/industrial
Interface
interface.ti.com
Medical
www.ti.com/medical
Logic
logic.ti.com
Security
www.ti.com/security
Power Mgmt
power.ti.com
Space, Avionics and Defense
www.ti.com/space-avionics-defense
Microcontrollers
microcontroller.ti.com
Video and Imaging
www.ti.com/video
RFID
www.ti-rfid.com
OMAP Applications Processors
www.ti.com/omap
TI E2E Community
e2e.ti.com
Wireless Connectivity
www.ti.com/wirelessconnectivity
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2016, Texas Instruments Incorporated
Was this manual useful for you? yes no
Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertising