13-3
EXTERNAL MEMORY INTERFACE
13.2 EXTERNAL BUS CYCLES
The section describes the bus cycles the 8XC251Sx executes to fetch code, read data, and write
data in external memory. Both page mode and nonpage mode are described and illustrated. For
simplicity, the accompanying figures depict the bus cycle waveforms in idealized form and do not
provide precise timing information. This section does not cover wait states (see section 13.4, “Ex-
ternal Bus Cycles with Configurable Wait States”) or configuration byte bus cycles (see section
13.6, “Configuration Byte Bus Cycles”). For bus cycle timing parameters refer to the datasheet.
An “inactive external bus” exists when the 8XC251Sx is not executing external bus cycles. This
occurs under any of the three following conditions:
•
Bus Idle (The chip is in normal operating mode but no external bus cycles are executing)
•
The chip is in idle mode
•
The chip is in powerdown mode
13.2.1 Bus Cycle Definitions
Table 13-2 lists the types of external bus cycles. It also shows the activity on the bus for nonpage
mode and page mode bus cycles with no wait states. There are three types of nonpage mode bus
cycles: code read, data read, and data write. There are four types of page mode bus cycles: code
fetch (page miss), code read (page hit), data read, and data write. The data read and data write
cycles are the same for page mode and nonpage mode (except the multiplexing of D7:0 on ports
0 and 2).
Table 13-2. Bus Cycle Definitions (No Wait States)
Mode
Bus Cycle
Bus Activity
State 1
State 2
State 3
Nonpage
Mode
Code Read
ALE
RD#/PSEN#, code in
Data Read (2)
ALE
RD#/PSEN#
data in
Data Write (2)
ALE
WR#
WR# high, data out
Page
Mode
Code Read, Page Miss
ALE
RD#/PSEN#, code in
Code Read, Page Hit (3)
PSEN#, code in
Data Read (2)
ALE
RD#/PSEN#
data in
Data Write (2)
ALE
WR#
WR# high, data out
NOTES:
1.
Signal timing implied by this table is approximate (idealized).
2.
Data read (page mode) = data read (nonpage mode) and write (page mode) = write (nonpage mode)
except that in page mode data appears on P2 (multiplexed with A15:0), whereas in nonpage mode
data appears on P0 (multiplexed with A7:0).
3.
The initial code read page hit bus cycle can execute only following a code read page miss cycle.
Содержание 8XC251SA
Страница 2: ......
Страница 3: ...May 1996 8XC251SA 8XC251SB 8XC251SP 8XC251SQ Embedded Microcontroller User s Manual...
Страница 18: ......
Страница 19: ...1 Guide to This Manual...
Страница 20: ......
Страница 30: ......
Страница 31: ...2 Architectural Overview...
Страница 32: ......
Страница 41: ...3 Address Spaces...
Страница 42: ......
Страница 63: ...4 Device Configuration...
Страница 64: ......
Страница 81: ...5 Programming...
Страница 82: ......
Страница 102: ......
Страница 103: ...6 Interrupt System...
Страница 104: ......
Страница 120: ......
Страница 121: ...7 Input Output Ports...
Страница 122: ......
Страница 132: ......
Страница 133: ...8 Timer Counters and Watchdog Timer...
Страница 134: ......
Страница 153: ...9 Programmable Counter Array...
Страница 154: ......
Страница 170: ......
Страница 171: ...10 Serial I O Port...
Страница 172: ......
Страница 187: ...11 Minimum Hardware Setup...
Страница 188: ......
Страница 197: ...12 Special Operating Modes...
Страница 198: ......
Страница 206: ......
Страница 207: ...13 External Memory Interface...
Страница 208: ......
Страница 239: ...14 Programming and Verifying Nonvolatile Memory...
Страница 240: ......
Страница 250: ......
Страница 251: ...A Instruction Set Reference...
Страница 252: ......
Страница 390: ......
Страница 391: ...B Signal Descriptions...
Страница 392: ......
Страница 400: ......
Страница 401: ...C Registers...
Страница 402: ......
Страница 436: ......
Страница 437: ...Glossary...
Страница 438: ......
Страница 446: ......
Страница 447: ...Index...
Страница 448: ......
Страница 458: ......