Texas Instruments Development Kit for TM4C129x,Tiva™ ARM® Cortex™ -M4 Microcontroller DK-TM4C129X DK-TM4C129X 데이터 시트

제품 코드
DK-TM4C129X
다운로드
페이지 2182
Register 3: EPI Main Baud Rate (EPIBAUD2), offset 0x008
The system clock is used internally to the EPI Controller. The baud rate counter can be used to
divide the system clock down to control the speed on the external interface. If the mode selected
emits an external EPI clock, this register defines the EPI clock emitted. If the mode selected does
not use an EPI clock, this register controls the speed of changes on the external interface. Care
must be taken to program this register properly so that the speed of the external bus corresponds
to the speed of the external peripheral and puts acceptable current load on the pins.
COUNT0
and
COUNT1
are used in quad chip select mode when different baud rates are selected, page 910 or
page 916. If different baud rates are used,
COUNT0
is associated with the address range specified
by CS2n and
COUNT1
is associated with the address range specified by CS3n.
The
COUNTn
field is not a straight divider or count. The EPI Clock on
EPI0S31
is related to the
COUNTn
field and the system clock as follows:
If
COUNTn
= 0,
kFreq
SystemCloc
eq
EPIClockFr
=
otherwise:
2
1
2
×
+
⎥⎦
⎢⎣
=
COUNTn
kFreq
SystemCloc
eq
EPIClockFr
where the symbol around
COUNTn
/2 is the floor operator, meaning the largest integer less than or
equal to
COUNTn
/2.
So, for example, a
COUNTn
of 0x0001 results in a clock rate of ½(system clock); a
COUNTn
of 0x0002
or 0x0003 results in a clock rate of ¼(system clock).
EPI Main Baud Rate (EPIBAUD2)
Base 0x400D.0000
Offset 0x008
Type RW, reset 0x0000.0000
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
COUNT1
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
COUNT0
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
RW
Type
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Reset
Description
Reset
Type
Name
Bit/Field
CS3n Baud Rate Counter 1
This bit field contains a counter used to divide the system clock by the
count.
A count of 0 means the system clock is unchanged.
This bit field is only valid when quad chip selects are enabled by setting
the
CSCFGEXT
bit to 1 and the
CSCFG
field to 0x1 or 0x2. In addition,
the
CSBAUD
bit must be set in the EPIHBnCFG2 register.
0x0000
RW
COUNT1
31:16
December 13, 2013
892
Texas Instruments-Advance Information
External Peripheral Interface (EPI)