Epi General-Purpose Configuration (Epigpcfg) Register, Offset 0X010; Epi General-Purpose Configuration (Epigpcfg) Register [Offset 0X010]; Epi General-Purpose Configuration (Epigpcfg) Register Field Descriptions - Texas Instruments Concerto F28M36 Series Technical Reference Manual

Table of Contents

Advertisement

www.ti.com

17.11.7 EPI General-Purpose Configuration (EPIGPCFG) Register, offset 0x010

NOTE: The MODE field in the EPICFG register determines which configuration register is accessed
for offsets 0x010 and 0x014.
To access EPIGPCFG, the MODE field must be 0x0.
The RD2CYC bit must be set at all times in General-Purpose mode to ensure proper
operation.
The General-Purpose configuration register is used to configure the control, data, and address pins. This
mode can be used for custom interfaces with FPGAs, CPLDs, and for digital data acquisition and actuator
control. Note that this register is reset when the MODE field in the EPICFG register is changed. If another
mode is selected and the General-purpose mode is selected again, the register the values must be
reinitialized.
This mode is designed for three general types of use:
Extremely high-speed clocked interfaces to FPGAs and CPLDs, with three sizes of data and optional
addresses. Framing and clock-enable permit more optimized interfaces.
General parallel GPIO. From 1 to 32 pins may be written or read, with the speed precisely controlled
by the baud rate in the EPIBAUD register (when used with the NBRFIFO and/or the WFIFO) or by rate
of accesses from software or µDMA.
General custom interfaces of any speed.
The configuration allows for choice of an output clock(free running or gated), a framing signal (with frame
size),a ready input (to stretch transactions), read and write strobes, address of varying sizes, and data of
varying sizes. Additionally, provisions are made for splitting address and data phases on the external
interface.
Figure 17-34. EPI General-Purpose Configuration (EPIGPCFG) Register [offset 0x010]
31
30
CLKPIN
CLKGATE
R/W-0
R/W-0
23
22
FRMCNT
R/W-0x0
15
MAXWAIT
R/W-0x00
LEGEND: R/W = Read/Write; R = Read only; -n = value after reset
Table 17-20. EPI General-Purpose Configuration (EPIGPCFG) Register Field Descriptions
Bit
Field
31
CLKPIN
30
CLKGATE
29
Reserved
SPRUHE8E – October 2012 – Revised November 2019
Submit Documentation Feedback
29
28
Reserved
RDYEN
R-0
R/W-0
21
20
Reserved
R-0
Value
Description
Clock Pin
The EPI clock is generated from the COUNT0 field in the EPIBAUD register (as is the system clock
which is divided down from it).
Note: If general purpose mode is configured to 32-bit data transfers (DSIZE = 0x3 in the EPICFG
register), CLKPIN must be set to 0 to prevent clock-gated reads.
0
No clock output.
1
EPI0S31 functions as the EPI clock output.
Clock Gated
Note that EPI0S27 is an iRDY signal if RDYEN is set. CLKGATE is ignored if CLKPIN is 0 or if the
COUNT0 field in the EPIBAUD register is cleared.
0
The EPI clock is free running.
1
The EPI clock is output only when there is data to write or read (current transaction); otherwise the
EPI clock is held low.
Reserved
Copyright © 2012–2019, Texas Instruments Incorporated
27
26
Reserved
FRM50
R/W-0
R/W-0
19
18
WR2CYC
RD2CYC
R/W-0
R/W-0
8
7
6
5
Reserved
ASIZE
R-0x0
R/W-0x0
Register Descriptions
25
FRMCNT
R/W-0x0
17
Reserved
R-0x0
4
3
2
1
Reserved
DSIZE
R-0x0
R/W-0x0
External Peripheral Interface (EPI)
24
16
0
1275

Advertisement

Table of Contents
loading

Table of Contents