Crypto-Channel Current Descriptor Pointer Register (Cdprn); Fetch Register (Frn) - Freescale Semiconductor MCF5480 Reference Manual

Freescale semiconductor circuit board reference manual
Table of Contents

Advertisement

22.7.1.3 Crypto-Channel Current Descriptor Pointer Register (CDPRn)

The CDPR, shown in
crypto-channel is currently processing. This register, along with the PAIR_PTR in the CCPSR, can be used
to determine if a new descriptor can be safely inserted into a chain of descriptors.
31
30
R
W
Reset
0
0
15
14
R
W
Reset
0
0
Reg
Addr
Figure 22-19. Crypto-Channel Current Descriptor Pointer Register (CDPRn)
Table 22-16
describes the CDPRn fields.
Bits
Name
31–0
Current
Descriptor
Pointer

22.7.1.4 Fetch Register (FRn)

The FR, displayed in
Figure
typical operation, the host CPU will create a descriptor in memory containing all relevant mode and
location information for the SEC, and then "launch" by writing the address of the descriptor to the fetch
register.
Writes to the FR, while the channel is already processing a different descriptor, will be registered and held
pending until the channel finishes processing the current descriptor or chain of descriptors. When the end
of the current descriptor or chain of descriptors is reached, the descriptor pointed to by the FR will be
treated as the next descriptor in a multi-descriptor chain. In this case, the FR must be written to before the
channel begins end of descriptor notification. If the register is written after notification has begun, the
descriptor will not be considered part of the current chain and will be fetched as a new stand-alone
descriptor or start of chain after the notification process has completed.
In summary, a channel is initiated by a direct write to the FR, and the channel always checks the FR before
determining if it has truly reached the end of a chain.
Freescale Semiconductor
Figure
22-19, contains the address of the data packet descriptor which the
29
28
27
26
0
0
0
0
13
12
11
10
0
0
0
0
MBAR + 0x22044 (CDPR0), 0x23044 (CDPR1)
Table 22-16. CDPRn Field Descriptions
Current descriptor pointer address. Pointer to system memory location of the current descriptor. This
field reflects the starting location in system memory of the descriptor currently loaded into the DB.
This value is updated whenever the crypto-channel requests a fetch of a descriptor from the
controller. Either the value of the fetch register or the next descriptor pointer in the current descriptor
is transferred to the current descriptor pointer register immediately after the fetch is completed.
This address will be used as destination of the write back of the modified header, if header writeback
notification is enabled. If a descriptor is written directly into the descriptor buffer, the host is
responsible for writing a meaningful pointer value into the Current Descriptor Pointer field.
22-20, contains the address of the first byte of a descriptor to be processed. In
MCF548x Reference Manual, Rev. 3
25
24
23
22
Current Descriptor Pointer
0
0
0
0
9
8
7
6
Current Descriptor Pointer
0
0
0
0
Description
21
20
19
18
0
0
0
0
5
4
3
2
0
0
0
0
Channels
17
16
0
0
1
0
0
0
22-27

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mcf5481Mcf5482Mcf5483Mcf5484Mcf5485

Table of Contents