User`s manual
MOTOROLA MC68332TUT/D
18
• Use ferrite chokes when troubleshooting. Placing a choke around a signal line and the return conduc-
tor carrying a differential signal causes fields developed in the ferrite core by the opposing currents
to cancel. Ferrite chokes can also be used on input/output lines. Because board-mounted chokes in-
crease the number of holes connecting to the supply planes, they should be used only as a last resort.
• Localize any high frequency circuits, such as the clock and address or data buses. Decouple locally
using high frequency filters such as ferrite chokes or damping resistors. Be sure to separate the high
speed and low speed circuits.
• Turn off any output signals (such as ECLK) that are not used.
• Shield the board externally.
• Reduce power supply noise as much as possible.
2.8.3 Other Sources of Information
Motorola publishes two application notes on related subjects:
Designing for Electromagnetic Compatibility with HCMOS Microcontrollers
(AN1050)
Transmission Line Effects in PCB Applications
(AN1051).
EDN Magazine
offers a reprint of the “Designer’s Guide to Electromagnetic Compatibility.”
Refer to 6 SOURCES OF INFORMATION for ordering information.
EMC consultants are probably the best source of information on this topic, since they specialize in EMC and
RFI problems. Consultants can help troubleshoot real problems, conduct seminars and provide tutorials,
books and software on the subject.
2.9 Connecting Memory and Peripherals
The MCU offers many different ways to configure memory and peripherals. The user can decode the exter-
nal bus interface externally or use chip-selects. Since it is usually more efficient to use the chip-selects, this
tutorial does not cover signal decoding. However, the
SIM Reference Manual
gives detailed explanations
and examples of how to decode signals for both 8- and 16-bit memory devices on pages 5-31 through 5-
34. These examples also show how to use function code pins to determine which address space is being
accessed.
The MC68332 can generate12 chip-select signals. These signals can be used to expand the system. A
chip-select signal selects and enables a particular peripheral device or memory chip for data transfer. The
chip-select circuits can also be programmed to generate data transfer and size acknowledge (DSACK), in-
terrupt acknowledge (IACK), and autovector (AVEC) signals.
2.9.1 Using Chip-Selects to Generate DSACK
Chip-select circuits can be configured to wait for external data and size acknowledge signals on the
DSACK1 and DSACK0 lines or to generate internal DSACK signals. A circuit can generate an internal
DSACK signal even if the pin is configured for discrete output or alternate function.
The chip-select logic can wait for a certain number of clock states before generating DSACK. These states
are called wait states. Wait states are inserted after the third clock state of a read or write bus cycle. A nor-
mal bus cycle lasts three clock cycles plus the number of wait clock cycles. The chip-select logic can insert
a maximum of 13 wait states.
2.9.1.1 The Relationship Between Wait States and Memory Speed
Memory speed and the number of wait states necessary are related by the following equations:
Address access time = (2.5 + WS) X t
CYC(min)
- t
CHAV(max)
- t
DICL{min)