Motorola MC68340 manual Data Transfer Mechanism, Dynamic Bus Sizing

Models: MC68340

1 441
Download 441 pages 2.45 Kb
Page 54
Image 54

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

3.1.7.2BUS ERROR (BERR). This signal is also a bus cycle termination indicator and can be used in the absence of DSACKto indicate a bus error condition. BERR can also be asserted in conjunction with DSACKto indicate a bus error condition, provided it meets the appropriate timing described in this section and in Section 11 Electrical Characteristics. Additionally, BERR and HALT can be asserted together to indicate a retry termination. Refer to 3.5 Bus Exception Control Cycles for additional information on the use of these signals.

The internal bus monitor can be used to generate an internal bus error signal for internal and internal-to-external transfers. If the bus cycles of an external bus master are to be monitored, external BERR generation must be provided since the internal bus error monitor has no information about transfers initiated by an external bus master.

3.1.7.3AUTOVECTOR (AVEC).This signal can be used to terminate interrupt acknowledge cycles, indicating that the MC68340 should internally generate a vector (autovector) number to locate an interrupt handler routine. AVEC can be generated either externally or internally by the SIM40 (see Section 4 System Integration Module for additional information). AVEC is ignored during all other bus cycles.

3.2 DATA TRANSFER MECHANISM

The MC68340 supports byte, word, and long-word operands, allowing access to 8- and 16-bit data ports through the use of asynchronous cycles controlled by DSACK1 and DSACK0. The MC68340 also supports byte, word, and long-word operands, allowing access to 8- and 16-bit data ports through the use of synchronous cycles controlled by the fast termination capability of the SIM40.

3.2.1 Dynamic Bus Sizing

The MC68340 dynamically interprets the port size of the addressed device during each bus cycle, allowing operand transfers to or from 8- and 16-bit ports. During an operand transfer cycle, the slave device signals its port size (byte or word) and indicates completion of the bus cycle to the MC68340 through the use of the DSACKinputs. Refer to Table 3-3 for DSACKencoding.

Table 3-3. DSACKEncoding

DSACK1

DSACK0

Result

1

1

 

(Negated)

(Negated)

Insert Wait States in Current Bus Cycle

1

0

 

(Negated)

(Asserted)

Complete Cycle—Data Bus Port Size Is 8 Bits

0

1

 

(Asserted)

(Negated)

Complete Cycle—Data Bus Port Size Is 16 Bits

0

0

Reserved—Defaults to 16-Bit Port Size Can Be

(Asserted)

(Asserted)

Used for 32-Bit DMA cycles

MOTOROLAMC68340 USER’S MANUAL3- 5

For More Information On This Product,

Go to: www.freescale.com

Page 54
Image 54
Motorola MC68340 manual Data Transfer Mechanism, Dynamic Bus Sizing