MICRO CTRL 4K 4MHZ OTP 44PLCC

 

PIC16C74-04/L

Manufacturer Part NumberPIC16C74-04/L
DescriptionMICRO CTRL 4K 4MHZ OTP 44PLCC
ManufacturerMicrochip Technology
SeriesPIC® 16C
PIC16C74-04/L datasheets

Availability: By request

International delivery:

Warranty: 60 days

Shipping & payment terms

Added to cart

 

Specifications of PIC16C74-04/L

Core ProcessorPICCore Size8-Bit
Speed4MHzConnectivityI²C, SPI, UART/USART
PeripheralsPOR, PWM, WDTNumber Of I /o33
Program Memory Size7KB (4K x 14)Program Memory TypeOTP
Ram Size192 x 8Voltage - Supply (vcc/vdd)4 V ~ 6 V
Data ConvertersA/D 8x8bOscillator TypeExternal
Operating Temperature0°C ~ 70°CPackage / Case44-PLCC
For Use WithDVA16XL441 - ADAPTER DEVICE ICE 44PLCCLead Free Status / RoHS StatusRequest inventory verification / Request inventory verification
Eeprom Size-  
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
42
43
44
45
46
47
48
49
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
Page 101
102
Page 102
103
Page 103
104
Page 104
105
Page 105
106
Page 106
107
Page 107
108
Page 108
109
Page 109
110
Page 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
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
Page 101/289

Download datasheet (3Mb)Embed
PrevNext
12.1
USART Baud Rate Generator (BRG)
Applicable Devices
72 73 73A 74 74A 76 77
The BRG supports both the Asynchronous and Syn-
chronous modes of the USART. It is a dedicated 8-bit
baud rate generator. The SPBRG register controls the
period of a free running 8-bit timer. In asynchronous
mode bit BRGH (TXSTA<2>) also controls the baud
rate. In synchronous mode bit BRGH is ignored.
Table 12-1 shows the formula for computation of the
baud rate for different USART modes which only apply
in master mode (internal clock).
Given the desired baud rate and Fosc, the nearest inte-
ger value for the SPBRG register can be calculated
using the formula in Table 12-1. From this, the error in
baud rate can be determined.
Example 12-1 shows the calculation of the baud rate
error for the following conditions:
F
= 16 MHz
OSC
Desired Baud Rate = 9600
BRGH = 0
SYNC = 0
TABLE 12-1:
BAUD RATE FORMULA
SYNC
BRGH = 0 (Low Speed)
(Asynchronous) Baud Rate = F
0
1
(Synchronous) Baud Rate = F
X = value in SPBRG (0 to 255)
TABLE 12-2:
REGISTERS ASSOCIATED WITH BAUD RATE GENERATOR
Address
Name
Bit 7
Bit 6
98h
TXSTA
CSRC
TX9
18h
RCSTA
SPEN
RX9
99h
SPBRG
Baud Rate Generator Register
Legend: x = unknown, - = unimplemented read as '0'. Shaded cells are not used by the BRG.
1997 Microchip Technology Inc.
EXAMPLE 12-1: CALCULATING BAUD
Desired Baud rate = Fosc / (64 (X + 1))
9600 =
X
=
Calculated Baud Rate=16000000 / (64 (25 + 1))
=
9615
Error
=
(Calculated Baud Rate - Desired Baud Rate)
=
(9615 - 9600) / 9600
=
0.16%
It may be advantageous to use the high baud rate
(BRGH = 1) even for slower baud clocks. This is
because the F
OSC
baud rate error in some cases.
Note:
For the PIC16C73/73A/74/74A, the asyn-
chronous high speed mode (BRGH = 1)
may experience a high rate of receive
errors. It is recommended that BRGH = 0.
If you desire a higher baud rate than
BRGH = 0 can support, refer to the device
errata for additional information, or use the
PIC16C76/77.
Writing a new value to the SPBRG register, causes the
BRG timer to be reset (or cleared), this ensures the
BRG does not wait for a timer overflow before output-
ting the new baud rate.
/(64(X+1))
OSC
/(4(X+1))
OSC
Bit 5
Bit 4
Bit 3
Bit 2
Bit 1
TXEN SYNC
BRGH TRMT TX9D
SREN CREN
FERR OERR RX9D
PIC16C7X
RATE ERROR
16000000 /(64 (X + 1))
25.042 = 25
Desired Baud Rate
/(16(X + 1)) equation can reduce the
BRGH = 1 (High Speed)
Baud Rate= F
/(16(X+1))
OSC
NA
Value on:
Value on all
Bit 0
POR,
other resets
BOR
0000 -010
0000 -010
0000 -00x
0000 -00x
0000 0000
0000 0000
DS30390E-page 101