Digi, Digi International, the Digi logo, the Making Device Networking Easy 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.
Digi International
11001 Bren Road East
Minnetonka, MN 55343 U.S.A.
United States: +1 877 912-3444
Other locations: +1 952 912-3444
www.digi.com/support/
www.digi.com
Contents
Chapter 1: About the NS7520..................................................1
NS7520 Features ......................................................................... 2
Key features and operating modes of the major NS7520 modules........ 2
Review this section for basic information about the guide you are using, as
well as general support and contact information.
About 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.
Who should read this guide
This guide is for hardware developers, system software developers, and
applications programmers who want to use the NS7520 for development.
To complete the tasks described in this guide, you must:
Understand the basics of hardware and software design, operating
systems, and microprocessor design.
Understand the NS7520 architecture.
ix
What’s in this guide
This table shows where you can find specific information in this guide:
To read aboutSee
NS7520 key featuresChapter 1, "About the NS7520"
NS7520 ball grid array assignments & packagingChapter 2, "Pinout and Packaging"
NS7520 CPU and ARM Thumb conceptChapter 3, "Working with the CPU"
BBus functionalityChapter 4, "BBus Module"
System functionalityChapter 5, "SYS Module"
General (GEN) module functionalityChapter 6, "GEN Module"
How the NS7520 can be configured to interface
with different types of memory devices
DMA controller, supported DMA channels, and
internal and external DMA transfers
Ethernet controller moduleChapter 9, "Ethernet Module"
Serial channels A and BChapter 10, "Serial Controller Module"
NS7520 timing information and diagramsChapter 11, "Electrical Characteristics"
Conventions used in this guide
This table describes the typographic conventions used in this guide:
This conventionIs used for
italic typeEmphasis, 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
Filenames, pathnames, and code examples.
Chapter 7, "Memory Controller Module"
Chapter 8, "DMA Module"
‘dIndicates that the number following this indicator is in decimal radix
‘hIndicates that the number following this indicator is in hexadecimal radix
x
NS7520 Hardware Reference, Rev. D 03/2006
Related documentation
NS7520 Jumpers and Components provides a hardware description of the NET+Works
Development Board, and includes information about jumpers, connectors, switches,
and interface configurations, as well as development board diagrams.
Review the documentation CD-ROM that came with your development kit for
information on third-party products and other components.
See the NET+OS software documentation for information appropriate to the chi p you
are using.
Documentation updates
Digi occasionally provides documentation updates on the Web site
(www.digi.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.
Customer 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:
ForContact information
Technical supportUnited States: +1 877 912-3444
Other locations: +1 952 912-3444
www.digi.com/support
www.digi.com
www.digi.com
xi
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.
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,
Key features and operating modes of the major NS7520 modules
CPU core
13-channel DMA controller
2
–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
–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
–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
–Two independent timers (2μs–20.7 hours)
–Watchdog timer (interrupt or reset on expiration)
–Programmable bus monitor or timer
Operating frequency
–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 60.
NS7520 Hardware Reference, Rev. D 03/2006
NS7520 module block diagram
Figure 1 is an overview of the NS7520, including all the modules.
About the NS7520
Debugger
Power
3.3V
1.5V
PLL
System
Clock
BBUS
D
M
A
Serial-A
UART
SPI
JTAG Debug
ARM7TDMI
D
M
A
Serial-B
UART
SPI
16 GPIO
Interface
4
level
interrupt
inputs
FIRQ
IRQ
NS7520
2 timers
D
M
A
Ethernet
controller
802.3
compliant
Reset
Watchdog
timer
D
M
A
External
memory
controller
Address bus
Serial transceivers and other
devices
Figure 1: NS7520 overview
MII
Boot
config
www.digi.com
Memory
devices
Flash
SRAM
FP DRAM
SDRAM
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. D 03/2006
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.
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.
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 264 and Figure 29,
"Internal pulldown characteristics," on page 264 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.
Pinout and Packaging
_An underscore (bar) indicates that the pin is active low.
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.digi.com
11
Pinout detail tables and signal descriptions
System bus interface
SymbolPinI/OODDescription
BCLKA6O8Synchronous bus clock
External busOtherExternal busOther
ADDR27CS0OE_N10 U I/O4Addr bit 27Logical AND of CS0_
ADDR26CS0WE_P10 UI/O4Addr bit 26Logical AND of CS0_
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.
Table 3: System bus interface signal description
www.digi.com
15
Pinout detail tables and signal descriptions
MnemonicSignalDescription
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.
TEA_Transfer error
RW_Read/write indicatorIndicates the direction of the system bus memory