User’s Manual
10-1
05.99
OTP Memory Operation
C513AO-2E Only
10
OTP Memory Operation
The C513AO-2E is the One-Time Programmable (OTP) version of the C513AO microcontroller with
a 16K byte OTP program memory. Fast programming cycles can be achieved with the C513AO-2E
(1 byte in 100
µ
s). Several levels of OTP memory protection can be selected as well. The basic
functionality of the C513AO-2E is identical to the C513AO-2R (ROM part) or the C513AO-L
(ROMless part). Therefore, the programmable C513AO-2E typically can be used for prototype
system design as a replacement for the ROM-based C513AO-2R microcontroller.
10.1
Programming Configuration
During normal program execution, the C513AO-2E behaves like the C513AO-2R/C513AO-L. To
program the device, the C513AO-2E must be put into Programming Mode. This typically is done not
in-system, but in special programming hardware. In Programming Mode, the C513AO-2E operates
as a slave device similar to an EPROM stand-alone memory device and must be controlled with
address/data information, control lines, and an external 11.5 V programming voltage.
In Programming Mode, Port 0 provides the bi-directional data lines and Port 2 is used for the
multiplexed address inputs. The upper address information at Port 2 is latched with the signal
PALE. For basic programming mode selection, the inputs RESET, PSEN, EA/
V
PP
, ALE and PSEL
are used. Further, the inputs PMSEL1,0 are required in Programming Mode to select the access
types (such as program/verify data, write lock bits, etc.). In Programming Mode,
V
DD
/
V
SS
and a
clock signal at the XTAL pins must be applied to the C513AO-2E. The 11.5 V external programming
voltage is input through the EA/
V
PP
pin.
Figure 10-1 shows the signals of the C513AO-2E which are required for controlling the OTP
device’s Programming Mode.
Figure 10-1
Programming Mode Configuration
MCL04018
C513AO-2E
D0-D7
XTAL1
XTAL2
V
DD
V
SS
EA/
V
PP
PROG
PRD
RESET
PSEN
PSEL
PMSEL1
PMSEL0
PALE
A0-A7/
A8-A13
Port 2
Port 0