MC68HC711E20CFN2

Manufacturer Part NumberMC68HC711E20CFN2
DescriptionIC MCU 20K 2MHZ OTP 52-PLCC
ManufacturerFreescale Semiconductor
SeriesHC11
MC68HC711E20CFN2 datasheets
 

Specifications of MC68HC711E20CFN2

Core ProcessorHC11Core Size8-Bit
Speed2MHzConnectivitySCI, SPI
PeripheralsPOR, WDTNumber Of I /o38
Program Memory Size20KB (20K x 8)Program Memory TypeOTP
Eeprom Size512 x 8Ram Size768 x 8
Voltage - Supply (vcc/vdd)4.5 V ~ 5.5 VData ConvertersA/D 8x8b
Oscillator TypeInternalOperating Temperature-40°C ~ 85°C
Package / Case52-PLCCLead Free Status / RoHS StatusContains lead / RoHS non-compliant
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
Page 41
42
Page 42
43
Page 43
44
Page 44
45
Page 45
46
Page 46
47
Page 47
48
Page 48
49
Page 49
50
Page 50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
Page 48/242

Download datasheet (2Mb)Embed
PrevNext
Operating Modes and On-Chip Memory
2.4.1 Programming an Individual EPROM Address
In this method, the MCU programs its own EPROM by controlling the PPROG register (EPROG in
MC68HC711E20). Use these procedures to program the EPROM through the MCU with:
The ROMON bit set in the CONFIG register
The 12-volt nominal programming voltage present on the XIRQ/V
The IRQ pin must be pulled high.
Any operating mode can be used.
This example applies to all devices with EPROM/OTPROM except for the MC68HC711E20.
EPROG
LDAB
#$20
STAB
$103B
STAA
$0,X
LDAB
#$21
STAB
$103B
JSR
DLYEP
CLR
$103B
This example applies only to MC68HC711E20.
EPROG
LDAB
#$20
STAB
$1036
STAA
$0,X
LDAB
#$21
STAB
$1036
JSR
DLYEP
CLR
$1036
2.4.2 Programming the EPROM with Downloaded Data
When using this method, the EPROM is programmed by software while in the special test or bootstrap
modes. User-developed software can be uploaded through the SCI or a ROM-resident EPROM
programming utility can be used. The 12-volt nominal programming voltage must be present on the
XIRQ/V
pin. To use the resident utility, bootload a 3-byte program consisting of a single jump
PPE
instruction to $BF00. $BF00 is the starting address of a resident EPROM programming utility. The utility
program sets the X and Y index registers to default values, then receives programming data from an
external host, and puts it in EPROM. The value in IX determines programming delay time. The value in
IY is a pointer to the first address in EPROM to be programmed (default = $D000).
When the utility program is ready to receive programming data, it sends the host the $FF character. Then
it waits. When the host sees the $FF character, the EPROM programming data is sent, starting with the
first location in the EPROM array. After the last byte to be programmed is sent and the corresponding
verification data is returned, the programming operation is terminated by resetting the MCU.
For more information, Freescale application note AN1060 entitled
included at the back of this document.
48
NOTE
Set ELAT bit in (EPGM = 0) to enable
EPROM latches.
Store data to EPROM address
Set EPGM bit with ELAT = 1 to enable
EPROM programming voltage
Delay 2–4 ms
Turn off programming voltage and set
to READ mode
Set ELAT bit (EPGM = 0) to enable
EPROM latches.
Store data to EPROM address
Set EPGM bit with ELAT = 1 to enable
EPROM programming voltage
Delay 2–4 ms
Turn off programming voltage and set
to READ mode
M68HC11E Family Data Sheet, Rev. 5.1
pin
PPE
M68HC11 Bootstrap Mode
has been
Freescale Semiconductor