C 5 Sim
C 5 Sim
5.1 General
The SIM consists of six functional blocks. Figure 5-1 shows a block diagram of the
SIM.
The system clock generates clock signals used by the SIM, other IMB modules, and
external devices.
The system protection block provides bus and software watchdog monitors. In addi-
tion, it also provides a periodic interrupt timer to support execution of time-critical
control routines.
The external bus interface handles the transfer of information between IMB modules
and external address space.
The chip-select block provides 12 chip-select signals. Each chip-select signal has an
associated base address register and option register that contain the programmable
characteristics of that chip-select.
The system test block incorporates hardware necessary for testing the MCU. It is used
to perform factory tests, and its use in normal applications is not supported.
XTAL
CLKOUT
CLOCK SYNTHESIZER EXTAL
MODCLK
SYSTEM PROTECTION
CHIP-SELECTS CHIP-SELECTS
EXTERNAL BUS
EXTERNAL BUS INTERFACE
RESET
TSTME/TSC
FACTORY TEST
FREEZE/QUOT
The system clock signal can be generated from one of two sources. An internal phase-
locked loop (PLL) can synthesize the clock from a slow reference, or the clock signal
can be directly input from an external frequency source. The slow reference is typically
a32.768 kHz crystal, but may be generated by sources other than a crystal. Keep
these sources in mind while reading the rest of this section. Refer to APPENDIX A
ELECTRICAL CHARACTERISTICS for clock specifications.
CRYSTAL
÷ 128 PHASE LOW-PASS
OSCILLATOR VCO
COMPARATOR FILTER
W
FEEDBACK DIVIDER
Y
X
SYSTEM CLOCK CONTROL
SYSTEM
CLOCK
The input clock is referred to as fref, and can be either a crystal or an external clock
source. The output of the clock system is referred to as fsys. Ensure that fref and fsys
are within normal operating limits.
C1
22 pF* R1
330K
XTAL
R2
10M
EXTAL
C2
22 pF*
VSSI
*RESISTANCE AND CAPACITANCE BASED ON A TEST CIRCUIT CONSTRUCTED WITH A DAISHINKU DMX-38 32.768-KHZ CRYSTAL.
SPECIFIC COMPONENTS MUST BE BASED ON CRYSTAL TYPE. CONTACT CRYSTAL VENDOR FOR EXACT CIRCUIT.
32 OSCILLATOR
If a slow reference frequency is provided to the PLL from a source other than a crystal,
or an external system clock signal is applied through the EXTAL pin, the XTAL pin
must be left floating.
When an external system clock signal is applied (MODCLK = 0 during reset), the PLL
is disabled. The duty cycle of this signal is critical, especially at operating frequencies
close to maximum. The relationship between clock signal duty cycle and clock signal
period is expressed as follows:
Filter circuit implementation can vary, depending upon the external environment and
required clock stability. Figure 5-4 shows two recommended system clock filter
networks. XFC pin leakage must be kept as low as possible to maintain optimum sta-
bility and PLL performance.
An external filter network connected to the XFC pin is not required when an external
system clock signal is applied and the PLL is disabled (MODCLK = 0 at reset). The
XFC pin must be left floating in this case.
C3 C1 C3 C1 R1
0.1 µF 0.1 µF 0.1 µF 0.1 µF 18 kΩ
XFC1 XFC1, 2
VDDSYN
C4 C4 C2
0.01 µF 0.01 µF 0.01 µF
VDDSYN
VSS VSS
1. MAINTAIN LOW LEAKAGE ON THE XFC NODE. REFER TO APPENDIX A ELECTRICAL CHARACTERISTICS FOR MORE INFORMATION.
2. RECOMMENDED LOOP FILTER FOR REDUCED SENSITIVITY TO LOW FREQUENCY NOISE.
NORMAL/HIGH-STABILITY XFC CONN
The synthesizer locks when the VCO frequency is equal to fref. Lock time is affected
by the filter time constant and by the amount of difference between the two comparator
inputs. Whenever a comparator input changes, the synthesizer must relock. Lock sta-
tus is shown by the SLOCK bit in SYNCR. During power-up, the MCU does not come
out of reset until the synthesizer locks. Crystal type, characteristic frequency, and lay-
out of external oscillator circuitry affect lock time.
The reset state of SYNCR ($3F00) results in a power-on fsys of 8.388 MHz when fref
is 32.768 kHz.
For the device to operate correctly, the clock frequency selected by the W, X, and Y
bits must be within the limits specified for the MCU.
f VCO = 4f sys if X = 0
or
f VCO = 2f sys if X = 1
Tables 5-2, 5-3, and 5-4 show clock control multipliers for all possible combinations of
SYNCR bits. To obtain clock frequency, find counter modulus in the leftmost column,
then multiply the reference frequency by the value in the appropriate prescaler cell.
Shaded areas indicate which values exceed the specifications for a device rated at a
particular operating frequency. For information on the maximum allowable clock rate,
refer to APPENDIX A ELECTRICAL CHARACTERISTICS.
Tables 5-5, 5-6, and 5-7 show actual clock frequencies for the same combinations of
SYNCR bits. To obtain clock frequency, find counter modulus in the leftmost column,
then refer to appropriate prescaler cell. Shaded areas indicate which values exceed
the specifications for a device rated at a particular operating frequency. For informa-
tion on the maximum system frequency (fsys), refer to APPENDIX A ELECTRICAL
CHARACTERISTICS.
Prescalers
Modulus [W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
Y Slow Fast Slow Fast Slow Fast Slow Fast
000000 4 .03125 8 .625 16 .125 32 .25
000001 8 .0625 16 .125 32 .25 64 .5
000010 12 .09375 24 .1875 48 .375 96 .75
000011 16 .125 32 .25 64 .5 128 1
000100 20 .15625 40 .3125 80 .625 160 1.25
000101 24 .1875 48 .375 96 .75 192 1.5
000110 28 .21875 56 .4375 112 .875 224 1.75
000111 32 .25 64 .5 128 1 256 2
001000 36 .21825 72 .5625 144 1.125 288 2.25
001001 40 .3125 80 .625 160 1.25 320 2.5
001010 44 .34375 88 .6875 176 1.375 352 2.75
001011 48 .375 96 .75 192 1.5 384 3
001100 52 .40625 104 .8125 208 1.625 416 3.25
001101 56 .4375 112 .875 224 1.75 448 3.5
001110 60 .46875 120 .9375 240 1.875 480 3.75
001111 64 .5 128 1 256 2 512 4
010000 68 .53125 136 1.0625 272 2.125 544 4.25
010001 72 .5625 144 1.125 288 2.25 576 4.5
010010 76 .59375 152 1.1875 304 2.375 608 4.75
010011 80 .625 160 1.25 320 2.5 640 5
010100 84 .65625 168 1.3125 336 2.625 672 5.25
010101 88 .6875 176 1.375 352 2.75 704 5.5
010110 92 .71875 184 1.4375 368 2.875 736 5.75
010111 96 .75 192 1.5 384 3 768 6
011000 100 .78125 200 1.5625 400 3.125 800 6.25
011001 104 .8125 208 1.625 416 3.25 832 6.5
011010 108 .84375 216 1.6875 432 3.375 864 6.75
011011 112 .875 224 1.75 448 3.5 896 7
011100 116 .90625 232 1.8125 464 3.625 928 7.25
011101 120 .9375 240 1.875 480 3.75 960 7.5
011110 124 .96875 248 1.9375 496 3.875 992 7.75
011111 128 1 256 2 512 4 1024 8
Prescalers
Modulus [W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
Y Slow Fast Slow Fast Slow Fast Slow Fast
100000 132 1.03125 264 2.0625 528 4.125 1056 8.25
100001 136 1.0625 272 2.125 544 4.25 1088 8.5
100010 140 1.09375 280 2.1875 560 4.375 1120 8.75
100011 144 1.125 288 2.25 576 4.5 1152 9
100100 148 1.15625 296 2.3125 592 4.675 1184 9.25
100101 152 1.1875 304 2.375 608 4.75 1216 9.5
100110 156 1.21875 312 2.4375 624 4.875 1248 9.75
100111 160 1.25 320 2.5 640 5 1280 10
101000 164 1.28125 328 2.5625 656 5.125 1312 10.25
101001 168 1.3125 336 2.625 672 5.25 1344 10.5
101010 172 1.34375 344 2.6875 688 5.375 1376 10.75
101011 176 1.375 352 2.75 704 5.5 1408 11
101100 180 1.40625 360 2.8125 720 5.625 1440 11.25
101101 184 1.4375 368 2.875 736 5.75 1472 11.5
101110 188 1.46875 376 2.9375 752 5.875 1504 11.75
101111 192 1.5 384 3 768 6 1536 12
110000 196 1.53125 392 3.0625 784 6.125 1568 12.25
110001 200 1.5625 400 3.125 800 6.25 1600 12.5
110010 204 1.59375 408 3.1875 816 6.375 1632 12.75
110011 208 1.625 416 3.25 832 6.5 1664 13
110100 212 1.65625 424 3.3125 848 6.625 1696 13.25
110101 216 1.6875 432 3.375 864 6.75 1728 13.5
110110 220 1.71875 440 3.4375 880 6.875 1760 13.75
110111 224 1.75 448 3.5 896 7 1792 14
111000 228 1.78125 456 3.5625 912 7.125 1824 14.25
111001 232 1.8125 464 3.625 928 7.25 1856 14.5
111010 236 1.84375 472 3.6875 944 7.375 1888 14.75
111011 240 1.875 480 3.75 960 7.5 1920 15
111100 244 1.90625 488 3.8125 976 7.625 1952 15.25
111101 248 1.9375 496 3.875 992 7.75 1984 15.5
111110 252 1.96875 504 3.9375 1008 7.875 2016 15.75
111111 256 2 512 4 1024 8 2048 16
Prescalers
Modulus [W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
Y Slow Fast Slow Fast Slow Fast Slow Fast
000000 4 .03125 8 .625 16 .125 32 .25
000001 8 .0625 16 .125 32 .25 64 .5
000010 12 .09375 24 .1875 48 .375 96 .75
000011 16 .125 32 .25 64 .5 128 1
000100 20 .15625 40 .3125 80 .625 160 1.25
000101 24 .1875 48 .375 96 .75 192 1.5
000110 28 .21875 56 .4375 112 .875 224 1.75
000111 32 .25 64 .5 128 1 256 2
001000 36 .21825 72 .5625 144 1.125 288 2.25
001001 40 .3125 80 .625 160 1.25 320 2.5
001010 44 .34375 88 .6875 176 1.375 352 2.75
001011 48 .375 96 .75 192 1.5 384 3
001100 52 .40625 104 .8125 208 1.625 416 3.25
001101 56 .4375 112 .875 224 1.75 448 3.5
001110 60 .46875 120 .9375 240 1.875 480 3.75
001111 64 .5 128 1 256 2 512 4
010000 68 .53125 136 1.0625 272 2.125 544 4.25
010001 72 .5625 144 1.125 288 2.25 576 4.5
010010 76 .59375 152 1.1875 304 2.375 608 4.75
010011 80 .625 160 1.25 320 2.5 640 5
010100 84 .65625 168 1.3125 336 2.625 672 5.25
010101 88 .6875 176 1.375 352 2.75 704 5.5
010110 92 .71875 184 1.4375 368 2.875 736 5.75
010111 96 .75 192 1.5 384 3 768 6
011000 100 .78125 200 1.5625 400 3.125 800 6.25
011001 104 .8125 208 1.625 416 3.25 832 6.5
011010 108 .84375 216 1.6875 432 3.375 864 6.75
011011 112 .875 224 1.75 448 3.5 896 7
011100 116 .90625 232 1.8125 464 3.625 928 7.25
011101 120 .9375 240 1.875 480 3.75 960 7.5
011110 124 .96875 248 1.9375 496 3.875 992 7.75
011111 128 1 256 2 512 4 1024 8
Prescalers
Modulus [W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
Y Slow Fast Slow Fast Slow Fast Slow Fast
100000 132 1.03125 264 2.0625 528 4.125 1056 8.25
100001 136 1.0625 272 2.125 544 4.25 1088 8.5
100010 140 1.09375 280 2.1875 560 4.375 1120 8.75
100011 144 1.125 288 2.25 576 4.5 1152 9
100100 148 1.15625 296 2.3125 592 4.675 1184 9.25
100101 152 1.1875 304 2.375 608 4.75 1216 9.5
100110 156 1.21875 312 2.4375 624 4.875 1248 9.75
100111 160 1.25 320 2.5 640 5 1280 10
101000 164 1.28125 328 2.5625 656 5.125 1312 10.25
101001 168 1.3125 336 2.625 672 5.25 1344 10.5
101010 172 1.34375 344 2.6875 688 5.375 1376 10.75
101011 176 1.375 352 2.75 704 5.5 1408 11
101100 180 1.40625 360 2.8125 720 5.625 1440 11.25
101101 184 1.4375 368 2.875 736 5.75 1472 11.5
101110 188 1.46875 376 2.9375 752 5.875 1504 11.75
101111 192 1.5 384 3 768 6 1536 12
110000 196 1.53125 392 3.0625 784 6.125 1568 12.25
110001 200 1.5625 400 3.125 800 6.25 1600 12.5
110010 204 1.59375 408 3.1875 816 6.375 1632 12.75
110011 208 1.625 416 3.25 832 6.5 1664 13
110100 212 1.65625 424 3.3125 848 6.625 1696 13.25
110101 216 1.6875 432 3.375 864 6.75 1728 13.5
110110 220 1.71875 440 3.4375 880 6.875 1760 13.75
110111 224 1.75 448 3.5 896 7 1792 14
111000 228 1.78125 456 3.5625 912 7.125 1824 14.25
111001 232 1.8125 464 3.625 928 7.25 1856 14.5
111010 236 1.84375 472 3.6875 944 7.375 1888 14.75
111011 240 1.875 480 3.75 960 7.5 1920 15
111100 244 1.90625 488 3.8125 976 7.625 1952 15.25
111101 248 1.9375 496 3.875 992 7.75 1984 15.5
111110 252 1.96875 504 3.9375 1008 7.875 2016 15.75
111111 256 2 512 4 1024 8 2048 16
Prescalers
Modulus [W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
Y Slow Fast Slow Fast Slow Fast Slow Fast
000000 4 .03125 8 .625 16 .125 32 .25
000001 8 .0625 16 .125 32 .25 64 .5
000010 12 .09375 24 .1875 48 .375 96 .75
000011 16 .125 32 .25 64 .5 128 1
000100 20 .15625 40 .3125 80 .625 160 1.25
000101 24 .1875 48 .375 96 .75 192 1.5
000110 28 .21875 56 .4375 112 .875 224 1.75
000111 32 .25 64 .5 128 1 256 2
001000 36 .21825 72 .5625 144 1.125 288 2.25
001001 40 .3125 80 .625 160 1.25 320 2.5
001010 44 .34375 88 .6875 176 1.375 352 2.75
001011 48 .375 96 .75 192 1.5 384 3
001100 52 .40625 104 .8125 208 1.625 416 3.25
001101 56 .4375 112 .875 224 1.75 448 3.5
001110 60 .46875 120 .9375 240 1.875 480 3.75
001111 64 .5 128 1 256 2 512 4
010000 68 .53125 136 1.0625 272 2.125 544 4.25
010001 72 .5625 144 1.125 288 2.25 576 4.5
010010 76 .59375 152 1.1875 304 2.375 608 4.75
010011 80 .625 160 1.25 320 2.5 640 5
010100 84 .65625 168 1.3125 336 2.625 672 5.25
010101 88 .6875 176 1.375 352 2.75 704 5.5
010110 92 .71875 184 1.4375 368 2.875 736 5.75
010111 96 .75 192 1.5 384 3 768 6
011000 100 .78125 200 1.5625 400 3.125 800 6.25
011001 104 .8125 208 1.625 416 3.25 832 6.5
011010 108 .84375 216 1.6875 432 3.375 864 6.75
011011 112 .875 224 1.75 448 3.5 896 7
011100 116 .90625 232 1.8125 464 3.625 928 7.25
011101 120 .9375 240 1.875 480 3.75 960 7.5
011110 124 .96875 248 1.9375 496 3.875 992 7.75
011111 128 1 256 2 512 4 1024 8
Prescalers
Modulus [W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
Y Slow Fast Slow Fast Slow Fast Slow Fast
100000 132 1.03125 264 2.0625 528 4.125 1056 8.25
100001 136 1.0625 272 2.125 544 4.25 1088 8.5
100010 140 1.09375 280 2.1875 560 4.375 1120 8.75
100011 144 1.125 288 2.25 576 4.5 1152 9
100100 148 1.15625 296 2.3125 592 4.675 1184 9.25
100101 152 1.1875 304 2.375 608 4.75 1216 9.5
100110 156 1.21875 312 2.4375 624 4.875 1248 9.75
100111 160 1.25 320 2.5 640 5 1280 10
101000 164 1.28125 328 2.5625 656 5.125 1312 10.25
101001 168 1.3125 336 2.625 672 5.25 1344 10.5
101010 172 1.34375 344 2.6875 688 5.375 1376 10.75
101011 176 1.375 352 2.75 704 5.5 1408 11
101100 180 1.40625 360 2.8125 720 5.625 1440 11.25
101101 184 1.4375 368 2.875 736 5.75 1472 11.5
101110 188 1.46875 376 2.9375 752 5.875 1504 11.75
101111 192 1.5 384 3 768 6 1536 12
110000 196 1.53125 392 3.0625 784 6.125 1568 12.25
110001 200 1.5625 400 3.125 800 6.25 1600 12.5
110010 204 1.59375 408 3.1875 816 6.375 1632 12.75
110011 208 1.625 416 3.25 832 6.5 1664 13
110100 212 1.65625 424 3.3125 848 6.625 1696 13.25
110101 216 1.6875 432 3.375 864 6.75 1728 13.5
110110 220 1.71875 440 3.4375 880 6.875 1760 13.75
110111 224 1.75 448 3.5 896 7 1792 14
111000 228 1.78125 456 3.5625 912 7.125 1824 14.25
111001 232 1.8125 464 3.625 928 7.25 1856 14.5
111010 236 1.84375 472 3.6875 944 7.375 1888 14.75
111011 240 1.875 480 3.75 960 7.5 1920 15
111100 244 1.90625 488 3.8125 976 7.625 1952 15.25
111101 248 1.9375 496 3.875 992 7.75 1984 15.5
111110 252 1.96875 504 3.9375 1008 7.875 2016 15.75
111111 256 2 512 4 1024 8 2048 16
Modulus Prescaler
[W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
Y
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
000000 131 kHz 262 kHz 524 kHz 1049 kHz
000001 262 524 1049 2097
000010 393 786 1573 3146
000011 524 1049 2097 4194
000100 655 1311 2621 5243
000101 786 1573 3146 6291
000110 918 1835 3670 7340
000111 1049 2097 4194 8389
001000 1180 2359 4719 9437
001001 1311 2621 5243 10486
001010 1442 2884 5767 11534
001011 1573 3146 6291 12583
001100 1704 3408 6816 13631
001101 1835 3670 7340 14680
001110 1966 3932 7864 15729
001111 2097 4194 8389 16777
010000 2228 4456 8913 17826
010001 2359 4719 9437 18874
010010 2490 4981 9961 19923
010011 2621 5243 10486 20972
010100 2753 5505 11010 22020
010101 2884 5767 11534 23069
010110 3015 6029 12059 24117
010111 3146 6291 12583 25166
011000 3277 6554 13107 26214
011001 3408 6816 13631 27263
011010 3539 7078 14156 28312
011011 3670 7340 14680 29360
011100 3801 7602 15204 30409
011101 3932 7864 15729 31457
011110 4063 8126 16253 32506
011111 4194 8389 16777 33554
Modulus Prescaler
[W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
Y
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
100000 4325 kHz 8651 kHz 17302 kHz 34603 kHz
100001 4456 8913 17826 35652
100010 4588 9175 18350 36700
100011 4719 9437 18874 37749
100100 4850 9699 19399 38797
100101 4981 9961 19923 39846
100110 5112 10224 20447 40894
100111 5243 10486 20972 41943
101000 5374 10748 21496 42992
101001 5505 11010 22020 44040
101010 5636 11272 22544 45089
101011 5767 11534 23069 46137
101100 5898 11796 23593 47186
101101 6029 12059 24117 48234
101110 6160 12321 24642 49283
101111 6291 12583 25166 50332
110000 6423 12845 25690 51380
110001 6554 13107 26214 52428
110010 6685 13369 26739 53477
110011 6816 13631 27263 54526
110100 6947 13894 27787 55575
110101 7078 14156 28312 56623
110110 7209 14418 28836 57672
110111 7340 14680 29360 58720
111000 7471 14942 2988 59769
111001 7602 15204 30409 60817
111010 7733 15466 30933 61866
111011 7864 15729 31457 62915
111100 7995 15991 31982 63963
111101 8126 16253 32506 65011
111110 8258 16515 33030 66060
111111 8389 16777 33554 67109
Modulus Prescaler
[W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
Y
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
000000 131 kHz 262 kHz 524 kHz 1049 kHz
000001 262 524 1049 2097
000010 393 786 1573 3146
000011 524 1049 2097 4194
000100 655 1311 2621 5243
000101 786 1573 3146 6291
000110 918 1835 3670 7340
000111 1049 2097 4194 8389
001000 1180 2359 4719 9437
001001 1311 2621 5243 10486
001010 1442 2884 5767 11534
001011 1573 3146 6291 12583
001100 1704 3408 6816 13631
001101 1835 3670 7340 14680
001110 1966 3932 7864 15729
001111 2097 4194 8389 16777
010000 2228 4456 8913 17826
010001 2359 4719 9437 18874
010010 2490 4981 9961 19923
010011 2621 5243 10486 20972
010100 2753 5505 11010 22020
010101 2884 5767 11534 23069
010110 3015 6029 12059 24117
010111 3146 6291 12583 25166
011000 3277 6554 13107 26214
011001 3408 6816 13631 27263
011010 3539 7078 14156 28312
011011 3670 7340 14680 29360
011100 3801 7602 15204 30409
011101 3932 7864 15729 31457
011110 4063 8126 16253 32506
011111 4194 8389 16777 33554
Modulus Prescaler
[W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
Y
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
100000 4325 kHz 8651 kHz 17302 kHz 34603 kHz
100001 4456 8913 17826 35652
100010 4588 9175 18350 36700
100011 4719 9437 18874 37749
100100 4850 9699 19399 38797
100101 4981 9961 19923 39846
100110 5112 10224 20447 40894
100111 5243 10486 20972 41943
101000 5374 10748 21496 42992
101001 5505 11010 22020 44040
101010 5636 11272 22544 45089
101011 5767 11534 23069 46137
101100 5898 11796 23593 47186
101101 6029 12059 24117 48234
101110 6160 12321 24642 49283
101111 6291 12583 25166 50332
110000 6423 12845 25690 51380
110001 6554 13107 26214 52428
110010 6685 13369 26739 53477
110011 6816 13631 27263 54526
110100 6947 13894 27787 55575
110101 7078 14156 28312 56623
110110 7209 14418 28836 57672
110111 7340 14680 29360 58720
111000 7471 14942 2988 59769
111001 7602 15204 30409 60817
111010 7733 15466 30933 61866
111011 7864 15729 31457 62915
111100 7995 15991 31982 63963
111101 8126 16253 32506 65011
111110 8258 16515 33030 66060
111111 8389 16777 33554 67109
Modulus Prescaler
[W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
Y
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
000000 131 kHz 262 kHz 524 kHz 1049 kHz
000001 262 524 1049 2097
000010 393 786 1573 3146
000011 524 1049 2097 4194
000100 655 1311 2621 5243
000101 786 1573 3146 6291
000110 918 1835 3670 7340
000111 1049 2097 4194 8389
001000 1180 2359 4719 9437
001001 1311 2621 5243 10486
001010 1442 2884 5767 11534
001011 1573 3146 6291 12583
001100 1704 3408 6816 13631
001101 1835 3670 7340 14680
001110 1966 3932 7864 15729
001111 2097 4194 8389 16777
010000 2228 4456 8913 17826
010001 2359 4719 9437 18874
010010 2490 4981 9961 19923
010011 2621 5243 10486 20972
010100 2753 5505 11010 22020
010101 2884 5767 11534 23069
010110 3015 6029 12059 24117
010111 3146 6291 12583 25166
011000 3277 6554 13107 26214
011001 3408 6816 13631 27263
011010 3539 7078 14156 28312
011011 3670 7340 14680 29360
011100 3801 7602 15204 30409
011101 3932 7864 15729 31457
011110 4063 8126 16253 32506
011111 4194 8389 16777 33554
Modulus Prescaler
[W:X] = 00 [W:X] = 01 [W:X] = 10 [W:X] = 11
Y
(fVCO = 2 × Value) (fVCO = Value) (fVCO = 2 × Value) (fVCO = Value)
100000 4325 kHz 8651 kHz 17302 kHz 34603 kHz
100001 4456 8913 17826 35652
100010 4588 9175 18350 36700
100011 4719 9437 18874 37749
100100 4850 9699 19399 38797
100101 4981 9961 19923 39846
100110 5112 10224 20447 40894
100111 5243 10486 20972 41943
101000 5374 10748 21496 42992
101001 5505 11010 22020 44040
101010 5636 11272 22544 45089
101011 5767 11534 23069 46137
101100 5898 11796 23593 47186
101101 6029 12059 24117 48234
101110 6160 12321 24642 49283
101111 6291 12583 25166 50332
110000 6423 12845 25690 51380
110001 6554 13107 26214 52428
110010 6685 13369 26739 53477
110011 6816 13631 27263 54526
110100 6947 13894 27787 55575
110101 7078 14156 28312 56623
110110 7209 14418 28836 57672
110111 7340 14680 29360 58720
111000 7471 14942 2988 59769
111001 7602 15204 30409 60817
111010 7733 15466 30933 61866
111011 7864 15729 31457 62915
111100 7995 15991 31982 63963
111101 8126 16253 32506 65011
111110 8258 16515 33030 66060
111111 8389 16777 33554 67109
When the CPU executes LPSTOP, a special CPU space bus cycle writes a copy of the
current interrupt mask into the clock control logic. The SIM brings the MCU out of low-
power stop mode when one of the following exceptions occur:
• RESET
• Trace
• SIM interrupt of higher priority than the stored interrupt mask
Refer to 5.6.4.2 LPSTOP Broadcast Cycle and 4.8.2.1 Low-Power Stop (LPSTOP)
for more information.
During low-power stop mode, unless the system clock signal is supplied by an external
source and that source is removed, the SIM clock control logic and the SIM clock sig-
nal (SIMCLK) continue to operate. The periodic interrupt timer and input logic for the
RESET and IRQ pins are clocked by SIMCLK, and can be used to bring the processor
out of LPSTOP. Optionally, the SIM can also continue to generate the CLKOUT signal
while in low-power stop mode.
STSIM and STEXT bits in SYNCR determine clock operation during low-power stop
mode.
The flowchart shown in Figure 5-5 summarizes the effects of the STSIM and STEXT
bits when the MCU enters normal low power stop mode. Any clock in the off state is
held low. If the synthesizer VCO is turned off during low-power stop mode, there is a
PLL relock delay after the VCO is turned back on.
NO
USING
EXTERNAL CLOCK?
YES
NO
USE SYSTEM CLOCK
AS SIMCLK IN LPSTOP?
YES
NO NO
WANT CLKOUT WANT CLKOUT
ON IN LPSTOP? ON IN LPSTOP?
YES YES
ENTER LPSTOP
NOTES:
1. THE SIMCLK IS USED BY THE PIT, IRQ, AND INPUT BLOCKS OF THE SIM.
2. CLKOUT CONTROL DURING LPSTOP IS OVERRIDDEN BY THE EXOFF BIT IN SIMCR. IF EXOFF = 1, THE CLKOUT
PIN IS ALWAYS IN A HIGH IMPEDANCE STATE AND STEXT HAS NO EFFECT IN LPSTOP. IF EXOFF = 0, CLKOUT
IS CONTROLLED BY STEXT IN LPSTOP.
LPSTOPFLOW
RESET STATUS
CLOCK 29 PRESCALER
The monitor does not check DSACK response on the external bus unless the CPU32
initiates a bus cycle. The BME bit in SYPCR enables the internal bus monitor for inter-
nal to external bus cycles. If a system contains external bus masters, an external bus
monitor must be implemented and the internal-to-external bus monitor option must be
disabled.
When monitoring transfers to an 8-bit port, the bus monitor does not reset until both
byte accesses of a word transfer are completed. Monitor time-out period must be at
least twice the number of clocks that a single byte access requires.
Watchdog clock rate is affected by the software watchdog prescale (SWP) bit and the
software watchdog timing (SWT[1:0]) field in SYPCR.
SWP determines system clock prescaling for the watchdog timer and determines that
one of two options, either no prescaling or prescaling by a factor of 512, can be
selected. The value of SWP is affected by the state of the MODCLK pin during reset,
as shown in Table 5-9. System software can change SWP value.
SWT[1:0] selects the divide ratio used to establish the software watchdog time-out
period. The following equation calculates the time-out period for a slow reference
frequency.
The following equation calculates the time-out period for an externally input clock
frequency.
Table 5-10 shows the divide ratio for each combination of SWP and SWT[1:0] bits.
When SWT[1:0] are modified, a watchdog service sequence must be performed
before the new time-out period can take effect.
Figure 5-7 is a block diagram of the watchdog timer and the clock control for the peri-
odic interrupt timer.
CRYSTAL
OSCILLATOR 29 PRESCALER SWP
CLOCK SELECT CLOCK
AND DISABLE SELECT
PTP
÷4
LPSTOP
SWE
SWT1
SWT0
300 PIT WATCHDOG BLOCK
Either clock signal selected by the PTP is divided by four before driving the modulus
counter. The modulus counter is initialized by writing a value to the periodic interrupt
timer modulus (PITM[7:0]) field in PITR. A zero value turns off the periodic timer. When
the modulus counter value reaches zero, an interrupt is generated. The modulus
counter is then reloaded with the value in PITM[7:0] and counting repeats. If a new
value is written to PITR, it is loaded into the modulus counter when the current count
is completed.
When a slow reference frequency is used, the PIT period can be calculated as follows:
When an externally input clock frequency is used, the PIT period can be calculated as
follows:
The PIRQL field is compared to the CPU32 interrupt priority mask to determine
whether the interrupt is recognized. Table 5-12 shows PIRQL[2:0] priority values.
Because of SIM hardware prioritization, a PIT interrupt is serviced before an external
interrupt request of the same priority. The periodic timer continues to run when the
interrupt is disabled.
The PIV field contains the periodic interrupt vector. The vector is placed on the IMB
when an interrupt request is made. The vector number is used to calculate the address
of the appropriate exception vector in the exception vector table. The reset value of the
PIV field is $0F, which corresponds to the uninitialized interrupt exception vector.
During low-power stop mode, the clock input to the software watchdog timer is dis-
abled and the timer stops. The software watchdog begins to run again on the first rising
clock edge after low-power stop mode ends. The watchdog is not reset by low-power
stop mode. A service sequence must be performed to reset the timer.
The periodic interrupt timer does not respond to the LPSTOP instruction, but continues
to run during LPSTOP. To stop the periodic interrupt timer, PITR must be loaded with
a zero value before the LPSTOP instruction is executed. A PIT interrupt, or an external
interrupt request, can bring the MCU out of low-power stop mode if it has a higher
priority than the interrupt mask value stored in the clock control logic when low-power
stop mode is initiated. LPSTOP can be terminated by a reset.
10 kΩ 10 kΩ 10 kΩ 10 kΩ 10 kΩ 10 kΩ
DSACK1
DSACK0 DTACK
MC68HC681
CS4 IACK
IRQ7 IRQ
ADDR[3:0]
ADDR[17:0] RS[4:1]
DATA[15:8]
DATA[15:0] D[7:0]
VDD
10 kΩ
CSBOOT CE
OE
ADDR[17:1]
A[16:0]
MC68336/376
DATA[15:0]
VDD VDD DQ[15:0]
10 kΩ 10 kΩ
CS0 E
G
(SRAM 32K X 8)
CS1 W MCM6206D
ADDR[15:1]
A[14:0]
DATA[15:8]
DQ[7:0]
VDD
10 kΩ E
G
(SRAM 32K X 8)
MCM6206D
CS2 W
ADDR[15:1]
A[14:0]
DATA[7:0]
DQ[7:0]
To add flexibility and minimize the necessity for external logic, MCU chip-select logic
can be synchronized with EBI transfers. Refer to 5.9 Chip-Selects for more
information.
Control signals indicate the beginning of each bus cycle, the address space it is to take
place in, the size of the transfer, and the type of cycle. External devices decode these
signals and respond to transfer data and terminate the bus cycle. The EBI operates in
an asynchronous mode for any port width.
Address space 7 is designated CPU space. CPU space is used for control information
not normally associated with read or write bus cycles. Function codes are valid while
AS is asserted.
Table 5-14 shows address space encoding.
The supervisor bit in the status register determines whether the CPU is operating in
supervisor or user mode. Addressing mode and the instruction being executed deter-
mine whether a memory access is to program or data space.
The internal bus monitor can generate the BERR signal for internal-to-internal and
internal-to-external transfers. In systems with an external bus master, the SIM bus
monitor must be disabled and external logic must be provided to drive the BERR pin,
because the internal BERR monitor has no information about transfers initiated by an
external bus master. Refer to 5.6.6 External Bus Arbitration for more information.
During an operand transfer cycle, an external device signals its port size and indicates
completion of the bus cycle to the MCU through the use of the DSACK inputs, as
shown in Table 5-15. Chip-select logic can generate data and size acknowledge sig-
nals for an external device. Refer to 5.9 Chip-Selects for more information.
If the CPU is executing an instruction that reads a long-word operand from a 16-bit
port, the MCU latches the 16 bits of valid data and then runs another bus cycle to
obtain the other 16 bits. The operation for an 8-bit port is similar, but requires four read
cycles. The addressed device uses the DSACK signals to indicate the port width. For
instance, a 16-bit device always returns DSACK for a 16-bit port (regardless of
whether the bus cycle is a byte or word operation).
Dynamic bus sizing requires that the portion of the data bus used for a transfer to or
from a particular port size be fixed. A 16-bit port must reside on data bus bits [15:0],
and an 8-bit port must reside on data bus bits [15:8]. This minimizes the number of bus
cycles needed to transfer data and ensures that the MCU transfers valid data.
Operand bytes are designated as shown in Figure 5-9. OP[0:3] represent the order of
access. For instance, OP0 is the most significant byte of a long-word operand, and is
accessed first, while OP3, the least significant byte, is accessed last. The two bytes of
a word-length operand are OP0 (most significant) and OP1. The single byte of a byte-
length operand is OP0.
31 24 23 16 15 87 0
BYTE OP0
ADDR0 also affects the operation of the data multiplexer. During an operand transfer,
ADDR[23:1] indicate the word base address of the portion of the operand to be
accessed. ADDR0 indicates the byte offset from the base.
The largest amount of data that can be transferred by a single bus cycle is an aligned
word. If the MCU transfers a long-word operand through a 16-bit port, the most signif-
icant operand word is transferred on the first bus cycle and the least significant
operand word is transferred on a following bus cycle.
Fast termination cycles, which are two-cycle external accesses with no wait states,
use chip-select logic to generate handshaking signals internally. Chip-select logic can
also be used to insert wait states before internal generation of handshaking signals.
Refer to 5.6.3 Fast Termination Cycles and 5.9 Chip-Selects for more information.
Bus control signal timing, as well as chip-select signal timing, are specified in APPEN-
DIX A ELECTRICAL CHARACTERISTICS. Refer to the SIM Reference Manual
(SIMRM/AD) for more information about each type of bus cycle.
Bus cycles terminated by DSACK assertion normally require a minimum of three CLK-
OUT cycles. To support systems that use CLKOUT to generate DSACK and other
inputs, asynchronous input setup time and asynchronous input hold times are speci-
fied. When these specifications are met, the MCU is guaranteed to recognize the
appropriate signal on a specific edge of the CLKOUT signal.
For a read cycle, when assertion of DSACK is recognized on a particular falling edge
of the clock, valid data is latched into the MCU on the next falling clock edge, provided
that the data meets the data setup time. In this case, the parameter for asynchronous
operation can be ignored.
When a system asserts DSACK for the required window around the falling edge of S2
and obeys the bus protocol by maintaining DSACK and BERR or HALT until and
throughout the clock edge that negates AS (with the appropriate asynchronous input
hold time), no wait states are inserted. The bus cycle runs at the maximum speed of
three clocks per cycle.
To initiate a transfer, the MCU asserts an address and the SIZ[1:0] signals. The SIZ
signals and ADDR0 are externally decoded to select the active portion of the data bus.
Refer to 5.5.2 Dynamic Bus Sizing. When AS, DS, and R/W are valid, a peripheral
device either places data on the bus (read cycle) or latches data from the bus (write
cycle), then asserts a DSACK[1:0] combination that indicates port size.
The DSACK[1:0] signals can be asserted before the data from a peripheral device is
valid on a read cycle. To ensure valid data is latched into the MCU, a maximum period
between DSACK assertion and DS assertion is specified.
There is no specified maximum for the period between the assertion of AS and
DSACK. Although the MCU can transfer data in a minimum of three clock cycles when
the cycle is terminated with DSACK, the MCU inserts wait cycles in clock period incre-
ments until either DSACK signal goes low.
MCU PERIPHERAL
RD CYC FLOW
Refer to 5.5.2 Dynamic Bus Sizing and 5.5.4 Misaligned Operands for more infor-
mation. Figure 5-11 is a flowchart of a write-cycle operation for a word transfer. Refer
to the SIM Reference Manual (SIMRM/AD) for more information.
MCU PERIPHERAL
ASSERT AS (S1)
ASSERT DS AND WAIT FOR DSACK (S3) ACCEPT DATA (S2 + S3)
1) DECODE ADDRESS
2) LATCH DATA FROM DATA BUS
OPTIONAL STATE (S4) 3) ASSERT DSACK SIGNALS
NO CHANGE
1) NEGATE DS AND AS
2) REMOVE DATA FROM DATA BUS TERMINATE CYCLE
NEGATE DSACK
WR CYC FLOW
If multiple chip-selects are to be used to provide control signals to a single device and
match conditions occur simultaneously, all MODE, STRB, and associated DSACK
fields must be programmed to the same value. This prevents a conflict on the internal
bus when the wait states are loaded into the DSACK counter shared by all chip-
selects.
Fast termination cycles use internal handshaking signals generated by the chip-select
logic. To initiate a transfer, the MCU asserts an address and the SIZ[1:0] signals.
When AS, DS, and R/W are valid, a peripheral device either places data on the bus
(read cycle) or latches data from the bus (write cycle). At the appropriate time, chip-
select logic asserts data and size acknowledge signals.
The DSACK option fields in the chip-select option registers determine whether inter-
nally generated DSACK or externally generated DSACK is used. The external DSACK
lines are always active, regardless of the setting of the DSACK field in the chip-select
option registers. Thus, an external DSACK can always terminate a bus cycle. Holding
a DSACK line low will cause all external bus cycles to be three-cycle (zero wait states)
accesses unless the chip-select option register specifies fast accesses.
For fast termination cycles, the fast termination encoding (%1110) must be used.
Refer to 5.9.1 Chip-Select Registers for information about fast termination setup.
To use fast termination, an external device must be fast enough to have data ready
within the specified setup time (for example, by the falling edge of S4). For information
on fast terminatiion, refer to APPENDIX A ELECTRICAL CHARACTERISTICS.
When fast termination is in use, DS is asserted during read cycles but not during write
cycles. The STRB field in the chip-select option register used must be programmed
with the address strobe encoding to assert the chip-select signal for a fast termination
write.
During a CPU space access, ADDR[19:16] are encoded to reflect the type of access
being made. Figure 5-12 shows the three encodings used by 68300 family microcon-
trollers. These encodings represent breakpoint acknowledge (Type $0) cycles, low
power stop broadcast (Type $3) cycles, and interrupt acknowledge (Type $F) cycles.
Refer to 5.8 Interrupts for information about interrupt acknowledge bus cycles.
2 0 23 19 16 4 2 1 0
BREAKPOINT 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 BKPT# T 0
ACKNOWLEDGE
2 0 23 19 16 0
LOW POWER 1 1 1 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
STOP BROADCAST
2 0 23 19 16 0
INTERRUPT 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 LEVEL 1
ACKNOWLEDGE
CPU SPACE
TYPE FIELD
The CPU32 BKPT instruction allows the user to insert breakpoints through software.
The CPU responds to this instruction by initiating a breakpoint acknowledge read cycle
in CPU space. It places the breakpoint acknowledge (%0000) code on ADDR[19:16],
the breakpoint number (bits [2:0] of the BKPT opcode) on ADDR[4:2], and %0 (indicat-
ing a software breakpoint) on ADDR1.
External breakpoint circuitry decodes the function code and address lines and
responds by either asserting BERR or placing an instruction word on the data bus and
asserting DSACK. If the bus cycle is terminated by DSACK, the CPU32 reads the
instruction on the data bus and inserts the instruction into the pipeline. (For 8-bit ports,
this instruction fetch may require two read cycles.)
If the bus cycle is terminated by BERR, the CPU32 then performs illegal instruction
exception processing: it acquires the number of the illegal instruction exception vector,
computes the vector address from this number, loads the content of the vector address
into the PC, and jumps to the exception handler routine at that address.
Assertion of the BKPT input initiates a hardware breakpoint. The CPU32 responds by
initiating a breakpoint acknowledge read cycle in CPU space. It places the breakpoint
acknowledge code of %0000 on ADDR[19:16], the breakpoint number value of %111
on ADDR[4:2], and ADDR1 is set to %1, indicating a hardware breakpoint.
Refer to the CPU32 Reference Manual (CPU32RM/AD) and the SIM Reference
Manual (SIMRM/AD) for additional information. Breakpoint operation flow for the
CPU32 is shown in Figure 5-13.
CPU32 PERIPHERAL
ACKNOWLEDGE BREAKPOINT
IF BKPT ASSERTED:
IF BREAKPOINT INSTRUCTION EXECUTED AND 1) ASSERT DSACK
DSACK IS ASSERTED: OR:
1) LATCH DATA 1) ASSERT BERR TO INITIATE EXCEPTION PROCESSING
2) NEGATE AS AND DS
3) GO TO (A)
IF BERR ASSERTED:
1) NEGATE AS AND DS
2) GO TO (B)
(A) (B)
During an LPSTOP broadcast cycle, the CPU32 performs a CPU space write to
address $3FFFE. This write puts a copy of the interrupt mask value in the clock control
logic. The mask is encoded on the data bus as shown in Figure 5-14. The LPSTOP
CPU space cycle is shown externally (if the bus is available) as an indication to exter-
nal devices that the MCU is going into low-power stop mode. The SIM provides an
internally generated DSACK response to this cycle. The timing of this bus cycle is the
same as for a fast termination write cycle. If the bus is not available (arbitrated away),
the LPSTOP broadcast cycle is not shown externally.
NOTE
BERR during the LPSTOP broadcast cycle is ignored.
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 0 0 0 0 0 0 0 0 0 0 0 0 IP MASK
Acceptable bus cycle termination sequences are summarized as follows. The case
numbers refer to Table 5-17, which indicates the results of each type of bus cycle
termination.
• Normal Termination
— DSACK is asserted; BERR and HALT remain negated (case 1).
• Halt Termination
— HALT is asserted at the same time or before DSACK, and BERR remains
negated (case 2).
DSACK A2 S4
1 BERR NA3 NA Normal termination.
HALT NA X5
DSACK A S
Halt termination: normal cycle terminate and halt.
2 BERR NA NA
Continue when HALT is negated.
HALT A/S S
DSACK NA/A X
Bus error termination: terminate and take bus error
3 BERR A S
exception, possibly deferred.
HALT NA X
DSACK A X
Bus error termination: terminate and take bus error
4 BERR A S
exception, possibly deferred.
HALT NA NA
DSACK NA/A X
Retry termination: terminate and retry when HALT is
5 BERR A S
negated.
HALT A/S S
DSACK A X
Retry termination: terminate and retry when HALT is
6 BERR NA A
negated.
HALT NA A
NOTES:
1. N = The number of current even bus state (S2, S4, etc.).
2. A = Signal is asserted in this bus state.
3. NA = Signal is not asserted in this state.
4. X = Don’t care.
5. S = Signal was asserted in previous state and remains asserted in this state.
To control termination of a bus cycle for a retry or a bus error condition properly,
DSACK, BERR, and HALT must be asserted and negated with the rising edge of the
MCU clock. This ensures that when two signals are asserted simultaneously, the
required setup time and hold time for both of them are met for the same falling edge
of the MCU clock. Refer to APPENDIX A ELECTRICAL CHARACTERISTICS for
timing requirements. External circuitry that provides these signals must be designed
with these constraints in mind, or else the internal bus monitor must be used.
BERR assertions do not force immediate exception processing. The signal is synchro-
nized with normal bus cycles and is latched into the CPU32 at the end of the bus cycle
in which it was asserted. Because bus cycles can overlap instruction boundaries, bus
error exception processing may not occur at the end of the instruction in which the bus
cycle begins. Timing of BERR detection/acknowledge is dependent upon several
factors:
CAUTION
The external bus interface does not latch data when an external bus
cycle is terminated by a bus error. When this occurs during an
instruction prefetch, the IMB precharge state (bus pulled high, or
$FF) is latched into the CPU32 instruction register, with indetermi-
nate results.
BERR assertion is not detected until an instruction is complete. The BERR latch is
cleared by the first instruction of the BERR exception handler. Double bus fault occurs
in three ways:
1. When bus error exception processing begins and a second BERR is detected
before the first instruction of the exception handler is executed.
2. When one or more bus errors occur before the first instruction after a reset ex-
ception is executed.
3. A bus error occurs while the CPU32 is loading information from a bus error
stack frame during a return from exception (RTE) instruction.
Immediately after assertion of a second BERR, the MCU halts and drives the HALT
line low. Only a reset can restart a halted MCU. However, bus arbitration can still
occur. Refer to 5.6.6 External Bus Arbitration for more information. A bus error or
address error that occurs after exception processing has been completed (during the
execution of the exception handler routine, or later) does not cause a double bus fault.
The MCU continues to retry the same bus cycle as long as the external hardware
requests it.
If BR, BERR, and HALT are all asserted on the same cycle, the EBI will enter the rerun
sequence but first relinquishes the bus to an external master. Once the external mas-
ter returns the bus and negates BERR and HALT, the EBI runs the previous bus cycle.
This feature allows an external device to correct the problem that caused the bus error
and then try the bus cycle again.
The MCU retries any read or write cycle of an indivisible read-modify-write operation
separately. RMC remains asserted during the entire retry sequence. The MCU will not
relinquish the bus while RMC is asserted. Any device that requires the MCU to give up
the bus and retry a bus cycle during a read-modify-write cycle must assert BERR and
BR only (HALT must remain negated). The bus error handler software should examine
the read-modify-write bit in the special status word and take the appropriate action to
resolve this type of fault when it occurs. Refer to the SIM Reference Manual (SIMRM/
AD) for additional information on read-modify-write and retry operations.
During dynamically-sized 8-bit transfers, external bus activity may not stop at the next
cycle boundary. Occurrence of a bus error while HALT is asserted causes the CPU32
to initiate a retry sequence.
The halt operation has no effect on bus arbitration. However, when external bus arbi-
tration occurs while the MCU is halted, address and control signals go into a high-
impedance state. If HALT is still asserted when the MCU regains control of the bus,
address, function code, size, and read/write signals revert to the previous driven
states. The MCU cannot service interrupt requests while halted.
The bus controller in the MCU manages bus arbitration signals so that the MCU has
the lowest priority. External devices that need to obtain the bus must assert bus arbi-
tration signals in the sequences described in the following paragraphs.
Systems that include several devices that can become bus master require external cir-
cuitry to assign priorities to the devices, so that when two or more external devices
attempt to become bus master at the same time, the one having the highest priority
becomes bus master first. The protocol sequence is:
If more than one external device can be bus master, required external arbitration must
begin when a requesting device receives BG. An external device must assert BGACK
when it assumes mastership, and must maintain BGACK assertion as long as it is bus
master.
Two conditions must be met for an external device to assume bus mastership. The
device must receive BG through the arbitration process, and BGACK must be inactive,
indicating that no other bus master is active. This technique allows the processing of
bus requests during data transfer cycles.
BG is negated a few clock cycles after BGACK transition. However, if bus requests are
still pending after BG is negated, the MCU asserts BG again within a few clock cycles.
Refer to Figure 5-15, which shows bus arbitration for a single device. The flowchart
shows BR negated at the same time BGACK is asserted.
1) NEGATE BGACK
RE-ARBITRATE OR RESUME PROCESSOR
OPERATION
BUS ARB FLOW
Show cycles are controlled by SHEN[1:0] in SIMCR. This field is set to %00 by reset.
When show cycles are disabled, the address bus, function codes, size, and read/write
signals reflect internal bus activity, but AS and DS are not asserted externally and
external data bus pins are in high-impedance state during internal accesses. Refer to
5.2.3 Show Internal Cycles and the SIM Reference Manual (SIMRM/AD) for more
information.
When show cycles are enabled, DS is asserted externally during internal cycles, and
internal data is driven out on the external data bus. Because internal cycles normally
continue to run when the external bus is granted, one SHEN encoding halts internal
bus activity while there is an external master.
5.7 Reset
Reset occurs when an active low logic level on the RESET pin is clocked into the SIM.
The RESET input is synchronized to the system clock. If there is no clock when
RESET is asserted, reset does not occur until the clock starts. Resets are clocked to
allow completion of write cycles in progress at the time RESET is asserted.
Reset procedures handle system initialization and recovery from catastrophic failure.
The MCU performs resets with a combination of hardware and software. The SIM
determines whether a reset is valid, asserts control signals, performs basic system
configuration and boot ROM selection based on hardware mode-select inputs, then
passes control to the CPU32.
Reset is the highest-priority CPU32 exception. Unlike all other exceptions, a reset
occurs at the end of a bus cycle, and not at an instruction boundary. Handling resets
in this way prevents write cycles in progress at the time the reset signal is asserted
from being corrupted. However, any processing in progress is aborted by the reset
exception and cannot be restarted. Only essential reset tasks are performed during
exception processing. Other initialization tasks must be accomplished by the excep-
tion handler routine. Refer to 5.7.9 Reset Processing Summary for details on
exception processing.
Synchronous resets are timed to occur at the end of bus cycles. The SIM bus monitor
is automatically enabled for synchronous resets. When a bus cycle does not terminate
normally, the bus monitor terminates it.
Internal single byte or aligned word writes are guaranteed valid for synchronous
resets. External writes are also guaranteed to complete, provided the external config-
uration logic on the data bus is conditioned as shown in Figure 5-16.
NOTE
External bus loading can overcome the weak internal pull-up drivers
on data bus lines and hold pins low during reset.
Use an active device to hold data bus lines low. Data bus configuration logic must
release the bus before the first bus cycle after reset to prevent conflict with external
memory devices. The first bus cycle occurs ten CLKOUT cycles after RESET is
released. If external mode selection logic causes a conflict of this type, an isolation
resistor on the driven lines may be required. Figure 5-16 shows a recommended
method for conditioning the mode select signals.
The mode configuration drivers are conditioned with R/W and DS to prevent conflicts
between external devices and the MCU when reset is asserted. If external RESET is
asserted during an external write cycle, R/W conditioning (as shown in Figure 5-16)
prevents corruption of the data during the write. Similarly, DS conditions the mode con-
figuration drivers so that external reads are not corrupted when RESET is asserted
during an external read cycle.
DATA8
DATA7
DATA0
74HC244 OE 74HC244 OE
820 Ω 10 κΩ 10 κΩ
RESET
DS
R/W
DATA BUS SELECT CONDITIONING
Figure 5-16 Preferred Circuit for Data Bus Mode Select Conditioning
Alternate methods can be used for driving data bus pins low during reset. Figure 5-17
shows two of these options. The simplest is to connect a resistor in series with a diode
from the data bus pin to the RESET line. A bipolar transistor can be used for the same
purpose, but an additional current limiting resistor must be connected between the
base of the transistor and the RESET pin. If a MOSFET is substituted for the bipolar
transistor, only the 1 kΩ isolation resistor is required. These simpler circuits do not
offer the protection from potential memory corruption during RESET assertion as does
the circuit shown in Figure 5-16.
1 kW
1 kW
2 kW
RESET 2N3906
1N4148
RESET
Figure 5-17 Alternate Circuit for Data Bus Mode Select Conditioning
Unlike other chip-select signals, the boot ROM chip-select (CSBOOT) is active at the
release of RESET. During reset exception processing, the MCU fetches initialization
vectors beginning at address $000000 in supervisor program space. An external
memory device containing vectors located at these addresses can be enabled by
CSBOOT after a reset.
The logic level of DATA0 during reset selects boot ROM port size for dynamic bus allo-
cation. When DATA0 is held low, port size is eight bits; when DATA0 is held high,
either by the weak internal pull-up driver or by an external pull-up, port size is 16 bits.
Refer to 5.9.4 Chip-Select Reset Operation for more information.
DATA1 and DATA2 determine the functions of CS[2:0] and CS[5:3], respectively.
DATA[7:3] determine the functions of an associated chip-select and all lower-num-
bered chip-selects down through CS6. For example, if DATA5 is pulled low during
reset, CS[8:6] are assigned alternate function as ADDR[21:19], and CS[10:9] remain
chip-selects. Refer to 5.9.4 Chip-Select Reset Operation for more information.
DATA8 determines the function of the DSACK[1:0], AVEC, DS, AS, and SIZE pins. If
DATA8 is held low during reset, these pins are assigned to I/O port E.
DATA9 determines the function of interrupt request pins IRQ[7:1] and the clock mode
select pin (MODCLK). When DATA9 is held low during reset, these pins are assigned
to I/O port F.
NOTE
The MODCLK pin can also be used as parallel I/O pin PF0. To pre-
vent inadvertent clock mode selection by logic connected to port F,
use an active device to drive MODCLK during reset.
If BKPT is sampled at a logic level one at the rising edge of RESET, BDM is disabled.
Assertion of the BKPT pin or execution of the execution of the BKPT instruction will
result in normal breakpoint exception processing.
BDM remains enabled until the next system reset. BKPT is relatched on each rising
transition of RESET. BKPT is internally synchronized and must be held low for at least
two clock cycles prior to RESET negation for BDM to be enabled. BKPT assertion logic
must be designed with special care. If BKPT assertion extends into the first bus cycle
following the release of RESET, the bus cycle could inadvertently be tagged with a
breakpoint.
Refer to 4.10.2 Background Debug Mode and the CPU32 Reference Manual
(CPU32RM/AD) for more information on background debug mode. Refer to the SIM
Reference Manual (SIMRM/AD) and APPENDIX A ELECTRICAL CHARACTERIS-
TICS for more information concerning BKPT signal timing.
NOTE
Pins that are not used should either be configured as outputs, or (if
configured as inputs) pulled to the appropriate inactive state. This
decreases additional IDD caused by digital inputs floating near mid-
supply level.
When an external device asserts RESET for the proper period, reset control logic
clocks the signal into an internal latch. The control logic drives the RESET pin low for
an additional 512 CLKOUT cycles after it detects that the RESET signal is no longer
being externally driven to guarantee this length of reset to the entire system.
If an internal source asserts a reset signal, the reset control logic asserts the RESET
pin for a minimum of 512 cycles. If the reset signal is still asserted at the end of 512
cycles, the control logic continues to assert the RESET pin until the internal reset sig-
nal is negated.
After 512 cycles have elapsed, the RESET pin goes to an inactive, high-impedance
state for ten cycles. At the end of this 10-cycle period, the RESET input is tested. When
the input is at logic level one, reset exception processing begins. If, however, the
RESET input is at logic level zero, reset control logic drives the pin low for another 512
cycles. At the end of this period, the pin again goes to high-impedance state for ten
cycles, then it is tested again. The process repeats until RESET is released.
During power-on reset, an internal circuit in the SIM drives the IMB internal (MSTRST)
and external (EXTRST) reset lines. The power-on reset circuit releases the internal
reset line as VDD ramps up to the minimum operating voltage, and SIM pins are initial-
ized to the values shown in Table 5-21. When VDD reaches the minimum operating
voltage, the clock synthesizer VCO begins operation. Clock frequency ramps up to
specified limp mode frequency (flimp). The external RESET line remains asserted until
the clock synthesizer PLL locks and 512 CLKOUT cycles elapse.
Figure 5-18 is a timing diagram for power-on reset. It shows the relationships between
RESET, VDD, and bus signals.
CLKOUT
VCO
LOCK
VDD 1 2 3 4
RESET
BUS
CYCLES
ADDRESS AND 5 6
BUS STATE CONTROL SIGNALS
UNKNOWN THREE-STATED
NOTES:
1. TWO CLOCK CYCLE DELAY REQUIRED BY RESET CONTROL LOGIC TO SWITCH RESET PIN FROM INPUT TO OUTPUT.
2. RESET CONTROL LOGIC DRIVES THE RESET PIN LOW FOR 512 CLOCK CYCLES TO GUARANTEE THIS LENGTH OF RESET TO THE ENTIRE SYSTEM.
3. TEN CLOCK CYCLE DELAY DURING WHICH THE RESET PIN IS NO LONGER DRIVEN AND IS ALLOWED TO RISE TO A LOGIC ONE. OPERATING CONFIGURATION IS
LATCHED FROM DATA[15:0] AND BERR WHEN THIS DELAY BEGINS.
4. ADDITIONAL 180 CLOCK DELAY PROVIDED BY RESET CONTROL LOGIC TO ALLOW THE RESET PIN TO RISE TO A LOGIC ONE IF IT DID NOT DO SO DURING THE
PRIOR 10 CLOCK CYCLES.
When the internal clock synthesizer is used (MODCLK held high during reset), synthe-
sizer ramp-up time affects how long the ten cycles take. Worst case is approximately
20 milliseconds from TSC assertion.
When an external clock signal is applied (MODCLK held low during reset), pins go to
high-impedance state as soon after TSC assertion as approximately ten clock pulses
have been applied to the EXTAL pin.
c. The interrupt priority mask is set to $7, disabling all interrupts below
priority 7.
3. The vector base register is initialized to $000000.
The following events take place when MSTRST is negated after assertion.
a. The first long word of the vector is loaded into the interrupt stack pointer.
b. The second long word of the vector is loaded into the program counter.
5.8 Interrupts
Interrupt recognition and servicing involve complex interaction between the SIM, the
CPU32, and a device or module requesting interrupt service.
At the release of reset, the exception vector table is located beginning at address
$000000. This value can be changed by programming the vector base register (VBR)
with a new value. Multiple vector tables can be used. Refer to 4.9 Exception Pro-
cessing for more information.
NOTE
Exceptions such as “address error” are not interrupts and have no
“level” associated. Exceptions cannot ever be masked.
There are seven interrupt request signals (IRQ[7:1]). These signals are used internally
on the IMB, and have corresponding pins for external interrupt service requests. The
CPU32 treats all interrupt requests as though they come from internal modules; exter-
nal interrupt requests are treated as interrupt service requests from the SIM. Each of
the interrupt request signals corresponds to an interrupt priority. IRQ1 has the lowest
priority and IRQ7 the highest.
Interrupt recognition is determined by interrupt priority level and interrupt priority (IP)
mask value. The interrupt priority mask consists of three bits in the CPU32 status reg-
ister. Binary values %000 to %111 provide eight priority masks. Masks prevent an
interrupt request of a priority less than or equal to the mask value from being recog-
nized and processed. IRQ7, however, is always recognized, even if the mask value is
%111.
IRQ[7:1] are active-low level-sensitive inputs. The low on the pin must remain asserted
until an interrupt acknowledge cycle corresponding to that level is detected.
Interrupt requests are sampled on consecutive falling edges of the system clock. Inter-
rupt request input circuitry has hysteresis. To be valid, a request signal must be
asserted for at least two consecutive clock periods. Valid requests do not cause imme-
diate exception processing, but are left pending. Pending requests are processed at
instruction boundaries or when exception processing of higher-priority interrupts is
complete.
The CPU32 does not latch the priority of a pending interrupt request. If an interrupt
source of higher priority makes a service request while a lower priority request is pend-
ing, the higher priority request is serviced. If an interrupt request with a priority equal
to or lower than the current IP mask value is made, the CPU32 does not recognize the
occurrence of the request. If simultaneous interrupt requests of different priorities are
made, and both have a priority greater than the mask value, the CPU32 recognizes
the higher-level request.
Modules or external devices that have requested interrupt service must decode the IP
mask value placed on the address bus during the interrupt acknowledge cycle and
respond if the priority of the service request corresponds to the mask value. However,
before modules or external devices respond, interrupt arbitration takes place.
WARNING
Do not assign the same arbitration priority to more than one module.
When two or more IARB fields have the same nonzero value, the
CPU32 interprets multiple vector numbers at the same time, with
unpredictable consequences.
When arbitration is complete, the module with both the highest asserted interrupt level
and the highest arbitration priority must terminate the bus cycle. Internal modules
place an interrupt vector number on the data bus and generate appropriate internal
cycle termination signals. In the case of an external interrupt request, after the interrupt
acknowledge cycle is transferred to the external bus, the appropriate external device
must respond with a vector number, then generate data and size acknowledge
(DSACK) termination signals, or it must assert the autovector (AVEC) request signal.
If the device does not respond in time, the SIM bus monitor, if enabled, asserts the bus
error signal (BERR), and a spurious interrupt exception is taken.
Chip-select logic can also be used to generate internal AVEC or DSACK signals in
response to interrupt requests from external devices. Refer to 5.9.3 Using Chip-
Select Signals for Interrupt Acknowledge for more information. Chip-select address
match logic functions only after the EBI transfers an interrupt acknowledge cycle to the
external bus following IARB contention. If an internal module makes an interrupt
request of a certain priority, and the appropriate chip-select registers are programmed
to generate AVEC or DSACK signals in response to an interrupt acknowledge cycle
for that priority level, chip-select logic does not respond to the interrupt acknowledge
cycle, and the internal module supplies a vector number and generates internal cycle
termination signals.
For periodic timer interrupts, the PIRQ[2:0] field in the periodic interrupt control register
(PICR) determines PIT priority level. A PIRQ[2:0] value of %000 means that PIT inter-
rupts are inactive. By hardware convention, when the CPU32 receives simultaneous
interrupt requests of the same level from more than one SIM source (including external
devices), the periodic interrupt timer is given the highest priority, followed by the IRQ
pins.
c. The request level is latched from the address bus into the IP mask field in
the status register.
4. Modules that have requested interrupt service decode the priority value on
ADDR[3:1]. If request priority is the same as acknowledged priority, arbitration
by IARB contention takes place.
5. After arbitration, the interrupt acknowledge cycle is completed in one of the fol-
lowing ways:
c. The AVEC signal is asserted (the signal can be asserted by the dominant
external interrupt source or the pin can be tied low), and the CPU32
generates an autovector number corresponding to interrupt priority.
d. The bus monitor asserts BERR and the CPU32 generates the spurious
interrupt vector number.
6. The vector number is converted to a vector address.
7. The content of the vector address is loaded into the PC and the processor
transfers control to the exception handler routine.
5.9 Chip-Selects
Typical microcontrollers require additional hardware to provide external chip-select
and address decode signals. The MCU includes 12 programmable chip-select circuits
that can provide 2 to 16 clock-cycle access to external memory and peripherals.
Address block sizes of 2 Kbytes to 1 Mbyte can be selected. Figure 5-19 is a diagram
of a basic system that uses chip-selects.
10 kΩ 10 kΩ 10 kΩ 10 kΩ 10 kΩ 10 kΩ
DSACK1
DSACK0 DTACK
MC68HC681
CS4 IACK
IRQ7 IRQ
ADDR[3:0]
ADDR[17:0] RS[4:1]
DATA[15:8]
DATA[15:0] D[7:0]
VDD
10 kΩ
CSBOOT CE
OE
DATA[15:0]
VDD VDD DQ[15:0]
10 kΩ 10 kΩ
CS0 E
G
(SRAM 32K X 8)
CS1 W MCM6206D
ADDR[15:1]
A[14:0]
DATA[15:8]
DQ[7:0]
VDD
10 kΩ E
G
(SRAM 32K X 8)
MCM6206D
CS2 W
ADDR[15:1]
A[14:0]
DATA[7:0]
DQ[7:0]
When a memory access occurs, chip-select logic compares address space type,
address, type of access, transfer size, and interrupt priority (in the case of interrupt
acknowledge) to parameters stored in chip-select registers. If all parameters match,
the appropriate chip-select signal is asserted. Select signals are active low.
All chip-select circuits are configured for operation out of reset. However, all chip-
select signals except CSBOOT are disabled, and cannot be asserted until the
BYTE[1:0] field in the corresponding option register is programmed to a non-zero
value to select a transfer size. The chip-select option register must not be written until
a base address has been written to a proper base address register. Alternate functions
for chip-select pins are enabled if appropriate data bus pins are held low at the release
of RESET. Refer to 5.7.3.1 Data Bus Mode Selection for more information. Figure
5-20 is a functional diagram of a single chip-select circuit.
INTERNAL
SIGNALS BASE ADDRESS REGISTER
OPTION REGISTER
Blocks of addresses are assigned to each chip-select function. Block sizes of two
Kbytes to one Mbyte can be selected by writing values to the appropriate base address
register (CSBAR[0:10] and CSBARBT). Multiple chip-selects assigned to the same
block of addresses must have the same number of wait states. The base address reg-
ister for a chip-select line should be written to a value that is an exact integer multiple
of both the block size and the size of the memory device being selected.
Chip-select option registers (CSORBT and CSOR[0:10]) determine timing of and con-
ditions for assertion of chip-select signals. Eight parameters, including operating
mode, access size, synchronization, and wait state insertion can be specified.
Port size determines the way in which bus transfers to an external address are allo-
cated. Port size of eight bits or sixteen bits can be selected when a pin is assigned as
a chip-select. Port size and transfer size affect how the chip-select signal is asserted.
Refer to 5.9.1.3 Chip-Select Option Registers for more information.
Out of reset, chip-select pin function is determined by the logic level on a correspond-
ing data bus pin. The data bus pins have weak internal pull-up drivers, but can be held
low by external devices. Refer to 5.7.3.1 Data Bus Mode Selection for more infor-
mation. Either 16-bit chip-select function (%11) or alternate function (%01) can be
selected during reset. All pins except the boot ROM select pin (CSBOOT) are disabled
out of reset. There are twelve chip-select functions and only eight associated data bus
pins. There is not a one-to-one correspondence. Refer to 5.9.4 Chip-Select Reset
Operation for more detailed information.
The CSBOOT signal is enabled out of reset. The state of the DATA0 line during reset
determines what port width CSBOOT uses. If DATA0 is held high (either by the weak
internal pull-up driver or by an external pull-up device), 16-bit port size is selected. If
DATA0 is held low, 8-bit port size is selected.
A pin programmed as a discrete output drives an external signal to the value specified
in the port C register. No discrete output function is available on pins CSBOOT, BR,
BG, or BGACK. ADDR23 provides the ECLK output rather than a discrete output
signal.
When a pin is programmed for discrete output or alternate function, internal chip-select
logic still functions and can be used to generate DSACK or AVEC internally on an
address and control signal match.
The chip-select address compare logic uses only the most significant bits to match an
address within a block. The value of the base address must be an integer multiple of
the block size.
After reset, the MCU fetches the initialization routine from the address contained in the
reset vector, located beginning at address $000000 of program space. To support
bootstrap operation from reset, the base address field in the boot chip-select base
address register (CSBARBT) has a reset value of $000, which corresponds to a base
address of $000000 and a block size of one Mbyte. A memory device containing the
reset vector and initialization routine can be automatically enabled by CSBOOT after
a reset. Refer to 5.9.4 Chip-Select Reset Operation for more information.
BYTE[1:0] controls bus allocation for chip-select transfers. Port size, set when a chip-
select is enabled by a pin assignment register, affects signal assertion. When an 8-bit
port is assigned, any BYTE field value other than %00 enables the chip-select signal.
When a 16-bit port is assigned, however, BYTE field value determines when the chip-
select is enabled. The BYTE fields for CS[10:0] are cleared during reset. However,
both bits in the boot ROM chip-select option register (CSORBT) BYTE field are set
(%11) when the RESET signal is released.
The STRB bit controls the timing of a chip-select assertion in asynchronous mode.
Selecting address strobe causes a chip-select signal to be asserted synchronized with
the address strobe. Selecting data strobe causes a chip-select signal to be asserted
synchronized with the data strobe. This bit has no effect in synchronous mode.
DSACK[3:0] specifies the source of DSACK in asynchronous mode. It also allows the
user to optimize bus speed in a particular application by controlling the number of wait
states that are inserted.
NOTE
The external DSACK pins are always active.
IPL[2:0] contains an interrupt priority mask that is used when chip-select logic is set to
trigger on external interrupt acknowledge cycles. When SPACE[1:0] is set to %00
(CPU space), interrupt priority (ADDR[3:1]) is compared to the IPL field. If the values
are the same, and other option register constraints are satisfied, a chip-select signal
is asserted. This field only affects the response of chip-selects and does not affect
interrupt recognition by the CPU. Encoding %000 in the IPL field causes a chip-select
signal to be asserted regardless of interrupt acknowledge cycle priority, provided all
other constraints are met.
• Function codes to SPACE fields, and to the IPL field if the SPACE field encoding
is not for CPU space.
• Appropriate address bus bits to base address fields.
The speed of an external device determines whether internal wait states are needed.
Normally, wait states are inserted into the bus cycle during S3 until a peripheral
asserts DSACK. If a peripheral does not generate DSACK, internal DSACK generation
must be selected and a predetermined number of wait states can be programmed into
the chip-select option register. Refer to the SIM Reference Manual (SIMRM/AD) for
further information.
During a CPU space cycle, bits [15:3] of the appropriate base register must be config-
ured to match ADDR[23:11], as the address is compared to an address generated by
the CPU.
Figure 5-21 shows CPU space encoding for an interrupt acknowledge cycle. FC[2:0]
are set to %111, designating CPU space access. ADDR[3:1] indicate interrupt priority,
and the space type field (ADDR[19:16]) is set to %1111, the interrupt acknowledge
code. The rest of the address lines are set to one.
2 0 23 19 16 0
INTERRUPT
1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 LEVEL 1
ACKNOWLEDGE
CPU SPACE
TYPE FIELD
To ensure a particular configuration out of reset, use an active device to put the data
lines in a known state during reset. The base address fields in chip-select base
address registers CSBAR[0:10] and chip-select option registers CSOR[0:10] have the
reset values shown in Table 5-25. The BYTE fields of CSOR[0:10] have a reset value
of “disable”, so that a chip-select signal cannot be asserted until the base and option
registers are initialized.
Following reset, the MCU fetches the initial stack pointer and program counter values
from the exception vector table, beginning at $000000 in supervisor program space.
The CSBOOT chip-select signal is used to select an external boot device mapped to
a base address of $000000.
The MSB of the CSBTPA field in CSPAR0 has a reset value of one, so that chip-select
function is selected by default out of reset. The BYTE field in chip-select option register
CSORBT has a reset value of “both bytes” so that the select signal is enabled out of
reset. The LSB of the CSBOOT field, determined by the logic level of DATA0 during
reset, selects the boot ROM port size. When DATA0 is held low during reset, port size
is eight bits. When DATA0 is held high during reset, port size is 16 bits. DATA0 has a
weak internal pull-up driver, so that a 16-bit port is selected by default out of reset.
However, the internal pull-up driver can be overcome by bus loading effects. To
ensure a particular configuration out of reset, use an active device to put DATA0 in a
known state during reset.
The base address field in the boot chip-select base address register CSBARBT has a
reset value of all zeros, so that when the initial access to address $000000 is made,
an address match occurs, and the CSBOOT signal is asserted. The block size field in
CSBARBT has a reset value of 1 Mbyte. Table 5-26 shows CSBOOT reset values.