Register Set; Control Registers; Main Control Register (Mcntrl) - NS USBN9603 Manual

Universal serial bus full speed node controller with enhanced dma support
Table of Contents

Advertisement

7.0 Register Set

The device has a set of memory-mapped registers that can be read from/written to control the USB interface. Some register
bits are reserved; reading from these bits returns undefined data. Reserved register bits should always be written with 0.
The following conventions are used to describe the register format:
Bit Number
Bit Mnemonic
Corresponding FIFO
Reset Value
Register Type

7.1 CONTROL REGISTERS

7.1.1

Main Control Register (MCNTRL)

bit 7
INTOC1-0
0
SRST
Software Reset. Setting this bit causes a software reset of the device. This reset is equivalent to a hardware reset except
that the Clock Configuration (CCONF) register is unaffected. All registers revert to their default values. This bit is cleared
automatically upon completion of the initiated reset.
VGE
Voltage Regulator Enable. Setting this bit enables the internal 3.3V voltage regulator. This bit is hardware reset only to a 0,
disabling the internal 3.3V regulator by default. When the internal 3.3V regulator is disabled, the device is effectively discon-
nected from USB. Upon power-up, the firmware may perform any needed initialization (such as power-on self test) and then
set the VGE bit. Until the VGE bit is set, the upstream hub port does not detect the device presence.
If the VGE bit is reset an external 3.3V power supply may be used on the V3.3 pin.
NAT
Node Attached. This bit indicates that this node is ready to be detected as attached to USB. When reset the transceiver
forces SE0 on the USB port to prevent the hub (to which this node is connected to) from detecting an attach event. After
reset, this bit is left cleared to give the device time before it must respond to commands. After this bit is set, the device no
longer drives the USB and should be ready to receive Reset signaling from the hub.
The NAT bit should be set by the firmware if an external 3.3V supply has been provided to the V3.3 pin, or at least 1 mS
after the VGE bit is set (in the latter case, the delay allows the internal regulator sufficient time to stabilize).
INTOC
Interrupt Output Control. These bits control interrupt ouput according to the following table.
www.national.com
bit 7
bit 6
Corresponding FIFO types and numbers, where relevant
r
= Read only
w
= Write only
r/w
= Read and write by firmware
CoR = Cleared on read
CoW = Cleared on write if written with 0; writing a 1 has no effect
HW
= Modified by the device and by firmware
bit 6
bit 5
Reserved
0
-
r/w
-
bit 5
bit 4
bit 3
Abbreviated bit/field names
reset values, where relevant
bit 4
bit 3
bit 2
NAT
VGE
0
0
r/w
r/w
30
bit 2
bit 1
bit 1
bit 0
Reserved
SRST
0
r/w
bit 0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Usbn9604

Table of Contents