Initialization Of Hwob = 1 And Hpia - Texas Instruments TMS320C6201 Reference Manual

Tms320c6000 series peripherals
Hide thumbs Also See for TMS320C6201:
Table of Contents

Advertisement

7.4 Host Access Sequences
7.4.1
Host Initialization of HPIC and HPIA
Table 7–7. Initialization of HWOB = 1 and HPIA
Event
HD
Host writes HPIC
0001
1st halfword
Host writes HPIC
0001
2nd halfword
Host writes HPIA
1234
1st halfword
Host writes HPIA
8000
2nd halfword
Note:
A ? in this table indicates the value is unknown.
The host begins HPI accesses by performing the following tasks in the order
giving:
1) Initializing the HPIC register
2) Initializing the HPIA register
3) Writing data to or reading data from HPID register
Reading from or writing to HPID initiates an internal cycle that transfers the de-
sired data between the HPID register and the DMA auxiliary channel. Host ac-
cess of any HPI register requires two halfword accesses on the HPI bus: the
first with HHWIL low and the second with HHWIL high. Typically, the host does
not break the first halfword/second halfword (HHWIL low/high) sequence. If
this sequence is broken, data can be lost, and undesired operation can result.
The first halfword access may have to wait for a previous HPI request to finish.
Previous requests include HPID writes and prefetched HPID reads. Thus, the
HPI deasserts HRDY (drives HRDY high) until the HPI can begin this request.
The second halfword access always has HRDY active because all previous
accesses have been completed for the first halfword access.
Before accessing data, the host must first initialize the HWOB bit of the HPIC
register and then HPIA (in this order, because HWOB affects the HPIA access).
After initializing HWOB, the host can write to HPIA with the correct halfword
alignment. Table 7–7 and Table 7–8 summarize the initialization sequence for
HWOB = 1 and HWOB = 0, respectively. In these examples, HPIA is set to
80001234h. In all these accesses, the HRDY bits in the HPIC register are set.
A question mark in these tables indicates that the value is unknown.
Value During Access
HBE[1:0]
HR/W
xx
0
xx
0
xx
0
xx
0
HCNTL[1:0]
HHWIL
00
0
00
1
01
0
01
1
Host Access Sequences
Value After Access
HPIC
HPIA
00090009 ???????? ????????
00090009 ???????? ????????
00090009 ????1234 ????????
00090009 80001234 ????????
Host-Port Interface
HPID
7-19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c6701Tms320c6711Tms320c6211Tms320c6202

Table of Contents