NS7520 Hardware Reference
Page
Part number/version 90000353D Release date March
Page
Contents
A p t e r 4 B B u s M o d u l e
A p t e r 7 M e m o r y C o n t r o l l e r M o d u l e
A p t e r
A p t e r 1 0 S e r i a l C o n t r o l l e r M o d u l e
D e
Who should read this guide
About this guide
What’s in this guide
Conventions used in this guide
To read about See
For Contact information
Documentation updates
Related documentation
Customer support
Page
About the NS7520
Key features and operating modes of the major NS7520 modules
NS7520 Features
O u t t h e N S 7 5 2
7 5 2 0 F e a t u r e s
NS7520 overview
NS7520 module block diagram
Operating frequency
Pinout and Packaging
NS7520 packaging dimensions
Symbol Min Nom Max
Packaging
NS7520 pinout and dimensions
NS7520 BGA layout
Column Description
Pinout detail tables and signal descriptions
External bus
Symbol Pin Description
System bus interface
System bus interface pinout
ADDR4
ADDR7
ADDR6
ADDR5
Do not USE
Signal descriptions
System bus interface signal description
Mnemonic Signal Description
Chip select controller
Chip select controller pinout
Busy
Mnemonic Signal
Chip select controller signal description
Ethernet interface MAC pinout
Ethernet interface MAC
Ethernet interface MAC signal description
CRS
COL
General-purpose I/O
No connect pins
No connect pins
Serial Other Pin Serial channel Signal Description
DSR
RTS PORTC4 RXCB/RIB Reset
PORTA3 Rxda DACK1
PORTA2 Dsra Amux
Serial channel Other Description
Gpio signal
Serial signal
Other signal
System clock and reset
Clock generation and reset signal description
System clock pinout
Bisten
System mode test support
System mode and system reset pinout
Plltst
ARM debugger signal description
Jtag test ARM debugger
Jtag test pinout
Trst termination
GND
Power supply
Power supply pinout
Signal Pin Description
Working with the CPU
CPU performance
ARM Thumb concept
ARM
ARM mode
Working with ARM exceptions
ARM performance
Exception priorities
Summary of ARM exceptions
Exception vector table
Exception vector table
Vector Description Address
Reset exception
Detail of ARM exceptions
Undefined exception
Abort exception
SWI exception
Firq exception
IRQ exception
Entering and exiting an exception software action
Entering an exception
Exiting an exception
Abort P
Reset Undef
Exception entry/exit summary
Exception entry/exit by exception type
Hardware Interrupts
Firq and IRQ lines
Interrupt controller
Interrupt sources
W . d i g i . c o m
Page
BBus Module
Module Master Slave
BBus masters and slaves
Cycles and BBus arbitration
BBus masters and slaves
Address decoding
BBus address decoding
Address range Module
Page
SYS Module
Signal description
Signal mnemonic Signal name Description
Jtag support
ARM debug
System clock generation NS7520 clock module
External oscillator vs. internal PLL circuit
NS7520 clock module block diagram
Using the external oscillator
External oscillator mode hardware configuration
PLL mode hardware configuration
Using the PLL circuit
PLL mode hardware configuration
Bits Access Mnemonic Reset Description D3109 Reserved
Setting the PLL frequency
PLL Settings register Setting the PLL frequency on bootup
PLL Settings register bit definition
PLL multiplier
Bits Access Mnemonic Reset Description
MHz A87 A65 A40 ND+1 PLL Settings reg
Output divider
MHz A87 A65 A40 ND+1 PLL Settings reg
PLL Control register bit definition
Pllcnt
Sysclk frequency
MHz
ND+1 PLL Settings register
Reset circuit sources
Address bit Name Description
NS7520 bootstrap initialization
GEN Module
Address Register
Module configuration
GEN module address configuration
GEN module hardware initialization
General information
GEN module registers
System Control register
Address FFB0
Software watchdog timeout in seconds
Bclk output disable
Software watchdog enable
Software watchdog reset/interrupt select
Bus monitor enable
Enable access to internal chip registers in CPU
User mode
Bus interface TEA/LAST configuration
Bits Access Mnemonic Reset
Description Enable ARM CPU
DMA module test mode
CPU disable
DMA module reset
TA input synchronizer
NS7520 revision ID
Last reset caused by external reset
System Status register
System Status register bit definition
Product ID defined by external resistor jumpers
Last reset caused by watchdog timer
Last reset caused by PLL update
Last reset caused by software reset
Address FFB0 000C
Software Service register
Timer Control registers
Software Service register bit definition
Timer interrupt mode
Timer Control registers bit definition
Timer enable
Timer interrupt enable
Timer prescaler
Timer clock source
Initial timer count
Current timer count
Timer Status registers
Timer Status registers bit definition
Timer interrupt pending
Porta data direction
Porta Configuration register
Porta mode configuration
Porta register bit definition
Porta data register
Porta Configuration
Porta configuration
Adata
IN/SER1DCD
PORTA1 Gpio Gpio OUT SER1CTS DONE1OUT PORTA0 SER1SPISENABLE
Inputs
Outputs
Portc data direction
Portc Configuration register
Portc mode
Portc register bit definition
Portc data register
Portc configuration
Portc configuration
Cdata
PORTC1 Gpio Gpio OUT LEVELIRQ1=CDIR1 PORTC0 LEVELIRQ0=CDIR0
PORTC30
Interrupts
Address FFB0 0030 / 0034
Interrupt controller registers
Interrupt Enable registers bit definition
D01
Page
Memory Controller Module
About the MEM module
Pin configuration
MEM module pin configuration by memory type
Mode A2714 A130 CSx
Mode A2714 A130
Sdram
RAS CAS
Address Mnemonic Register
MEM module configuration
Setting the chip select address range
Memory controller register map
Memory Space
Refresh count value
Memory Module Configuration register
Enable Dram refresh
Mmcr bit definition
Refresh cycle count
Enable external address multiplexing
Enable A27 output
Rcyc
AMUX2
A27 and A26 bit settings
Enable A26 output
Enable A25 output
Base address
Chip Select Base Address register
Chip Select Base Address register bit definition
Base
Dram configuration mode
Peripheral page size
Dram address multiplexer select
Force Bclk at end of memory cycle
External TA configuration
Dram internal address multiplexer mode
Burst memory cycle enable
Write-protect the chip select
Eeprom
Valid bit
Mask Address
Chip Select Option Register a
Chip Select Option Register a bit definition
Mask
When DRSEL=0
When DRSEL=1 and DMODE=2’b00
When DRSEL=1 and DMODE=2’b01 at full speed
Port size
When DRSEL=1 and DMODE=10
Burst access size in beats
Bsize
WE Ctrl
Read cycle mode
Write cycle mode
OE Ctrl
Chip Select Option Register B bit definition
Chip Select Option Register B
Sync
Static memory Sram controller
Sync Write Sync Read
Single cycle read/write
Async Read
Burst cycles
Using the internal multiplexer
NS7520 Dram address multiplexing
000 001 010 011 100 101 110 111
7 5 2 0 D R a M a d d r e s s m u l t i p l e x i n g
Internal Dram multiplexing Mode
NS7520 multiplexed address outputs
Dram
Using the external multiplexer
FP/EDO Dram controller
Dram refresh
FP Dram Write FP Dram Read
Normal FP Dram bus cycles
FP Dram burst cycles
FP/EDO Dram burst cycles
X32 Sdram configuration
NS7520 Sdram interconnect
X32 Sdram interconnect
BA1 Bclk CLK VCC CKE
X16 Sdram configuration
BA1
BA0
Udqm
NS7520 signal 16M Sdram signal 64M Sdram signal
X16 Sdram interconnect
CAS3 RAS CAS2 CAS1 CAS0
Bclk CLK VCC CKE
X8 Sdram configurations
NS7520 signal 16M Sdram signal
X8 Sdram interconnect
Sdram A10/AP support
Command
Command definitions
Sdram command definitions
Mux mode X32 X16
Burst length
Bsize configuration
CAS latency Bcyc configuration
Memory timing fields Sdram
Address Field Value
Sdram Mode register
Sdram Mode register settings
Full
Sdram normal read
Sdram read cycles
Sdram burst read
Sdram normal write
Sdram write cycles
Sdram burst write
Example
Peripheral page burst size
Wait Bcyc
Page
DMA Module
Fly-by operation transfers
DMA module
DMA fly-by transfers
Memory-to-memory operation
DMA buffer descriptor
DMA buffer descriptor Fly-by mode
Buffer descriptor bit definitions
Buffer descriptor bit definitions
Bit Description
Buffer descriptor field definitions
Buffer descriptor field definitions
Field Description
Channel Base address DMA channel peripheral Fly-by mode
DMA channel assignments
DMA channel assignments
DMA channel registers
Address map
Address Description
Address Description
DMA Control register
Buffer Descriptor Pointer register
Channel abort request
DMA channel enable
DMA operation mode
DMA Control register bit definition
Burst transfer enable
Memory-to-memory mode
BTE
Channel request source
REQ
Destination address increment
Sinc
Source address increment
Dinc
Data operand size
Current DMA channel state shown in binary
Current DMA channel buffer descriptor index
Normal completion interrupt pending
DMA Status/Interrupt Enable register
DMA Status/Interrupt Enable register bit definition
Error completion interrupt pending
Buffer not ready interrupt enable
Premature complete interrupt enable
Normal completion interrupt enable
Error completion interrupt enable
Ethernet transmitter considerations
External peripheral DMA support
Ethernet receiver considerations
Signal Description
Signal description
External DMA configuration
Memory-to-memory mode
Hardware needed for external memory-to-memory DMA transfers
DMA controller reset
Page
Ethernet Module
Fifo
Ethernet front-end EFE
Transmit and receive FIFOs
EFE transmit processing
EFE receive processing
DMA
Receive buffer descriptor selection
External CAM filtering
MAC module
MAC module block diagram
Other modules in the diagram include
EFE configuration
EFE register map
Address Register Register description
Mcfg
Maxf
Supp
Test
Erxregetxreg Erfifohetfifoh Erxbretxbc
Ethernet General Control register Egcr bit definitions
Address FF80
Erxetx Erxdmaetxdma Erxlngetxwm Erxshtefulld Erxbad
Ethernet General Control register bit definition
Receiver in interrupt service mode
Enable transmit Fifo
Enable transmit DMA
Do not set this bit when operating the Ethernet
Enable full-duplex operation
Enable Transmit Data register ready interrupt
Enable transmit data Fifo half empty interrupt
Enable transmit buffer complete interrupt
Insert transmit source address
MAC software reset
Invert the transmit clock input
PSOS pNA buffer descriptors
Mode field Output based on EFE CSR bit
Endec mode and NS7520 pins
Endec control signal cross-reference
External interface mode
Ethernet General Status register Egsr bit definitions
Ethernet General Status register bit definition
Rxfdbrxskip Rxregrtxrege Rxfifohtxfifoh Rxbrtxbc
Receive buffer ready
Receive Fifo data available
Receive register ready
Receive Fifo half full
Transmit buffer complete
Receive buffer skip
Transmit register empty
Transmit Fifo half empty
Writing to the Ethernet Fifo Data register
Endec status signal cross-reference
Ethernet Fifo Data register
Address FF80 0008 / FF80 000C secondary address
Reading from the Ethernet Fifo Data register
Fifo data FF80
Ethernet Transmit Status register
Ethernet Fifo Data register bit definition
Ethernet Transmit Status register bit definition
Transmit abort late collision
Packet transmitted OK
Broadcast packet transmitted
Multicast packet transmitted
Transmit abort excessive collisions
Txaed
Transmit abort excessive deferral
Txaec
Transmit abort jumbo
Txaur
Transmit aborted underrun
Txaj
Txcrc
Transmit CRC error
Txdef
Transmit packet deferred
Ethernet Receive Status register
Txcolc
Transmit collision count
Receive data violation event previously seen
Ethernet Receive Status register bit definition
Receive buffer size in bytes
Receive carrier event previously seen
Receive multicast packet
Receive packet has CRC error
Receive packet has dribble bit error
Receive broadcast packet
Receive packet has code violation
Receive packet is too long
Receive packet is too short
MAC Configuration Register
Rover
Receive overflow
MAC Configuration Register 1 bit definition
Receive enable
RX flow control
Pass ALL receive frames
MAC Configuration Register 2 bit definition
CRC enable
Auto detect pad enable
Vlan pad enable
PAD/CRC enable
PAD operation
Pad operation table
Back-to-Back Inter-Packet-Gap register
Back-to-Back Inter-Packet-Gap register bit definition
Back-to-back inter-packet-gap
Non back-to-back inter-packet-gap part
Non-Back-to-Back Inter-Packet-Gap register
Address FF80 040C
Non-Back-to-Back Inter-Packet-Gap register bit definition
Retransmission maximum
Collision Window/Collision Retry register
Collision Window/Collision Retry register bit definition
Collision window
Maximum Frame register
Maximum Frame register bit definition
Maximum frame length
PHY Support register bit assignment
PHY Support register
Address FF80 041C
Enable Jabber protection
Bit mode
Test register
Test backpressure
Test pause
Shortcut pause quanta
Clock select
MII Management Configuration register
MII Management Configuration register bit definition
Reset MII management
Clks field Sysclk ratio MHz example
Clks field settings
Scani
Scan increment single scan for read data
Single scan for read data
MII Management Command register
MII Management Command register bit definition
Automatically scan for read data
MII PHY register address
MII Management Address register
MII Management Address register bit definition
MII PHY device address
MII write data
MII Management Write Data register
Address FF80 042C
MII Management Write Data register bit definition
MII Management Read Data register
MII Management Read Data register bit definition
MII read data
Automatically scan for read data in progress
MII Management Indicators register
MII Management Indicators register bit definition
Read data not valid
Smii Status register
Station Address registers
Smii Status register bit definition
Station address octet
Station Address Register
Station Address Register 1 bit definition
Station Address Register 2 bit definition
OCTET5
Station Address Register 3 bit definition
OCTET3
OCTET4
Station Address Filter register
Address FF80 05C0
Station Address Filter register bit definition
Address FF80 05D4
Register hash table
Multicast hash table entries and bit definitions
Address FF80 05D0
HT3 bit definition
Address FF80 05D8
Address FF80 05DC
HT2 bit definition
Calculating hash table entries
W . d i g i . c o m
Page
W . d i g i . c o m
Page
Serial Controller Module
RTS, CTS, DTR, DSR, DCD, RI
Supported features
Bit-rate generator
Serial port block diagram
Serial protocols
Uart mode
SPI mode
Terminology What’s being written Value
Fifo management
Transmit Fifo interface
Operating in Endian modes
Receive Fifo interface
Processor interrupts vs. DMA
Using DMA
Using processor interrupts
SPI master mode
Signals
Configuration
SPI master transmitter
SPI master receiver
SPI slave mode
Signals
SPI slave receiver
SPI slave transmitter
SPI slave mode 0 and 1 two-byte transfer
General-purpose I/O configurations
Configuration
Operating Mode Serial Port Maximum Rate
Serial port performance
N f i g u r a t i o n
Serial Channel Control Register a
Serial Channel registers
Serial Channel 1, 2 Control Register a
Address FFD0 0000
Number of stop bits
Parity enable
Stick parity
Even parity select
General-purpose output 1/General-purpose
Enable the transmitter with active CTS
Remote loopback
Local loopback
Receiver interrupt condition
Enable receive DMA requests
Data terminal ready active
Request-to-send active
Transmitter interrupt condition
Receiver interrupt enable bits
Enable transmit DMA requests
Receiver interrupts
Transmitter interrupts
Transmitter interrupt enable bits
Serial Channel 1, 2 Control Register B
Address FFD0 0004
Serial Channel Control Register B bit definition
Bitordr
Enable receive character GAP timer
SCC mode
Rcgt
Enable active RTS only while transmitting
Transmit encoding
Receive data encoding
Differential Manchester 111. a 1 is
Address FFD0 0008
Serial Channel 1, 2 Status Register a
Character Match3
Serial Channel Status Register a bit definition
Character Match1
Character Match2
Cgap
Buffer GAP timer
Character GAP timer
Bgap
Current data set ready state
Current ring indicator state
DCD
Current data carrier detect state
Receive framing error interrupt pending
Receive parity error interrupt pending
Receive break interrupt pending
Receive overrun interrupt pending
Rrdy
Receive register ready interrupt pending
Receive Fifo half-full interrupt pending
Receive buffer closed interrupt pending
Receive Fifo full
Change in CTS interrupt pending
Change in DCD interrupt pending
Change in RI interrupt pending
Change in DSR interrupt pending
Transmit register empty interrupt pending
Transmit Fifo half-empty interrupt pending
Transmit buffer closed interrupt pending
Serial Channel 1, 2 Bit-Rate registers
Address FFD0 000C / 4C
Tempty
Receive clock source
Bit-rate generator enable
Timing mode
Serial Channel Bit-Rate register bit definition
Transmit clock source
Drive receive clock external
Drive transmit clock external
Clkmux
BRG input clock
Transmit clock invert
Receive clock invert
Tdcr
If Dpll is not used and you are not using
If Dpll is not used but you are using
When Dpll is used in the application,
Receive divide clock rate
Rdcr
Receiver internal clock source
Tics
Transmit internal clock source
Rics
With the 18.432MHz crystal using Xtale as the clock source
Max baudrates with different clock sources
Nreg
16X @ 55.296MHz
With the 18.432MHz crystal using Sysclk as the clock source
Bit rate examples
X1 mode X8 mode X16 mode
Serial Channel 1, 2 Fifo registers
Address FFD0 0010
Data
Serial Channel 1, 2 Receive Buffer Gap Timer
Address FFD0 0014
Data
Address FFD0 0018
Serial Channel 1, 2 Receive Character Gap Timer
Register diagram and bit assignment
Serial Channel Receive Buffer Gap Timer bit definition
CT value
Serial Channel Receive Character Gap Timer bit definition
Address FFD0 0020
Serial Channel 1,2 Receive Match register
Serial Channel 1, 2 Receive Match Mask register
Address FFD0 001C / 5C
RMMB3
Serial Channel Receive Match Mask register bit definition
RMMB1
RMMB2
Page
Electrical Characteristics
Sym Parameter Conditions Min Typ Max Unit
DC characteristics
Recommended operating conditions
Recommended operating thermal conditions
DC characteristics outputs
Input/Output characteristics
Pad pullup and pulldown characteristics
DC characteristics inputs
Internal pullup characteristics
Maximum voltage ratings
AC characteristics
AC electrical specifications
Absolute maximum ratings
MDC, MDIO, TXEN, TXER, TXD30
Estimated Signal Load pF Device loads
System loading details
PORTA3, PORTA1, PORTC3, PORTC1
MDC, TXD30, TXER, TXEN, TDO
Oscillator Characteristics
Signal Derating ns/pF
Output buffer derating by load capacitance
NS7520
TimingSpecifications
Timing Diagrams
Resettiming
Reset timing parameters
Num Description Min Typ Max Units
Sram timing
Sram timing parameters
Num Description Min Max Unit
CS* controlled read wait =
Sram read
Sram burst read
CS* controlled read wait = 0, Bcyc =
CS controlled write internal and external, wait =
Sram write
Sram burst write
OE* controlled read wait =
Sram OE read
Sram OE burst read
WE* controlled write wait =
Sram WE write
Sram WE burst write
Sdram timing parameters
Sdram timing
Sdram read, CAS latency =
Sdram read
Active Read Inhibit Prechg Bterm
Sdram burst read
Sdram burst read
Sdram write
Sdram write
Sdram burst write
Sdram burst write
Sdram refresh
Sdram load mode
FP Dram timing parameters
FP Dram timing
Fast Page read
FP Dram read
Fast Page burst read
FP Dram burst read
Fast Page write
FP Dram write
Fast Page burst write
FP Dram burst write
Fast page refresh Rcyc =
Fprefreshcycles
CAS3 CAS2 CAS1 CAS0 RF1 RF2 RF3 RF4 RF5 RF8
Ethernet timing parameters
Ethernet timing
Ethernet cam timing
Ethernet PHY timing
Num Description Min Max Units
Jtag arm ice timing diagram
Jtag timing
Jtag arm ice timing parameters
Jtag bscan timing parameters
Jtag bscan timing diagram
External DMA timing parameters
External DMA timing
Fly-by external DMA
Memory-to-memory external DMA
2T SYS
Serial internal timing characteristics
Serial external timing characteristics
Serial internal/external timing
Synchronous serial external clock
Synchronous serial internal clock
Gpio timing diagram
Gpio timing
Gpio timing parameters
Page
Index
CPU
Non-Back-to-BackInter-Packet-Gap register
FP Dram
Portc
NET+ARM
PORTC0
Receiver interrupts 229 transmitter interrupts
Undefined exception 32
Page