Digi, Digi International, the Digi logo, NetSilicon, a Digi International Company, NET+, NET+OS and
NET+Works are trademarks or registered trademarks of Digi International, Inc. in the United States and
other countries worldwide. All other trademarks are the property of their respective owners.
Information in this document is subject to change without notice and does not represent a committment
on the part of Digi International.
Digi provides this document “as is,” without warranty of any kind, either expressed or implied, including,
but not limited to, the implied warranties of, fitness or merchantability for a particular purpose. Digi may
make improvements and/or changes in this manual or in the product(s) and/or the program(s) described
in this manual at any time.
This product could include technical inaccuracies or typographical errors. Changes are made periodically
to the information herein; these changes may be incorporated in new editions of the publication.
ii
Using This Guide
Using This Guide
This guide provides information about the NS7520 32-bit networked
microprocessor. The NS7520 is part of the NET+ARM line of SoC (System-onChip) products, and supports high-bandwidth applications for intelligent
networked devices.
The NET+ARM family is part of the NET+Works integrated product family, which
includes the NET+OS network software suite.
Conventions used in this guide
This table describes the typographic conventions used in this guide:
This conventionIs used for
italictypeEmphasis, new terms, variables, and document titles.
monospaced type
_ (underscore)Defines a signal as being active low.
‘bIndicates that the number following this indicator is in binary radix
‘dIndicates that the number following this indicator is in decimal radix
‘hIndicates that the number following this indicator is in hexadecimal
Filenames, pathnames, and code examples.
radix
iii
Digi information
Related documentation
For additional documentation, see the Documentation folder in the NET+OS Start
menu.
Documentation updates
Digi occasionally provides documentation updates on the Web site
(www.digiembedded.com/support).
Be aware that if you see differences between the documentation you received in your
package and the documentation on the Web site, the Web site content is the latest
version.
Support
To get help with a question or technical problem with this product, or to make
comments and recommendations about our products or documentation, use the
contact information listed in this table:
iv
ForContact information
Technical supportwww.digiembedded.com/
United States: +1 877 912-3444
Other locations: +1 952 912-3444
NS7520 Hardware Reference, Rev G 9/2007
Contents
Chapter 1: About the NS7520 .................................................................................... 1
NS7520 Features ......................................................................... 2
Key features and operating modes of the major NS7520 modules ........ 2
External use of TA_ and TEA_ ................................................313
xi
xii
About the NS7520
About the NS7520
CHAPTER 1
This chapter provides an overview of the NS7520. The NS7520 is a high-
performance, highly integrated, 32-bit system-on-a-chip ASIC designed for use in
intelligent networked devices and Internet appliances. The NS7520 is based on the
standard architecture in the NET+ARM family of devices.
NET+ARM is the hardware foundation of the NET+Works family of integrated hardware
and software solutions for device networking. These comprehensive platforms
include drivers, popular operating systems, networking software, development tools,
APIs, and complete development boards.
www.digiembedded.com
1
NS7520 Features
NS7520 Features
The NS7520 can support most any networking scenario, and includes a 10/100 BaseT
Ethernet MAC and two independent serial ports (each of which can run in UART or SPI
mode).
The CPU is an ARM7TDMI (ARM7) 32-bit RISC processor core with a rich complement of
support peripherals and memory controllers, including:
Glueless connection to different types of memory; for example, flash,
SDRAM, EEPROM, and others.
Programmable timers
13-channel DMA controller
External bus expansion module
16 general-purpose I/O (GPIO) pins
Key features and operating modes of the major NS7520 modules
2
CPU core
–ARM7 32-bit RISC processor
–32-bit internal bus
–32-bit ARM mode and 16-bit Thumb mode
–15 general-purpose 32-bit registers
–32-bit program counter (PC) and status register
–Five supervisor modes, one user mode
13-channel DMA controller
–Two channels dedicated to Ethernet transmit and receive
–Four channels dedicated to two serial modules’ transmit and receive
–Four channels for external peripherals (only two channels — either 3 and 5
or 4 and 6 — can be configured at one time)
–Three channels available for memory-to-memory transfers
–Flexible buffer management
NS7520 Hardware Reference, Rev G 9/2007
About the NS7520
General-purpose I/O pins
–16 programmable GPIO interface pins
–Four pins programmable with level-sensitive interrupt
Serial ports
–Two fully independent serial ports (UART, SPI)
–Digital phase lock loop (DPLL) for receive clock extractions
–32-byte transmit/receive FIFOs
–Internal programmable bit-rate generators
–Bit rates 75–230400 in 16X mode
–Bit rates 1200 bps–4 Mbps in 1X mode
–Flexible baud rate generator, external clock for synchronous operation
–Receive-side character and buffer gap timers
–Four receive-side data match detectors
Power and operating voltages
–500 mW maximum at 55 MHz (all outputs switching)
–418 mW maximum at 46 MHz (all outputs switching)
–291 mW maximum at 36 MHz (all outputs switching)
–3.3 V — I/O
–1.5 V — Core
Integrated 10/100 Ethernet MAC
–10/100 Mbps MII-based PHY interface
–10 Mbps ENDEC interface
–Support for TP-PMD and fiber-PMD devices
–Full-duplex and half-duplex modes
–Optional 4B/5B coding
–Station, broadcast, and multicast address detection filtering
–512-byte transmit FIFO, 2 Kbyte receive FIFO
–Intelligent receive-side buffer size selection
www.digiembedded.com
3
NS7520 Features
Programmable timers
Operating frequency
–Two independent timers (2μs–20.7 hours)
–Watchdog timer (interrupt or reset on expiration)
–Programmable bus monitor or timer
–36, 46, or 55 MHz internal clock operation from 18.432 MHz quartz crystal
or crystal oscillator
–f
= 36, 46, or 55 MHz (grade-dependent)
MAX
–System clock source by external quartz crystal or crystal oscillator, or clock
signal
–Programmable PLL, which allows a range of operating frequencies from 10
to f
MAX
–Maximum operating frequency from external clock or using PLL
multiplication f
Bus interface
MAX
–Five independent programmable chip selects with 256 Mb addressing per
chip select
–All chip selects support SRAM, FP/EDO DRAM, SDRAM, flash, and EEPROM
without external glue
–Supports 8-, 16-, and 32-bit peripherals
–External address decoding and cycle termination
–Dynamic bus sizing
–Internal DRAM/SDRAM controller with address multiplexer and
programmable refresh frequency
–Internal refresh controller (CAS before RAS)
4
–Burst-mode support
–0–63 wait states per chip select
–Address pins that configure chip operating modes; see "NS7520 bootstrap
initialization" on page 59.
NS7520 Hardware Reference, Rev G 9/2007
NS7520 module block diagram
Debugger
PLL
System
Clock
JTAG Debug
Interface
ARM7TDMI
FIRQ
IRQ
2 timers
Watchdog
timer
Power
3.3V
1.5V
BBUS
D
M
A
D
M
A
D
M
A
D
M
A
Serial-A
UART
SPI
Serial-B
UART
SPI
4
level
interrupt
inputs
16 GPIO
Ethernet
controller
802.3
compliant
External
memory
controller
NS7520
Reset
Address bus
Serial transceivers and other
devices
MII
Memory
devices
Flash
SRAM
FP DRAM
SDRAM
Boot
config
Figure 1 is an overview of the NS7520, including all the modules.
About the NS7520
Figure 1: NS7520 overview
www.digiembedded.com
5
Operating frequency
Operating frequency
The NS7520 is available in grades operating at three maximum operating frequencies:
36 MHz, 46 MHz, and 55 MHz. The operating frequency is set during bootstrap
initialization, using pins A[8:0]. These address pins load the PLL settings register on
powerup reset. A[8:7] determines IS (charge pump current); A[6:5] determines FS
(output divider), and A[4:0] defines ND (PLL multiplier). Each bit in A[8:0] can be set
individually.
See "Setting the PLL frequency," beginning on page 54, for more detailed
information.
6
NS7520 Hardware Reference, Rev G 9/2007
Pinout and Packaging
Pinout and Packaging
CHAPTER 2
The NS7520 can be used in any embedded environment requiring networking
services in an Ethernet LAN. The NS7520 contains an integrated ARM RISC processor,
10/100 Ethernet MAC, serial ports, memory controllers, and parallel I/O. The NS7520
can interface with another processor using a register or shared RAM interface. The
NS7520 provides all the tools required for any embedded networking application.
www.digiembedded.com
7
Packaging
Packaging
Table 1 provides the NS7520 packaging dimensions. Figure 2 shows the pinout and
NS7520 dimensions. Figure 3 shows the NS7520 BGA layout.
SymbolMinNomMax
A——1.4
A10.350.400.45
A2——0.95
b0.450.500.55
D13.0 BSC
D111.2 BSC
E13.0 BSC
E111.2 BSC
e0.8 BSC
8
aaa0.1
Table 1: NS7520 packaging dimensions
NS7520 Hardware Reference, Rev G 9/2007
177 PFBGA
Pinout and Packaging
Figure 2: NS7520 pinout and dimensions
www.digiembedded.com
9
Packaging
A17
H
A9
D25
D22
M8
D3D26
B1
VCCPY10
PORTC1
GNDPY6
XTAL2
E4
14
H1
N1
CS2_
A19
M10
L2
TXER
PLLVSS
F3
N9
XTALB1
BUSY_
A8
D15
D16
P1
N12
OE_
D20
D
GNDPY4
Top View, Balls Facing Down
TDI
B11
B8
R5
P9
VCCPY4
CS1_
VDDC03
D10
BE0_
B9
L13
M3
A20
SCANEN_
C15
C5
C6
R9
J15
D11
R8
N6
7
PORTC3
D12
D8
6
GNDPY7
E12
D29
H14
G1
BCLK
D19
R15
J4
B13
M15
C8
2
A13
C12
P13
D2
BE1_
P10
N13
V1.0
D7
GNDPY9
F12
A14
RXD0
RXDV
PORTA6
D24
R6
VCCPY7
PORTA0
GNDPY1
K2D2
M1
N10
TXD3
A13
NC6
A2
TS_
TMS
RXCRS
CAS0_
A10
A24
M11
F4
E1
VCCPY1
TXD2
K12
B
12
RESV1-
M9
J12
J13
RXD1
RESET_
VSSC02
E13
R
PORTC7
GNDPY2
C3
G13
A9
TRST_
R11
M4
10
CAS3_
CAS2_
VDDC01
A26/0WE_ A27/0OE_
R10
K4
B6
C9
M5
VCCPY8
A10
R2
GNDPY14
8
XTALB2
A11
N7
H15
D12
A0
F14
B4
OSCVCC1
RXD2
PORTA4
A4
C1
D11
P14
CS3_
BISTEN_
D13
J3
P2
GNDPY13
13
PORTA7
C13
F1
L3
G12
A5
D7
P3B3
VCCPY9
E
3
L14
G
A15
BE2_
B10
H12
N4
A18
VDDC04
D4
D3A3
G14
B12
GUIDE PIN
VSSOSC2
TA_
L1
E2
GNDPY10
TXEN
PORTA1
M12
D4
K
A21
XTAL1
K13
GNDPY5
D1
VCCPY6
PORTC2
B7
VSSC01
D28
B15
M6
A11
PLLVDD
D10
D8
D1
R12
H3
VCCPY5
C
RESV2+
A25
PLLTST_
A15
R13
VSSC03
J
TXCOL
D13
C10
G4
VDDC02
GNDPY8
TXD0
A6
PORTC4
E5
N11
RXER
A23
TCK
C7
15
E14
G2
D23
K1
R14
G15
C14
D6
A1
N8
L
RXCLKPORTA2
A8
A12P12
C4
GNDPY11
A14J14
CS4_
D21
NC2
A4
BE3_
NS7520, 177 PFBGA
GNDPY3
D18
L12
P6
4
PORTA5
P4
1
PORTA3
CS0_
TEA_
P11
M14
B2
N14
R7
M13
J1
OSCVCC2
F
K14
A3
A16
N5
PORTC0
TDO
B14
F15
D27
P5
N3
M7
PORTC6
BR_
VSSOSC1
9
11
A1
MDC
D9
P7
E3
R1
N15L15
R3
N
D30
A5
R4
H13
L4
BG_
F2
M
NC3
D14
TXCLK
C11
A7
D17
PORTC5
VCCPY2
MDIO
A2
E15
A12
K3
J2
D5
D31
VCCPY3
P
F13
D15
D5
B5
M2
D6
NC1
D0
P15
D14
RXD3
NC4
A22
5
A6
H4
TXD1
P8
N2
A
VSSC04
RW_
H2C2
NC5
A7
G3
D9
CAS1_
GNDPY12
WE_
K15
Figure 3: NS7520 BGA layout
10
NS7520 Hardware Reference, Rev G 9/2007
Pinout detail tables and signal descriptions
Each pinout table applies to a specific interface and contains the following
information:
ColumnDescription
SignalThe pin name for each I/O signal. Some signals have multiple function modes and are identified
accordingly. The mode is configured through firmware using one or more configuration
registers.
PinThe pin number assignment for a specific I/O signal.
U next to the pin number indicates that the pin is a pullup resistor (input current source).
D next to the pin number indicates that the pin is a pulldown resistor (input current sink).
No value next to the pin indicates that the pin has neither a pullup nor pulldown resistor.
See Figure 28, "Internal pullup characteristics," on page 260 and Figure 29, "Internal pulldown
characteristics," on page 260 for an illustration of the characteristics of these pins. Use the
figures to select the appropriate value of the complimentary resistor to drive the signal to the
opposite logic state. For those pins with no pullup or pulldown resistor, you must select the
appropriate value per your design requirements.
_An underscore (bar) indicates that the pin is active low.
Pinout and Packaging
I/OThe type of signal — input, output, or input/output.
ODThe output drive strength of an output buffer. The NS7520 uses one of three drivers:
2 mA
4 mA
8 mA
Notes:
NO CONNECT as a description for a pin means do not connect to this pin.
The 177th pin (package ball) is for alignment of the package on the PCB.
www.digiembedded.com
11
Pinout detail tables and signal descriptions
System bus interface
SymbolPinI/OODDescription
BCLKA6O8Synchronous bus clock
External busOtherExternal busOther
ADDR27CS0OE_N10 UI/O4Addr bit 27Logical AND of CS0_ and
ADDR26CS0WE_P10 UI/O4Addr bit 26Logical AND of CS0_ and
External busExternal bus
ADDR25M10 UI/O4Remainder of address bus (through ADDR0)
ADDR24R10 UI/O4
ADDR23N9 UI/O4
ADDR22R9 UI/O4
ADDR21M9 UI/O4
ADDR20N8 UI/O4
OE_
WE_
12
ADDR19P8 UI/O4
ADDR18M7 UI/O4
ADDR17R7UI/O4
ADDR16N7 UI/O4
ADDR15R6 UI/O4
ADDR14M6 UI/O4
ADDR13P6 UI/O4
ADDR12N6 UI/O4
ADDR11M5 UI/O4
ADDR10P5 UI/O4
ADDR9N5 UI/O4
ADDR8R4 UI/O4
ADDR7R3 UI/O4
Table 2: System bus interface pinout
NS7520 Hardware Reference, Rev G 9/2007
SymbolPinI/OODDescription
ADDR6R2 UI/O4
ADDR5M4 UI/O4
ADDR4N4 UI/O4
ADDR3R1 UI/O4
ADDR2M3 UI/O4
ADDR1N2 UI/O4
ADDR0P1 UI/O4
DATA31N1I/O4Data bus
DATA30M1I/O4
DATA29L3I/O4
DATA28L2I/O4
DATA27L4I/O4
DATA26L1I/O4
DATA25K3I/O4
Pinout and Packaging
DATA24K2I/O4
DATA23K1I/O4
DATA22J2I/O4
DATA21J3I/O4
DATA20J1I/O4
DATA19H3I/O4
DATA18H4I/O4
DATA17H1I/O4
DATA16H2I/O4
DATA15G4I/O4
DATA14G1I/O4
DATA13G3I/O4
DATA12G2I/O4
Table 2: System bus interface pinout
www.digiembedded.com
13
Pinout detail tables and signal descriptions
SymbolPinI/OODDescription
DATA11F4I/O4
DATA10F2I/O4
DATA9F3I/O4
DATA8E1I/O4
DATA7E2I/O4
DATA6E3I/O4
DATA5D1I/O4
DATA4C1I/O4
DATA3B1I/O4
DATA2D4I/O4
DATA1D3I/O4
DATA0C2I/O4
BE3_D9I/O2Byte enable D31:D24
BE2_A9I/O2Byte enable D23:D16
14
BE1_C9I/O2Byte enable D15:D08
BE0_B9I/O2Byte enable D07:D00
TS_A8 UI/O4DO NOT USE
Add an external 820 ohm pullup to 3.3 V.
TA_D8 UI/O4Data transfer acknowledge
Add an external 820 ohm pullup to 3.3 V.
TA_ is bidirectional. It is used in input mode to
terminate a memory cycle externally. It is used in
output mode for reference purposes only.
TEA_C8 UI/O4Data transfer error acknowledge
Add an external 820 ohm pullup to 3.3 V.
TEA_ is bidirectional. It is used in input mode to
terminate a memory cycle externally. It is used in
output mode for reference purposes only.
RW_D6I/O2Transfer direction
BR_D7NO CONNECT
Table 2: System bus interface pinout
NS7520 Hardware Reference, Rev G 9/2007
Pinout and Packaging
SymbolPinI/OODDescription
BG_C7NO CONNECT
BUSY_B7NO CONNECT
Table 2: System bus interface pinout
Signal descriptions
MnemonicSignalDescription
BCLKBus clockProvides the bus clock. All system bus interface signals are
referenced to the BCLK signal.
ADDR[27:0]Address busIdentifies the address of the peripheral being addressed by
the current bus master. The address bus is bi-directional.
DATA[31:0]Data busProvides the data transfer path between the NS7520 and
external peripheral devices. The data bus is bi-directional.
Recommendation: Less than x32 (S)DRAM/SRAM
memory configurations. Unconnected data bus pins will
float during memory read cycles. Floating inputs can be a
source of wasted power.
For other than x32 DRAM/SRAM configurations, the
unused data bus signals should be pulled up.
TS_Transfer startNO CONNECT
BE_Byte enableIdentifies which 8-bit bytes of the 32-bit data bus are active
during any given system bus memory cycle. The BE_
signals are active low and
bi-directional.
TA_Transfer acknowledgeIndicates the end of the current system bus memory cycle.
This signal is driven to 1 prior to
tri-stating its driver.
TA_ is bi-directional.
Table 3: System bus interface signal description
www.digiembedded.com
15
Pinout detail tables and signal descriptions
MnemonicSignalDescription
TEA_Transfer error acknowledge Indicates an error termination or burst cycle termination:
RW_Read/write indicatorIndicates the direction of the system bus memory cycle.
BR_Bus requestNO CONNECT
BG_Bus grantNO CONNECT
BUSY_Bus busyNO CONNECT
Table 3: System bus interface signal description
In conjunction with TA_ to signal the end of a burst
cycle.
Independently of TA_ to signal that an error occurred
during the current bus cycle. TEA_ terminates the
current burst cycle.
This signal is driven to 1 prior to tri-stating its driver.
TEA_ is bi-directional. The NS7520 or the external
peripheral can drive this signal.
RW_ high indicates a read operation; RW_ low indicates a
write operation. The RW_ signal is bi-directional.
Chip select controller
The NS7520 supports five unique chip select configurations:
SymbolPinI/OODDescription
CS4_B4O4Chip select/DRAM RAS_
CS3_A4O4Chip select/DRAM RAS_
CS2_C5O4Chip select/DRAM RAS_
CS1_B5O4Chip select/DRAM RAS_
CS0_D5O4Chip select (boot select)
CAS3_A1O4FP/EDO DRAM column strobe
CAS2_C4O4FP/EDO DRAM column strobe
Table 4: Chip select controller pinout
16
D31:D24/SDRAM RAS_
D23:D16/SDRAM CAS_
NS7520 Hardware Reference, Rev G 9/2007
Pinout and Packaging
SymbolPinI/OODDescription
CAS1_B3O4FP/EDO DRAM column strobe
D15:D08/SDRAM WE_
CAS0_A2O4FP/EDO DRAM column strobe
D07:D00/SDRAM A10(AP)
WE_C6O4Write enable for NCC Ctrl’d cycles
OE_B6O4Output enable for NCC Ctrl’d cycles
Table 4: Chip select controller pinout
Signal descriptions
MnemonicSignalDescription
CS0_
CS1_
CS2_
CS3_
CS4_
CAS0_
CAS1_
CAS2_
CAS3_
WE_Write enableActive low signal that indicates that a memory write cycle
Chip select 0
Chip select 1
Chip select 2
Chip select 3
Chip select 4
Column address strobe
signals
Unique chip select outputs supported by the NS7520. Each
chip select can be configured to decode a portion of the
available address space and can address a maximum of 256
Mbytes of address space. The chip selects are configured
using registers in the memory module.
A chip select signal is driven low to indicate the end of the
current memory cycle. For FP/EDO DRAM, these signals
provide the RAS signal.
Activated when an address is decoded by a chip select
module configured for DRAM mode. The CAS_ signals
are active low and provide the column address strobe
function for DRAM devices.
The CAS_ signals also identify which 8-bit bytes of the 32bit data bus are active during any given system bus memory
cycle.
For SDRAM, CAS[3:1]_ provides the SDRAM command
field. CAS0_ provides the
auto-precharge signal.
For non-DRAM settings, these signals are 1.
is in progress. This signal is activated only during write
cycles to peripherals controlled by one of the chip selects in
the memory module.
Table 5: Chip select controller signal description
www.digiembedded.com
17
Pinout detail tables and signal descriptions
MnemonicSignalDescription
OE_Output enableActive low signal that indicates that a memory read cycle is
Table 5: Chip select controller signal description
Ethernet interface MAC
in progress. This signal is activated only during read cycles
from peripherals controlled by one of the chip selects in the
memory module.
Note:
ENDEC values for general-purpose output and TXD refer to bits in the
Ethernet General Control register. ENDEC values for general-purpose input
and RXD refer to bits in the Ethernet General Status register.
In this table, GP designates general-purpose.
SymbolPinI/OODDescription
MIIENDECMIIENDEC
MDCGP outputD10O2MII management
clock
MDIO GP outputB10 UI/O2MII data State of UTP_STP bit
TXCLKC10ITX clock
TXD3GP outputA12O2TX data 3State of AUI_TP[0] bit
TXD2GP outputB11O2TX data 2State of AUI_TP[1] bit
TXD1GP outputD11O2TX data 1Inverted state of PDN bit,
TXD0TXDA11O2TX data 0Transmit data
TXERGP outputA13O2TX code errorState of LNK_DIS_ bit
TXENB12O2TX enable
State of (LPBK bit XOR
(Mode=SEEQ))
open collector
18
TXCOLA14ICollision
RXCRSD12ICarrier sense
RXCLKC12IRX clock
RXD3GP inputD14IRX data 3Read state in bit 12
Table 6: Ethernet interface MAC pinout
NS7520 Hardware Reference, Rev G 9/2007
Loading...
+ 309 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.