ST20P18
6. OTP ROM Programming Interface
6.1
Interface Description
be used to connect writer to program OTP ROM. After
programming and disconnecting from writer, they can be
used as original purpose.
In order to program OTP ROM, several pins have to be
reserved on the PCB which is bounding with ST20P18. These
total are 8 pins that include following list TABLE 6-1: . It just
TABLE 6-1: Pin assignment of interface
P18 Pad Name
VPP
GND
VCC
PE3
SEG4
SEG5
PE2
RESET
(SPI Interface)
VPP
VSS
VDD
SSB
MOSI
MISO
SCK
RESET
Pin Type
Power
Power
Power
Input
Input
Output
Input
Input
Description
High Voltage Power Supply
1) OTP Program, Program Verify, VPP=> 12V
2) OTP Read:VPP=> Floating
Ground.
Low Voltage (2.4V-5.4V) Power Supply.
SPI signal
SPI signal
SPI signal
SPI signal
SPI RESET
6.2
Programming Function Specification
options should program the OTP ROM by OTP writer by
control register. The register OTP($37) is used to read
contents of the option word.
There are reserved 5 option bits to select to apply or not
the function we needed. It includes PD input, WDT enable,
WDT stop at WAI-1 and Code Protection. To setup the
Ver 1.4
6/12
6/13/07