03.01.2015 Views

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

80C186EC/80C188EC Microprocessor User's Manual

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

BUS INTERFACE UNIT<br />

3.3.1 16-Bit Bus Memory and I/O Requirements<br />

A 16-bit bus has certain assumptions that must be met to operate properly. Memory used to store<br />

instruction operands (i.e., the program) and immediate data must be 16 bits wide. Instruction<br />

prefetch bus cycles require that both banks be used. The lower bank contains the even bytes of<br />

code and the upper bank contains the odd bytes of code.<br />

Memory used to store interrupt vectors and stack data must be 16 bits wide. Memory address<br />

space between 0H and 3FFH (1 Kbyte) holds the starting location of an interrupt routine. In response<br />

to an interrupt, the BIU fetches two consecutive, even-addressed words from this 1 Kbyte<br />

address space. Stack pushes and pops always write or read even-addressed word data.<br />

3.3.2 8-Bit Bus Memory and I/O Requirements<br />

An 8-bit bus interface has no restrictions on implementing the memory or I/O interfaces. All<br />

transfers, bytes and words, occur over the single 8-bit bus. Operations requiring word transfers<br />

automatically execute two consecutive byte transfers.<br />

3.4 BUS CYCLE OPERATION<br />

The BIU executes a bus cycle to transfer data between any of the integrated units and any external<br />

memory or I/O devices (see Figure 3-6). A bus cycle consists of a minimum of four CPU clocks<br />

known as “T-states.” A T-state is bounded by one falling edge of CLKOUT to the next falling<br />

edge of CLKOUT (see Figure 3-7). Phase 1 represents the low time of the T-state and starts at the<br />

high-to-low transition of CLKOUT. Phase 2 represents the high time of the T-state and starts at<br />

the low-to-high transition of CLKOUT. Address, data and control signals generated by the BIU<br />

go active and inactive at different phases within a T-state.<br />

3-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!