Enabling The Oscillator Failure Detection Circuitry; Programming Pulse Width - Intel 8XC196K Series User Manual

Table of Contents

Advertisement

8XC196K x , J x , CA USER'S MANUAL

16.3.3 Enabling the Oscillator Failure Detection Circuitry

Programming the OFD bit enables circuitry that resets the device when it detects a failed oscilla-
tor. (See "Detecting Oscillator Failure" on page 13-12 for details.) To program this bit, you must
write the correct value to the location shown in Table 16-5, using slave programming mode. Dur-
ing normal operation, you can determine the value of this bit by reading the USFR (Figure 16-1
on page 16-7). In EPROM packages, the OFD bit can be erased.
Table 16-5. UPROM Programming Values and Locations for Slave Mode
To set this bit
DEI
DED
OFD
Intel manufacturing uses location 2016H to determine whether to program the OFD bit. Customers with
QROM or MROM codes who desire the OFD feature should equate location 2016H to the value 0CDEH.

16.4 PROGRAMMING PULSE WIDTH

The programming pulse width is controlled in different ways depending on the programming
mode. In all cases, the pulse width must be at least 100 µs for successful programming. In slave
programming mode, the pulse width is controlled by the PALE# signal. In auto programming
mode, it is loaded from the external EPROM into the PPW register. In serial port programming
mode, it is loaded from the test ROM into the SP_PPW register. In run-time programming mode,
your software controls the pulse width.
The PPW and SP_PPW registers (Figure 16-2) are identical except for their locations and default
values. Both are word registers and both require that the most-significant bit always be set; the
remaining bits constitute the PPW_VALUE. To determine the correct PPW_VALUE for the fre-
quency of the device, use the following formula and round the result to the next higher integer.
F
------------------------------- -
PPW_VALUE
=
where:
PPW_VALUE
F
OSC
Time
16-8
Write this value
×
Time
osc
1
144
is a 15-bit word
is the input frequency on XTAL1, in MHz
is the duration of the programming pulse, in µs
08H
04H
01H
To this location
0718H
0758H
0778H

Advertisement

Table of Contents
loading

Table of Contents