![background image](http://html.mh-extra.com/html/national-semiconductor/st-nic-dp83902a/st-nic-dp83902a_manual_710381035.webp)
10.0 Internal Registers
(Continued)
10.4 DMA REGISTERS
DMA Registers
TL/F/11157 – 19
The DMA Registers are partitioned into groups; Transmit,
Receive and Remote DMA Registers. The Transmit regis-
ters are used to initialize the Local DMA Channel for trans-
mission of packets while the Receive Registers are used to
initialize the Local DMA Channel for packet Reception. The
Page Stop, Page Start, Current and Boundary Registers are
used by the Buffer Management Logic to supervise the Re-
ceive Buffer Ring. The Remote DMA Registers are used to
initialize the Remote DMA.
Note:
In the figure above, registers are shown as 8 or 16 bits wide. Although
some registers are 16-bit internal registers, all registers are accessed
as 8-bit registers. Thus the 16-bit Transmit Byte Count Register is
broken into two 8-bit registers, TBCR0, TBCR1. Also TPSR, PSTART,
PSTOP, CURR and BNRY only check or control the upper 8 bits of
address information on the bus. Thus, they are shifted to positions
15–8 in the diagram above.
10.5 TRANSMIT DMA REGISTERS
TRANSMIT PAGE START REGISTER (TPSR)
This register points to the assembled packet to be transmit-
ted. Only the eight higher order addresses are specified
since all transmit packets are assembled on 256-byte page
boundaries. The bit assignment is shown below. The values
placed in bits D7 – D0 will be used to initialize the higher
order address (A8 – A15) of the Local DMA for transmission.
The lower order bits (A7 – A0) are initialized to zero.
Bit Assignment
7
6
5
4
3
2
1
0
TPSR
A15
A14
A13
A12
A11
A10
A9
A8
(A7–A0 Initialized to Zero)
TRANSMIT BYTE COUNT REGISTER 0, 1
(TBCR0, TBCR1)
These two registers indicate the length of the packet to be
transmitted in bytes. The count must include the number of
bytes in the source, destination, length and data fields. The
maximum number of transmit bytes allowed is 64 Kbytes.
The ST-NIC will not truncate transmissions longer than
1500 bytes. The bit assignment is shown below:
7
6
5
4
3
2
1
0
TBCR1
L15
L14
L13
L12
L11
L10
L9
L8
7
6
5
4
3
2
1
0
TBCR0
L7
L6
L5
L4
L3
L2
L1
L0
34
Obsolete