![Intel 8XC196NT User Manual Download Page 371](http://html1.mh-extra.com/html/intel/8xc196nt/8xc196nt_user-manual_2072210371.webp)
8XC196NT USER’S MANUAL
15-8
15.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 15-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.
where:
PPW_VALUE
is a 15-bit word
F
OSC
is the input frequency on XTAL1, in MHz
Time
is the duration of the programming pulse, in µs
The following two examples calculate the PPW_VALUE for a 100-µs pulse width with an 8-MHz
and a 16-MHz crystal, respectively.
Table 15-4. UPROM Programming Values and Locations for Slave Mode
To set this bit
Write this value
To this location
DEI
08H
0718H
DED
04H 0758H
OFD
†
01H
0778H
†
Intel manufacturing uses location FF2016H to determine whether to program the OFD bit. Customers with
QROM or MROM codes who desire the OFD feature should equate location FF2016H to the value 0CDEH.
PPW_VALUE
F
osc
Time
×
144
--------------------------------
1
–
=
PPW_VALUE
8
100
×
144
-------------------
1
–
800
144
----------
1
–
4.5552
5
≈
05H
=
=
=
=
PPW_VALUE
16
100
×
144
----------------------
1
–
1600
144
-------------
1
–
10.11
11
≈
0BH
=
=
=
=
Summary of Contents for 8XC196NT
Page 1: ...8XC196NT Microcontroller User s Manual...
Page 2: ...8XC196NT Microcontroller User s Manual June 1995 Order Number 272317 003...
Page 22: ...1 Guide to This Manual...
Page 23: ......
Page 35: ......
Page 36: ...2 Architectural Overview...
Page 37: ......
Page 49: ......
Page 50: ...3 Programming Considerations...
Page 51: ......
Page 66: ...4 Memory Partitions...
Page 67: ......
Page 104: ...5 Standard and PTS Interrupts...
Page 105: ......
Page 147: ......
Page 148: ...6 I O Ports...
Page 149: ......
Page 176: ...7 Serial I O SIO Port...
Page 177: ......
Page 194: ...8 Synchronous Serial I O SSIO Port...
Page 195: ......
Page 211: ......
Page 212: ...9 Slave Port...
Page 213: ......
Page 231: ......
Page 232: ...10 Event Processor Array EPA...
Page 233: ......
Page 270: ...11 Analog to digital Converter...
Page 271: ......
Page 291: ......
Page 292: ...12 Minimum Hardware Considerations...
Page 293: ......
Page 306: ...13 Special Operating Modes...
Page 307: ......
Page 317: ......
Page 318: ...14 Interfacing with External Memory...
Page 319: ......
Page 362: ...15 Programming the Nonvolatile Memory...
Page 363: ......
Page 408: ...A Instruction Set Reference...
Page 409: ......
Page 476: ...B Signal Descriptions...
Page 477: ......
Page 493: ......
Page 494: ...C Registers...
Page 495: ......
Page 565: ......
Page 566: ...Glossary...
Page 567: ......
Page 580: ...Index...
Page 581: ......
Page 597: ......