Programming Pulse Width - Intel 8XC196MC User Manual

Table of Contents

Advertisement

8XC196MC, MD, MH USER'S MANUAL

16.4 PROGRAMMING PULSE WIDTH

The programming pulse width is controlled in different ways, depending on the programming
mode. 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 the UPROM
(8XC196MH only) and PCCB programming modes, the pulse width is controlled by the test-
ROM routine. (For run-time programming, your software controls the pulse width.)
To determine the correct PPW_VALUE for the frequency of the device, use the following formula
and round the result to the next higher integer.
PPW_VALUE for 8XC196MC, MD
PPW_VALUE for 8XC196MH
where:
PPW_VALUE
F
1
XTAL
PPW
The programming pulse width (PPW) register is loaded from the external EPROM (locations 14H and
15H for the 8XC196MC and MD; locations 4014H and 4015H for the 8XC196MH) in auto programming
mode. The PPW_VALUE determines the programming pulse width.
15
PPW15
PPW14
7
PPW7
PPW6
Bit
Bit
Number
Mnemonic
15:0
PPW15:0
Figure 16-2. Programming Pulse Width (PPW) Register
The examples in Table 16-5 calculate the required minimum pulse width (100 µs for the
8XC196MH and 250 µs for the 8XC196MC, MD) for an 8-MHz and a 16-MHz crystal.
16-8
×
62.5
F
=
×
= 25 F
XTAL1
is a 16-bit word
is the input frequency on XTAL1, in MHz
PPW13
PPW12
PPW5
PPW4
PPW_VALUE
This value establishes the programming pulse width for auto programming.
Use the appropriate formula to calculate the PPW_VALUE, then write the
result to the PPW register. (Table 16-5 shows the calculations and results for
8 MHz and 16 MHz operation.)
PPW_VALUE for 8XC196MC, MD
PPW_VALUE for 8XC196MH
Get other manuals https://www.bkmanuals.com
XTAL1
PPW11
PPW10
PPW3
PPW2
Function
62.5
=
×
= 25
no direct access
8
PPW9
PPW8
0
PPW1
PPW0
×
F
XTAL1
F
XTAL1

Advertisement

Table of Contents
loading

This manual is also suitable for:

8xc196md8xc196mh

Table of Contents