Intel 8XC196MC User Manual page 322

Table of Contents

Advertisement

CCR0
The chip configuration 0 (CCR0) register controls powerdown mode, bus-control signals, and internal
memory protection. Three of its bits combine with two bits of CCR1 to control wait states and bus
width.
7
LOC1
LOC0
Bit
Bit
Number
Mnemonic
7:6
LOC1:0
5:4
IRC1:0
The CCRs are loaded with the contents of the chip configuration bytes (CCBs) after reset, unless the
microcontroller is entering programming modes (see "Entering Programming Modes" on page 16-13),
in which case the programming chip configuration bytes (PCCBs) are used. The CCBs reside in
nonvolatile memory at addresses 2018H (CCB0) and 201AH (CCB1).
Figure 15-1. Chip Configuration 0 (CCR0) Register
IRC1
IRC0
Lock Bits
These two bits control read and write access to the OTPROM during
normal operation. Refer to "Controlling Access to the OTPROM During
Normal Operation" on page 16-4 for details.
LOC1 LOC0
0
0
read and write protect
0
1
read protect only
1
0
write protect only
1
1
no protection
Internal Ready Control
These two bits, along with IRC2 (CCR1.1) and the READY pin determine
the number of wait states that can be inserted into the bus cycle. While
READY is held low, wait states are inserted into the bus cycle until the
programmed number of wait states is reached. If READY is pulled high
before the programmed number of wait states is reached, no additional
wait states will be inserted into the bus cycle.
IRC2 IRC1 IRC0
0
0
0
zero wait states
0
X
1
illegal
1
1
X
illegal
1
0
0
one wait state
1
0
1
two wait states
1
1
0
three wait states
1
1
1
infinite
If you choose the infinite wait states option, you must keep P5.6
configured as the READY signal. Also, be sure to add external hardware
to count wait states and pull READY high within a specified time.
Otherwise, a defective external device could tie up the address/data bus
indefinitely.
Get other manuals https://www.bkmanuals.com
INTERFACING WITH EXTERNAL MEMORY
ALE
WR
Function
no direct access†
0
BW0
PD
15-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents