11. ORDERING INFORMATION ................................................................................................... 215
12. REVISION HISTORY ............................................................................................................... 215
- IV -
W90N740
1. GENERAL DESCRIPTION
The W90N740 micro-controller is 16/32 bit, ARM7TDMI based RISC micro-controller for network as
well as embedded applications. An integrated dual Ethernet MAC, the W90N740, is designed for use in
broadband routers, wireless access points, residential gateways and LAN camera.
The W90N740N is built around The ARM7TDMI CPU core designed by Advanced RISC Machines, Ltd.
And achieves 80MHz under worse conditions. Its small size, fully static design is particularly suitable
for cost-sensitive and power-sensitive applications. It designs as Harvard architecture by offering an 8K-byte I-cache/SRAM and an 2K-byte D-cache/SRAM with flexible configuration and two way set
associative structure to balance data movement between CPU and external memory. Four stages write buffer also improves latency for write operations.
The external bus interface (EBI) controller provides single bus architecture, 8/16/32 bit data width to
access external SDRAM, ROM/SRAM, flash memory and I/O devices. It achieves same frequency as
CPU core to minimize latency if internal cache misses. Memory controller supports different kinds of
SDRAM types and configurations to ease system design. The System Manager includes an internal 32bit system bus arbiter and a PLL clock controller. Generic I/O bus is easily served as PCMCIA-like
interface for 802.11b wireless LAN connection.
Two 10/100Mb MACs of Ethernet controller is built in to reduce total system cost and increase
performance between WAN and LAN port. Either MII or RMII of MAC is selected for external 10/100
PHY chip to design for varieties of applications. A powerful NAT accelerator (Patent Pending) between
LAN and WAN reduces the software loading of CPU and speeds up performance between LAN and
WAN.
W90N740 integrates root hub of USB 1.1 host controller with one port transceiver and uses
additional port with external transceiver if necessary, which can add valuable functions like flash disk,
printer server, Bluetooth device via USB port. The important peripheral functions include one full wired
high speed UART channel, 2-Channel GDMA, one watch-dog timer, two 24-bit timers with 8-bit prescale, 20 programmable I/O ports, and an advanced interrupt controller.
2. FEATURES
Architecture
• Highly-integrated system for embedded Ethernet applications
• Powerful ARM7TDMI core and fully 16/32-bit RISC architecture
• Big /Little-Endian mode supported
• Cost-effective JTAG-based debug solution
System Manager
• System memory map & on-chip peripherals memory map
• The data bus width of external memory address & data bus connection with external memory
• Bus arbitration supports the Fixed Priority Mode & Rotate Priority Mode
• Power-On setting
• On-Chip PLL module control & Clock select control
Publication Release Date: November 26, 2004
- 1 - Revision A4
W90N740
External Bus Interface (EBI)
• External I/O Control with 8/16/32 bit external data bus
nOE O - ROM/Flash, External Memory Output Enable, active-low
IO
TYPE
IO -
PAD
TYPE
internal
pulldown
internal
pull-up
internal
pull-up
internal
pull-up
internal
pulldown
internal
pull-up
DESCRIPTION
JTAG Test Clock,
JTAG Test Mode Select,
JTAG Test Data in,
JTAG Reset, active-low,
Write Byte Enable for specific device(nECS[3:0]),
Data input/output Mask signal for SDRAM (nSCS[1:0]), active-low These pins
are always Output in normal mode, and Input type in internal SRAM test mode.
External Master Bus Request
This is used to request external bus. When EMACK active, indicates the bus
grants the bus, chip drives all the output pins of the external bus to high
impedance.
External Wait, active-low
- 10 -
Pins Description, continued
W90N740
PIN NAME
Ethernet Interface (0)
MDC0 O
MDIO0 IO
COL0 I
CRS0 I
TX0_CLK I
TX0D [3:0]/
--, R0_TXD
[1:0]
TX0_EN /
R0_TXEN
RX0_CLK /
R0_REFCLK
RX0D [3:0] /
--, R0_RXD
[1:0]
RX0_DV /
R0_CRSDV
RX0_ERR I
IO
TYPE
O
O
I
I
I
PAD
TYPE
-
-
-
-
-
-
-
-
-
-
-
DESCRIPTION
MII Management Data Clock for Ethernet 0. It is the reference clock of MDIO0.
Each MDIO0 data will be latched at the rising edge of MDC0 clock.
MII Management Data I/O for Ethernet 0. It is used to transfer MII control and
status information between PHY and MAC.
Collision Detect for Ethernet 0 in MII mode. This shall be asserted by PHY upon
detecting a collision happened over the medium. It will be asserted and lasted until
collision condition vanishes.
Carrier Sense for Ethernet 0 in MII mode. In RMII mode, external pull-up is
necessary.
Transmit Data Clock for Ethernet 0 in MII mode.
provides the timing reference for TX0_EN and TX0D. The clock will be 25MHz or
2.5 MHz.
Transmit Data bus (4-bit) for Ethernet 0 in MII mode. The nibble transmit data bus
is synchronized with TX0_CLK. It should be latched by PHY at the rising edge of
TX0_CLK.
In RMII mode, TX0D [1:0] are used as R0_TXD [1:0], 2-bit Transmit Data bus for
Ethernet 0;
Transmit Enable for Ethernet 0 in MII. It indicates the transmit activity to external
PHY. It will be synchronized with TX0_CLK.
In RMII mode, R0_TXEN shall be asserted synchronously with the first nibble of
the preamble and shall remain asserted while all di-bits to be transmitted are
presented. Of course, it is synchronized with R0_REFCLK.
Receive Data Clock for Ethernet 0 in MII mode When it is used as a received clock
pin, it is from PHY. The clock will be either 25 MHz or 2.5 MHz. The minimum duty
cycle at its high or low state should be 35% of the nominal period for all conditions.
In RMII mode, this pin is used as R0_REFCLK, Reference Clock;
be 50MHz +/- 50 ppm with minimum 35% duty cycle at high or low state.
Receive Data bus (4-bit) for Ethernet 0 in MII mode. They are driven by external
PHY, and should be synchronized with RX0_CLK and valid only when RX0_DV is
valid.
In RMII mode, RX0D [1:0] are used as R0_RXD [1:0], 2-bit Receive Data bus for
Ethernet 0;
Receive Data Valid for Ethernet 0 in MII mode. It will be asserted when received data
is coming and present, and de-asserted at the end of the frame.
In RMII mode, this pin is used as the R0_CRSDV, Carrier Sense / Receive Data
Valid for Ethernet 0. The R0_CRSDV shall be asserted by PHY when the receive
medium is non-idle. Loss of carrier shall result in the de-assertion of R0_CRSDV
synchronous to the cycle of R0_REFCLK, and only on nibble boundaries.
Receive Data Error for Ethernet 0 in MII mode. It indicates a data error detected by
PHY. The assertion should be lasted for longer than a period of RX0_CLK. When
RX0_ERR is asserted, the MAC will report a CRC error.
TX0_CLK is driven by PHY and
The clock shall
Publication Release Date: November 26, 2004
- 11 - Revision A4
Pins Description, continued
W90N740
PIN NAME
Ethernet Interface (1)
MDC1 O -
MDIO1 IO -
COL1 I -
CRS1 I -
TX1_CLK I -
TX1D [3:0] /
--,R1A_TXD [1:0]
TX1_EN/
R1A_TXEN/R1B_TXEN
RX1_CLK /
R1A_REFCLK
RX1D [3:0] /
--, R1A_RXD[1:0]
RX1_DV/
R1A_CRSDV
RX1_ERR /
R1A_RXERR
IO
TYPE
PAD
TYPE
MII Management Data Clock for Ethernet 1. It is the reference clock of MDIO1.
Each MDIO1 data will be latched at the rising edge of MDC1 clock.
MII Management Data I/O for Ethernet 1. It is used to transfer MII control and
status information between PHY and MAC.
Collision Detect for Ethernet 1 in MII mode. This shall be asserted by PHY upon
detecting a collision happened over the medium. It will be asserted and lasted
until collision condition vanishes. External pull-up is necessary in RMII mode.
Carrier Sense for Ethernet 1 in MII mode. External pull-up is necessary in RMII
mode.
Transmit Data Clock for Ethernet 1 in MII mode, TX1_CLK is driven by PHY and
provides the timing reference for TX1_EN and TX1D. The clock will be 25MHz or
2.5 MHz. External pull-up will be necessary in RMII mode.
Transmit Data bus (4-bit) for Ethernet 1 in MII mode. The nibble transmit data
bus is synchronized with TX1_CLK. It should be latched by PHY at the rising
O -
O -
I -
I -
I -
I -
edge of TX1_CLK.
In RMII mode, TX1D [1:0] are used as R1A_TXD [1:0], 2-bit Transmit Data bus
for Ethernet 1
Transmit Enable for Ethernet 1 in MII and RMII mode. It indicates the transmit
activity to external PHY. It will be synchronized with TX1_CLK in MII mode.
Receive Data Clock for Ethernet 1 in MII mode. When it is used as a received
clock pin, it is from PHY. The clock will be either 25 MHz or 2.5 MHz. The
minimum duty cycle at its high or low state should be 35% of the nominal period
for all conditions.
In RMII mode, this pin is used as R1A_REFCLK, Reference Clock and only
available for 176-pin package. The clock shall be 50MHz +/-50 ppm with
minimum 35% duty cycle at high or low state.
Receive Data bus (4-bit) for Ethernet 1 in MII mode. They are driven by external
PHY, and should be synchronized with RX1_CLK and valid only when RX1_DV
is valid.
In RMII mode, RX1D [1:0] are used as R1A_RXD [1:0], 2-bit Receive Data bus
for Ethernet 1.
Receive Data Valid for Ethernet 1 in MII mode. It will be asserted when received
data is coming and present, and de-asserted at the end of the frame.
In RMII mode, this pin is used as the R1A_CRSDV, Carrier Sense / Receive
Data Valid for Ethernet 1 and only available for 176-pin package. The
R1A_CRSDV shall be asserted by PHY when the receive medium is non-idle.
Loss of carrier shall result in the de-assertion of R1A_CRSDV synchronous to
the cycle of R1A_REFCLK, and only on nibble boundaries.
Receive Data Error for Ethernet 1 in MII and RMII mode. It indicates a data error
detected by PHY. The assertion should be lasted for longer than a period of
RX0_CLK. When RX0_ERR is asserted, the MAC will report a CRC error.
DESCRIPTION
- 12 -
Pins Description, continued
W90N740
NAME
USB Interface
DP IO - Differential Positive USB IO signal
DN IO - Differential Negative (Minus) USB IO signal
Miscellaneous
GP[20:17] /
nIRQ[3:0]
GP16 / nXDREQ IO
GP15 /nXDACK IO
GP14 /
TIMER1/SPEED
GP13 /
TIMER0/STDBY
GP12 /nWDOG IO
GP11 /RxD IO
GP10 /TxD IO
GP9/nDSR/nTOE IO
GP8 /nDTR/FSE0 IO
GP7 /nCD /VO IO
GP6 /nCTS/ VM IO
GP5 /nRTS/ VP IO
GP4 /nRI /RCV IO
GP[3:0] IO - General Purpose I/O.
IO
TYPE
IO
IO
IO
PAD
TYPE
-
-
-
-
-
-
-
-
-
-
-
-
-
-
DESCRIPTION
External Interrupt Request or General Purpose I/O
External DMA Request or General Purpose I/O
External DMA Acknowledge or General Purpose I/O
Timer 1 or General Purpose I/O. This pin is also used as SPEED,
Speed mode control for external USB transceiver
Timer 0 or General Purpose I/O. This pin is also used as STDBY, StandBy control
for external USB transceiver
Watchdog Timer Timeout Flag (active-low) or General Purpose I/O
UART Receive Data or General Purpose I/O
UART Transmit Data or General Purpose I/O
UART Receive Clock or General Purpose I/O. This pin is also used as nTOE,
Output Enable control (active-low) for external USB transceiver.
UART Transmit Clock or General Purpose I/O. This pin is also used as SE0,
Differential Data Transceiver Output for external USB transceiver. T
UART Carrier Detector or General Purpose I/O. This pin is also used as VO, Data
Output for external USB transceiver.
UART Clear to Send or General Purpose I/O. This pin is also used as VM, Data
Negative (Minus) Input for external USB receiver.
UART Ready to Send or General Purpose I/O. This pin is also used as VP, Data
Positive Input for external USB receiver.
UART Ring Indicator or General Purpose I/O. This pin is also used as RCV,
Difference Receiver Input.
Power/Ground
VDD18 P Core Logic power (1.8V)
VSS18 G Core Logic ground (0V)
VDD33 P IO Buffer power (3.3V)
VSS33 G IO Buffer ground (0V)
USBVDD P USB power (3.3V)
USBVSS G USB ground (0V)
DVDD18 P PLL Digital power (1.8V)
DVSS18 G PLL Digital ground (0V)
AVDD18 P PLL Analog power (1.8V)
AVSS18 G PLL Analog ground (0V)
Publication Release Date: November 26, 2004
- 13 - Revision A4
W90N740
7. FUNCTIONAL DESCRIPTION
7.1 ARM7TDMI CPU Core
The ARM7TDMI CPU core is a member of the ARM family of general-purpose 32-bit microprocessors,
which offer high performance for very low power consumption. The architecture is based on Reduced
Instruction Set Computer (RISC) principles, and the instruction set and related decode mechanism are
much simpler than those of micro-programmed Complex Instruction Set Computer (CISC) systems.
Pipelining is employed so that all parts of the processing and memory systems can operate continuously.
The high instruction throughput and impressive real-time interrupt response are the major benefits.
The ARM7TDMI core can execute two instruction sets:
(1) The standard 32-bit ARM instruction set
(2) The 16-bit THUMB instruction set
The THUMB set’s 16-bit instruction length allows it to approach twice the density of standard ARM core
while retaining most of the ARM’s performance advantage over a traditional 16-bit processor using 16-bit
registers. THUMB instructions operate with the standard ARM register configuration, allowing excellent
interoperability between ARM and THUMB states. Each 16-bit THUMB instruction has a corresponding
32-bit ARM instruction with the same effect on the processor model. In the other words, the THUMB
architecture give 16-bit systems a way to access the 32-bit performance of the ARM Core without
requiring the full overhead of 32-bit processing.
ARM7TDMI CPU core has 31 x 32-bit registers. At any one time, 16 set are visible; the other registers
are used to speed up exception processing. All the register specifies in ARM instructions can address
any of the 16 registers. The CPU also supports 5 types of exception, such as two levels of interrupt,
memory aborts, attempted execution of an undefined instruction and software interrupts.
A[31:0]
ALU Bus
Address Register
PC Bus
(31 x 32-bit registers)
(6 status registers)
A Bus
Address
Incrementer
Register Bank
32 x8 Multiplier
Barrel Shifter
32-bit ALU
Incrementer Bus
B Bus
Scan Control
Instruction Decoder
Control Logic
Instruction Pipeline
Read Data Register
Thumb Instruction Decoder
Writer Data
Register
D[31:0]
Fig 7.1 ARM7TDMI CPU Core Block Diagram
- 14 -
W90N740
7.2 System Manager
7.2.1 Overview
The functions of the System Manager:
• System memory map & on-chip peripherals memory map
• The data bus width of external memory address & data bus connection with external memory
• Bus arbitration supports the Fixed Priority Mode & Rotate Priority Mode
• Power-On setting
• On-Chip PLL module control & Clock select control
7.2.2 System Memory Map
W90N740 provides 2G bytes cacheable address space and the other 2G bytes are non-cacheable. The
On-Chip Peripherals bank is on 1M bytes top of the space (0xFFF0.0000 – 0xFFFF.FFFF) and the OnChip RAM bank’s start address is 0xFFE0.0000, the other banks can be located anywhere (cacheable
space: 0x0~0x7FDF.FFFF if Cache ON; non-cacheable space: 0x8000.0000 ~ 0xFFDF.FFFF).
The size and location of each bank is determined by the register settings for “current bank base address
pointer” and “current bank size”. (*Note: The address boundaries of consecutive banks must not overlap,
when setting the bank control registers.)
The start address of each memory bank is not fixed, except On-Chip Peripherals and On-Chip RAM. You
can use bank control registers to assign a specific bank start address by setting the bank’s base pointer
(13 bits). The address resolution is 256K bytes. The bank’s start address is defined as “base pointer <<
18” and the bank’s size is “current bank size”.
In the event of an access request to an address outside any programmed bank size, an abort signal is
generated. The maximum accessible memory size of each external IO bank is 32M bytes, and 64M
bytes on SDRAM banks.
Publication Release Date: November 26, 2004
- 15 - Revision A4
0x7FFF.FFFF
512KB
(Fixed)
0x7FF8.0000
512KB
(Fixed)
0x7FF0.0000
W90N740
Cacheable spaceNon-Cacheable space
RESERVED
RESERVED
RESERVED
0xFFFF.FFFF
512KB
(Fixed)
0xFFF8.0000
512KB
(Fixed)
0xFFF0.0000
On-Chip APB
Peripherals
On-Chip AHB
Peripherals
RESERVED
10KB
0x7FE0.0000
EBI Space
RESERVED
External I/O Bank 3
256KB - 32MB
External I/O Bank 2
256KB - 32MB
External I/O Bank 1
256KB - 32MB
External I/O Bank 0
256KB - 32MB
SDRAM Bank 1
2MB - 64MB
SDRAM Bank 0
2MB - 64MB
10KB
0xFFE0.0000
EBI Space
On-Chip RAM
2KB,8KB
External I/O Bank 3
256KB - 32MB
External I/O Bank 2
256KB - 32MB
External I/O Bank 1
256KB - 32MB
External I/O Bank 0
256KB - 32MB
SDRAM Bank 1
2MB - 64MB
SDRAM Bank 0
2MB - 64MB
0x0000.0000
ROM/FLASH
256KB - 32MB
Fig7.2.1 System Memory Map
ROM/FLASH
256KB - 32MB
0x8000.0000
- 16 -
Table 7.2.1 On-Chip Peripherals Memory Map
BASE ADDRESS DESCRIPTION
AHB Peripherals
0xFFF0.0000 Product Identifier Register (PDID)
0xFFF0.0004
0xFFF0.0008
0xFFF0.000C
0xFFF0.1000
0xFFF0.1004
0xFFF0.1008
0xFFF0.1018
0xFFF0.2000
0xFFF0.3000
0xFFF0.4000
0xFFF0.5000
0xFFF0.6000
0xFFF6.0000
0xFFF7.0000
Arbitration Control Register (ARBCON)
PLL Control Register (PLLCON)
Clock Select Register (CLKSEL)
EBI Control Register (EBICON)
ROM/FLASH (ROMCON)
SDRAM bank 0 - 1
External I/O 0 - 3
Cache Controller
Ethernet MAC Controller 0 - 1
GDMA 0 - 1
USB (Host)
NAT Accelerator
Reserved
Reserved
APB Peripherals
W90N740
0xFFF8.0000
0xFFF8.1000
0xFFF8.2000
0xFFF8.3000
UART
Timer 0 - 1, WDOG Timer
Interrupt Controller
GPIO
7.2.3 Address Bus Generation
The W90N740 address bus generation is depended on the required data bus width of each memory
bank. The data bus width is determined by DBWD bits in each bank’s control register.
The maximum accessible memory size of each external IO bank is 32M bytes .
16-bit A23 – A1 (Internal) A24 (Internal) NA 16M half-words
32-bit A24 – A2 (Internal) NA NA 8M words
Publication Release Date: November 26, 2004
- 17 - Revision A4
W90N740
7.2.4 Data Bus Connection with External Memory
7.2.4.1 Memory formats
The internal architecture is big endian. The little endian mode only support for external memory.
The W90N740 can be configured as big endian or little endian mode by pull up or down the data D14
pin. If D14 is pull-up then it is a little endian mode, otherwise, it is a big endian mode.
Big Endian
In Big endian format, the W90N740 stores the most significant byte of a word at the lowest numbered
byte, and the least significant byte at the highest-numbered byte. So the byte at address 0 of the memory
system connects to data lines 31 through 24.
For a word aligned address A, Fig7.2.2 shows how the word at address A, the half-word at addresses A
and A+2, and the bytes at addresses A, A+1, A+2, and A+3 map on to each other when the LITTLE pin
is Low.
Byte at address A Byte at address A+1 Byte at address A+2 Byte at address A+3
Fig. 7.2.2 Big endian addresses of bytes and half-words within words
Little Endian
In Little endian format, the lowest addressed byte in a word is considered the least significant byte of the
word and the highest addressed bye is the most significant. So the byte at address 0 of the memory
system connects to data lines 7 through 0.
For a word aligned address A, Fig7.2.3 shows how the word at address A, the half-word at addresses A
and A+2, and the bytes at addresses A, A+1, A+2, and A+3 map on to each other when LITTLE pin is
High.
Byte at address A+3 Byte at address A+2 Byte at address A+1 Byte at address A
Fig. 7.2.3 Little endian addresses of bytes and half-words within words
- 18 -
W90N740
7.2.4.2 Connection of External Memory with Various Data Width
The system diagram for W90N740 connecting with the external memory is shown in Fig. 7.2.4. Below
tables (Table7.2.3 − Table7.2.14) show the program/data path between CPU register and the external
memory using little / big endian and word/half-word/byte access.
Fig. 7.2.4 Address/Data bus connection with external memory
Fig. 7.2.5 CPU register Read/Write with external memory
Publication Release Date: November 26, 2004
- 19 - Revision A4
W90N740
Table 7.2.3 and Table 7.2.4
Using big-endian and word access, Program/Data path between register and external memory
WA = Address whose LSB is 0, 4, 8, C X = Don’t care
nWBE [3-0] / SDQM [3-0] = A means active and U means inactive
Table7.2.3 Word access write operation with Big Endian
Access Operation Write Operation (CPU Register Î External Memory)
Using big-endian and half-word access, Program/Data path between register and external memory.
HA = Address whose LSB is 0, 2, 4, 6, 8, A, C, E HAL = Address whose LSB is 0, 4, 8, C
HAU = Address whose LSB is 2, 6, A, E X = Don’t care
nWBE [3-0] / SDQM [3-0] = A means active and U means inactive
Table7.2.5 Half-word access write operation with Big Endian
Access Operation Write Operation (CPU Register Î External Memory)
XD Width Word Half WordByte
Bit Number
CPU Reg Data
SA
Bit Number
SD
Bit Number
ED
XA
nWBE [3-0] /
SDQM [3-0]
Bit Number
XD
Bit Number
Ext. Mem Data
Timing Sequence 1st write 2nd write
31 0
ABCD
HAL HAU HA HA
31 0
CD CD
31 0
CD CD
HAL HAL HA HA HA+1
AAUU UUAA XXAA XXXA XXXA
31 0
CD CD
31 16
CD
31 0
CD CD
31 0
CD CD
31 0
CD CD
15 0
CD
31 0
ABCD
31 0
CD CD
31 0
CD CD
15 0
CD
15 0
CD
31 0
CD CD
7 0
C
7 0
C
7 0
C
31 0
ABCD
31 0
CD CD
7 0
D
7 0
D
7 0
D
Table7.2.6 Half-word access read operation with Big Endian
Access Operation Read Operation (CPU Register Í External Memory)
XD Width Word Half WordByte
Bit Number
CPU Reg Data
SA
Bit Number
SD
Bit Number
ED
XA
SDQM [3-0]
Bit Number
XD
Bit Number
Ext. Mem Data
Timing Sequence 1st read 2nd read
15 0
AB
HAL HAU HA HA
15 0
AB
15 0
AB
HAL HAL HA HA HA+1
AAUU UUAA XXAA XXXA XXXA
31 0
AB CD
31 0
ABCD
15 0
CD
15 0
CD
15 0
CD
31 0
AB CD
15 0
CD
15 0
CD
15 0
CD
15 0
CD
15 0
CD
15 0
DX
7 0
D
7 0
D
15 0
DC
15 0
DC
15 0
DC
7 0
C
7 0
C
Publication Release Date: November 26, 2004
- 21 - Revision A4
W90N740
Table 7.2.7 and Table 7.2.8
Using big-endian and byte access, Program/Data path between register and external memory.
BA = Address whose LSB is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
BAL = Address whose LSB is 0, 2, 4, 6, 8, A, C, E BAU = Address whose LSB is 1, 3, 5, 7, 9, B, D,
F
BA0 = Address whose LSB is 0, 4, 8, C BA1 = Address whose LSB is 1, 5, 9, D
BA2 = Address whose LSB is 2, 6, A, E BA3 = Address whose LSB is 3, 7, B, F
Table7.2.7 Byte access write operation with Big Endian
Access Operation Write Operation (CPU Register Î External Memory)
XD Width Word Half Word Byte
Bit Number
CPU Reg Data
SA
Bit Number
SD
Bit Number
ED
XA
nWBE [3-0] /
SDQM [3-0]
Bit Number
XD
Bit Number
Ext. Mem Data
Timing Sequence
31 0
ABCD
BA0 BA1 BA2 BA3 BAL BAU BA
31 0
D D D D
31 24
D
BA0 BA0 BA0 BA0 BAL BAL BA
AUUU UAUU UUAU UUUA XXAU XXUA XXXA
31 0
D X X X
31 24
D
31 0
D D D D
23 16
D
31 0
X D X X
23 16
D
31 0
D D D D
15 8
31 0
X X D X
15 8
31 0
D D D D
7 0
D
D
D
31 0
X X X D
7 0
D
31 0
D D D D
15 8
D
15 0
D X
15 8
D
31 0
ABCD
31 0
D D D D
7 0
D
15 0
X D
7 0
D
31 0
ABCD
31 0
D D D D
7 0
D
7 0
D
7 0
D
- 22 -
W90N740
Table7.2.8 Byte access read operation with Big Endian
Access Operation Read Operation (CPU Register Í External Memory)
XD Width Word Half Word Byte
Bit Number
CPU Reg Data
SA
Bit Number
SD
Bit Number
ED
XA
SDQM [3-0]
Bit Number
XD
Bit Number
Ext. Mem Data
Timing Sequence
7 0
A
BA0 BA1 BA2 BA3 BAL BAU BA
7 0
A
7 0
A
BA0 BA0 BA0 BA0 BAL BAL BA
AUUU UAUU UUAU UUUA XXAU XXUA XXXA
31 0
ABCD
7 0
B
7 0
B
15 8
B
31 0
ABCD
31 0
ABCD
7 0
C
7 0
C
23 16
C
31 0
ABCD
7 0
D
7 0
D
31 24
D
31 0
ABCD
7 0
C
7 0
C
7 0
C
15 0
CD
7 0
D
7 0
D
15 8
D
15 0
CD
15 0
CD
7 0
D
7 0
D
7 0
D
7 0
D
7 0
D
Publication Release Date: November 26, 2004
- 23 - Revision A4
W90N740
Table 7.2.9 and Table 7.2.10
Using little-endian and word access, Program/Data path between register and external memory
WA = Address whose LSB is 0, 4, 8, C X = Don’t care
nWBE [3-0] / SDQM [3-0] = A means active and U means inactive
Table7.2.9 Word access write operation with Little Endian
Access Operation Write Operation (CPU Register Î External Memory)
Using little-endian and half-word access, Program/Data path between register and external memory.
HA = Address whose LSB is 0, 2, 4, 6, 8, A, C, E HAL = Address whose LSB is 0,4,8,C
HAU = Address whose LSB is 2, 6, A, E X = Don’t care
nWBE [3-0] / SDQM [3-0] = A means active and U means inactive
Table7.2.11 Half-word access write operation with Little Endian
Access Operation Write Operation (CPU Register Î External Memory)
XD Width Word Half WordByte
Bit Number
CPU Reg Data
SA
Bit Number
SD
Bit Number
ED
XA
nWBE [3-0] /
SDQM [3-0]
Bit Number
XD
Bit Number
Ext. Mem Data
Timing Sequence
31 0
ABCD
HAL HAU HA HA
31 0
CD CD
31 0
CD CD
HAL HAL HA HA HA+1
UUAA AAUU XXAA XXXA XXXA
31 0
CD CD
15 0
CD
31 0
CD CD
31 0
CD CD
31 0
CD CD
31 16
CD
31 0
ABCD
31 0
CD CD
31 0
CD CD
15 0
CD
15 0
CD
31 0
CD CD
7 0
D
7 0
D
7 0
D
31 0
ABCD
31 0
CD CD
7 0
C
7 0
C
7 0
C
1st write 2nd write
Table7.2.12 Half-word access read operation with Little Endian
Access Operation Read Operation (CPU Register Í External Memory)
XD Width Word Half WordByte
Bit Number
CPU Reg Data
SA
Bit Number
SD
Bit Number
ED
XA
SDQM [3-0]
Bit Number
XD
Bit Number
Ext. Mem Data
Timing Sequence
15 0
CD
HAL HAU HA HA
15 0
CD
15 0
CD
HAL HAL HA HA HA+1
UUAA AAUU XXAA XXXA XXXA
31 0
AB CD
31 0
ABCD
15 0
AB
15 0
AB
15 0
AB
31 0
AB CD
15 0
CD
15 0
CD
15 0
CD
15 0
CD
15 0
CD
15 0
XD
7 0
D
7 0
D
15 0
CD
15 0
CD
15 0
CD
7 0
C
7 0
C
1st read 2nd read
Publication Release Date: November 26, 2004
- 25 - Revision A4
W90N740
Table 7.2.13 and Table 7.2.14
Using little-endian and byte access, Program/Data path between register and external memory.
BA = Address whose LSB is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F
BAL = Address whose LSB is 0, 2, 4, 6, 8, A, C, E BAU = Address whose LSB is 1, 3, 5, 7, 9, B, D, F
BA0 = Address whose LSB is 0, 4, 8, C BA1 = Address whose LSB is 1, 5, 9, D
BA2 = Address whose LSB is 2, 6, A, E BA3 = Address whose LSB is 3, 7, B, F
Table7.2.13 Byte access write operation with Little Endian
Access Operation Write Operation (CPU Register Î External Memory)
XD Width Word Half Word Byte
Bit Number
CPU Reg Data
SA
Bit Number
SD
Bit Number
ED
XA
nWBE [3-0] /
SDQM [3-0]
Bit Number
XD
Bit Number
Ext. Mem Data
Timing Sequence
BA0 BA1 BA2 BA3 BAL BAU BA
31 0
D D D D
7 0
D
BA0 BA0 BA0 BA0 BAL BAL BA
UUUA UUAU UAUU AUUU XXUA XXAU XXXA
31 0
X X X D
7 0
D
31 0
D D D D
31 0
X X D X
15 8
D
15 8
D
31 0
ABCD
31 0
D D D D
23 16
D
31 0
X D X X
23 16
D
31 0
D D D D
31 24
D
31 0
D X X X
31 24
D
31 0
D D D D
7 0
D
15 0
X D
7 0
D
31 0
ABCD
31 0
D D D D
15 8
D
15 0
D X
15 8
D
31 0
ABCD
31 0
D D D D
7 0
D
7 0
D
7 0
D
Table7.2.14 Byte access read operation with Little Endian
Access Operation Read Operation (CPU Register Í External Memory)
XD Width Word Half Word Byte
Bit Number
CPU Reg Data
SA
Bit Number
SD
Bit Number
ED
XA
SDQM [3-0]
Bit Number
XD
Bit Number
Ext. Mem Data
Timing Sequence
7 0
D
BA0 BA1 BA2 BA3 BAL BAU BA
7 0
D
7 0
D
BA0 BA0 BA0 BA0 BAL BAL BA
UUUA UUAU UAUU AUUU XXUA XXAU XXXA
31 0
ABCD
7 0
C
7 0
C
7 0
C
31 0
ABCD
31 0
ABCD
7 0
B
7 0
B
7 0
B
31 0
ABCD
7 0
A
7 0
A
7 0
A
31 0
ABCD
7 0
D
7 0
D
7 0
D
15 0
CD
7 0
C
7 0
C
7 0
C
15 0
CD
15 0
CD
- 26 -
7 0
D
7 0
D
7 0
D
7 0
D
7 0
D
Loading...
+ 189 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.