USBN9604 National Semiconductor, USBN9604 Datasheet - Page 41
![no-image](/images/manufacturer_photos/0/4/469/national_semiconductor_sml.jpg)
USBN9604
Manufacturer Part Number
USBN9604
Description
USBN9603/USBN9604 Universal Serial Bus Full Speed Node Controller with Enhanced DMA Support
Manufacturer
National Semiconductor
Datasheet
1.USBN9604.pdf
(60 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Part Number:
USBN9604-28M
Manufacturer:
NS/国半
Quantity:
20 000
Company:
Part Number:
USBN9604-28M/NOPB
Manufacturer:
Freescale
Quantity:
2 314
Part Number:
USBN9604-28M/NOPB
Manufacturer:
TI/德州仪器
Quantity:
20 000
Part Number:
USBN9604-28MX
Manufacturer:
NS/国半
Quantity:
20 000
Company:
Part Number:
USBN9604-28MX/NOPB
Manufacturer:
NS21
Quantity:
1 495
Part Number:
USBN9604-28MX/NOPB
Manufacturer:
TI/德州仪器
Quantity:
20 000
Company:
Part Number:
USBN9604SLBX
Manufacturer:
SAMSUNG
Quantity:
4 712
Part Number:
USBN9604SLBX
Manufacturer:
NS/国半
Quantity:
20 000
7.0 Register Set
7.2.9
This is a read only register. Since reading it does not alter the state of the TXSx or RXSx register to which it points, the
firmware can freely check the status of the channel.
STAT
Status. This field mirrors the status bits of the transmitter or receiver selected by the DSRC2-0 field in the DMACNTRL reg-
ister (DMA need not be active or enabled). It corresponds to TXSx or RXSx, respectively.
7.2.10 DMA Count Register (DMACNT)
This register allows a maximum count to be specified for ADMA operations
DCOUNT
DMA Count. This field is decremented on completion of a DMA operation until it reaches 0. Then the DCNT bit in the DMA
Event register is set, only when the next successful DMA operation is completed. This register does not underflow.
For receive operations, this count decrements when the packet is received successfully, and then transferred to memory via
DMA.
For transmit operations, this count decrements when the packet is transferred from memory via DMA, and then transmitted
successfully.
DCOUNT should be set as follows: DCOUNT = (No. of packets to transfer) - 1
If a DMACNT write operation occurs simultaneously with the decrement operation, the write takes precedence.
7.2.11 DMA Error Register (DMAERR)
DMAERRCNT
DMA Error Counter. In conjunction with the automatic error handling feature, this counter defines the maximum number of
consecutive bus errors before ADMA mode is stopped. Firmware can set the 7-bit counter to a preset value. Once ADMA is
started, the counter decrements from the preset value by 1 every time a bus error is detected. Every successful transaction
resets the counter back to the preset value. When ADMA mode is stopped, the counter is also set back to the preset value.
If the counter reaches 0 and another erroneous packet is detected, the DERR bit in the DMA Event register is set. For more
information on the effect of setting DERR, see Section 7.2.7. This register cannot underrun.
DMAERRCNT should be set as follows: DMAERRCNT = 3D (Max. no. of allowable transfer attempts) - 1
A write access to this register is only possible when ADMA is inactive. Otherwise, it is ignored. Reading from this register
while ADMA is active returns the current counter value. Reading from it while ADMA is inactive returns the preset value. The
counter decrements only if AEH is set (automatic error handling activated).
Mirror Register (MIR)
bit 7
AEH
bit 7
bit 7
r/w
0
(Continued)
bit 6
bit 6
bit 6
0
bit 5
bit 5
bit 5
0
bit 4
bit 4
bit 4
DCOUNT7-0
0
STAT
r/w
DMAERRCNT
41
-
r
-
bit 3
bit 3
bit 3
r/w
0
bit 2
bit 2
bit 2
0
bit 1
bit 1
bit 1
bit 0
bit 0
bit 0
0
www.national.com