English
Language : 

C541U_99 Datasheet, PDF (177/192 Pages) Siemens Semiconductor Group – 8-BIT CMOS MICROCONTROLLER
OTP Memory Operation
C541U
The basic programming mode is selected by executing the following steps :
– With a stable VDD a clock signal is applied to the XTAL pins; the RESET pin is set to “1“ level
and the PSEN pin is set to “0“ level.
– PROG, PALE, PMSEL1 and EA/VPP are set to “0“ level; PRD, PSEL, and PMSEL0 are set to
“1“ level.
– PSEL is set to from “1“ to “0“ level and thereafter PROG is switched to “1“ level.
– PMSEL1,0 can now be changed; after EA/VPP has been set to VIH high level or to VPP the OTP
memory is ready for access.
The pins RESET and PSEN must stay at “1“ respectively “0“ static signal level during the whole
programming mode. With a falling edge of PSEL the logic state of ALE/PROG and VPP(EA) is
internally latched. These two signals are now used as programming write pulse signal (PROG) and
as programming voltage input pin VPP. After the falling edge of PSEL, PSEL must stay at “0“ state
during all programming operations.
Note: If protection level 1 to 3 has been programmed (see section 10.6) and the programming mode
has been left, it is no more possible to enter the programming mode !
10.4.2 OTP Memory Access Mode Selection
When the C541U has been put into the programming mode using the basic programming mode
selection, several access modes of the OTP memory programming interface are available. The
conditions for the different control signals of these access modes are listed in table 10-2.
Table 10-2
Access Modes Selection
Access Mode
Program OTP memory byte
Read OTP memory byte
Program OTP lock bits
Read OTP lock bits
Read OTP version byte
EA/
VPP PROG
VPP
VIH
H
VPP
VIH
H
VIH
H
PRD
H
PMSEL
1
0
HH
HH L
L
H
Address
(Port 2)
Data
(Port 0)
A0-7
A8-15
D0-7
–
D1,D0 see
table 3
Byte addr.
of sign. byte
D0-7
The access modes from the table above are basically selected by setting the two PMSEL1,0 lines
to the required logic level. The PROG and PRD signal are the write and read strobe signal. Data is
transfered via port 0 and addresses are applied to port 2.
The following sections describes the details of the different access modes.
Semiconductor Group
10-6
1997-10-01