Panasonic MN10285K manual

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
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
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
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Panasonic MN10285K. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoPanasonic MN10285K vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Panasonic MN10285K você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Panasonic MN10285K, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Panasonic MN10285K deve conte:
- dados técnicos do dispositivo Panasonic MN10285K
- nome do fabricante e ano de fabricação do dispositivo Panasonic MN10285K
- instruções de utilização, regulação e manutenção do dispositivo Panasonic MN10285K
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Panasonic MN10285K não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Panasonic MN10285K e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Panasonic na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Panasonic MN10285K, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Panasonic MN10285K, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Panasonic MN10285K. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    MICR OCOMPUTER MN102H MN102H75K/F75K/85K/F85K LSI User’ s Manual Pub .No .22385-011E[...]

  • Página 2

    [...]

  • Página 3

    PanaXSerie s is a t rademark o f Matsushita Electric Industr ial Co., Ltd. The other corporat ion names, logotyp e and product names written in this book are trademark s or registe red trademarks of their corresp ondin g corp oratio ns. Request fo r your spec ial attent ion and precau tions in us ing the tech nical informat ion and sem iconduct ors[...]

  • Página 4

    Contents MN102H75 K /F75K LSI Use r Manual Panasonic Semiconductor Development Company 3 Panas oni c Contents About This Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Using This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 5

    Contents Panasonic Semicond uctor Development C ompany MN102H75 K/F75K LSI Us er Manual 4 Panas oni c 4.5.1 Setting Up an Ev ent Counter Using T imer 0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 4.5.2 Setting Up an Interv al T imer Using T imers 1 and 2 . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 6

    Contents MN102H75 K /F75K LSI Use r Manual Panasonic Semiconductor Development Company 5 Panas oni c 6.4.2 Single Channel/Single Co n version T iming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145 6.4.3 Multiple Channel/Single Con version T iming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 7

    Contents Panasonic Semicond uctor Development C ompany MN102H75 K/F75K LSI Us er Manual 6 Panas oni c 7.13.3 Controlling Shutter ing Ef fects . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 7.13.4 Controlling Line Sh uttering . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 8

    Contents MN102H75 K /F75K LSI Use r Manual Panasonic Semiconductor Development Company 7 Panas oni c 11 I/O P or t s . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 1 11.1 Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .[...]

  • Página 9

    Contents Panasonic Semicond uctor Development C ompany MN102H75 K/F75K LSI Us er Manual 8 Panas oni c B.4.2 Circuit Requireme nts for the T ar get Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 321 B.4.3 Microcontroller Hardw are Used in Onboard Serial Programming . . . . . . . . . . . . . . . . . . . . [...]

  • Página 10

    List of Table s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 9 Panas oni c List of T ables 1-1 General Specif ications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26 1-2 Block Diagram Ex planation . . . . . . . . . . [...]

  • Página 11

    List of Table s Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 10 Panas oni c 8-5 IR Remote Signal Recei ver Re gisters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 8-6 HEAMA and 5-/6-Bit Data Puls e W idths . . . . . . . . . . . . . . . . . . [...]

  • Página 12

    List of Figur es MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 11 Panas oni c List of Figures 1-1 Con vention al vs. MN102H Series Cod e As signments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 1-2 Three-Stage Pipeline . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 13

    List of F igures Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 12 Panas oni c 4-20 One-Shot Pulse Outpu t T iming (16-Bit T imers) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 4-21 External Count Dir ection Control T iming (16-B it T imers) . . . . . . . . .[...]

  • Página 14

    List of Figur es MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 13 Panas oni c 5-12 Serial Interface C lock T iming . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 5-13 Master T ransmitter Ti ming in I 2 C Mode (with A CK) . . . . . [...]

  • Página 15

    List of F igures Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 14 Panas oni c 7-31 Shuttered Area Setup Exam ples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 195 7-32 Shutter Mov ement Setup Examples. . . . . . . . . . . . . . . . . . . .[...]

  • Página 16

    List of Figur es MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 15 Panas oni c 11-16 P30/CLH and P33/C LL (Port 3) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267 11-17 P34/VREF (Port 3) . . . . . . . . . . . . . . . . . . . . . . . . . [...]

  • Página 17

    About This Manual Using This Manual Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 16 Panas oni c Abou t This Manual This manual is i ntended fo r assembly-lan guage programming engineers. It describ es the int ernal conf iguration and hardwar e functions of the MN10 2H75K and MN102H85 K microco ntrollers . [...]

  • Página 18

    About This Manual Related Documents MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 17 Panas oni c Related Documents ■ MN102H S eries LSI Us er Manual (Describes the core hardw are.) ■ MN102H S eries Instruct ion Manual (Describes the instruction set.) ■ MN102H Series C Compiler User Manual: Usag e Gu[...]

  • Página 19

    General Description MN102H Seri es Over view Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 18 Panasonic 1 General Description 1.1 MN102H S eries Over view The 16-bit MN102H series is the hi gh-speed linear addr essing versio n of the MN10200 series. The n e w architecture in this series is designed for C -l[...]

  • Página 20

    General Description MN102H Se ries Feature s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 19 Panasonic ■ Single-byte basic instr uction lengt h The MN102H series has r eplaced general re gisters with eight internal CPU re gisters divid ed function ally into four address re gisters (A0 - A3) an d four d[...]

  • Página 21

    General Description MN102H Series Feature s Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 20 Panasonic ■ Fast interrupt response MN102H series de vices can stop execu ting instructions, ev en those with long e xecution c ycles, to service interrupts immediately . After an interrupt occurs, the pro g ram b[...]

  • Página 22

    General Description MN1 02H Seri es Desc ript ion MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 21 Panasonic ■ Outstanding po wer savings The MN102H ser i es contai ns separate bu ses for instruction s, data, an d peripher al functions, whi ch dist rib utes and re duces loa d capacitance, dra- matically[...]

  • Página 23

    General Description MN102 H Serie s Descrip tion Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 22 Panasonic NX: Exte nsion negativ e flag If the most significant bit of the result of an operation has the value 1, this flag is set; if that bit is 0, th is flag is reset. ZX: Ext ension z ero flag If all bits [...]

  • Página 24

    General Description MN1 02H Seri es Desc ript ion MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 23 Panasonic ■ Internal regis ters, memo ry , and special funct ion registers Note: 1. This allo cation is a represen tative example. Actual mem or y , per i pheral , SFR, and I /O port co nfiguratio n depen [...]

  • Página 25

    General Description MN102 H Serie s Descrip tion Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 24 Panasonic ■ Addre ss spa ce The memory in the MN102H series is conf igured as linear address space. The instruction and data ar eas are not separated, so the basic segments are internal R OM, internal RAM, an[...]

  • Página 26

    General Description MN1 02H Seri es Desc ript ion MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 25 Panasonic ■ Interrupt contr oller An interrupt con t roller e xternal to the core co ntrols all nonmaskable and maskable interrupts e xcept reset. There are a maximum of sixteen interrupt classes (class 0 [...]

  • Página 27

    General Description General Specifications Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 26 Panasonic 1.4 Gener al Spec ifi cations T able 1-1 G eneral Spe cifications P arameter Spec ification Structure Internal multiplier (16-bit × 16-bit = 32-bit) and s aturate calculator Load/store architecture Eight r[...]

  • Página 28

    General Description General Specifications MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 27 Panasonic Timer/counters F our 8-bit timers: ♦ Cascading function (forming 16- or 32-bit timers) ♦ Timer output ♦ Selectable clock source (internal or ex ternal) ♦ Serial interface cloc k generation ♦ Sta[...]

  • Página 29

    General Description Block Diagram Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 28 Panasonic 1.5 Block Diagram Figure 1-8 F unctional Bloc k Diag r am A1 A0 A3 A2 D1 D0 D3 D2 MDR T1 T2 Clock generator Clock source Instruction execution controller Instruction decoder Quick decoder Interrupt controller Instru[...]

  • Página 30

    General Description Block Diagram MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 29 Panasonic T able 1-2 Block Diagram Explanation Bloc k Description Clock generator An oscillation circuit connected to a n ex ternal cr ystal supplies the clock to all blocks within the CPU . Program counter The progr am cou[...]

  • Página 31

    General Description Pin Descriptions Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 30 Panasonic 1.6 Pin Descriptions 1.6.1 MN102 H85K Pin Description Notes: 1. Pins marked with an as te risk (*) are N-ch annel, open -drai n pins. 2. Pin 25 i s V DD in the MN102H 85K and V PP in the MN102HF85K. Figure 1-9 M [...]

  • Página 32

    General Description Pin D escrip tions MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 31 Panasonic 1.6.2 MN102 H75K Pin Description Notes: 1. Pins marked with an aste risk (*) are N-chann el , open-drain pins. 2. Pin 41 is V DD in the MN10 2H75K and V PP in the MN102 HF75K. Figure 1-10 M N102H75 K Pin Conf[...]

  • Página 33

    General Description Pin Descriptions Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 32 Panasonic T able 1-3 Pin Functions Bloc k Pin Name I/O Pin Count Description Po w e r V DD I 1 V oltage supply V SS I 2 Ground reference AV DD I 1 Analog v oltage supply V DD /V PP I1 V oltage supply: V DD in mask ROM v er[...]

  • Página 34

    General Description Pin D escrip tions MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 33 Panasonic I/O ports MN102H75K/HF75K: total 66 pins MN102H85K/HF85K: total 50 pins P00 – P07 I/O 8 General-purpose por t 0 I/O P10 – P17 I/O 8 General-purpose por t 1 I/O P20 – P27 I/O 8 General-purpose por t 2 I/[...]

  • Página 35

    General Description Pin Descriptions Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 34 Panasonic ■ Consideration s for po wer suppl y , cloc k, and reset p ins ■ Connection th e PLL circu it The MN102H75K/85 K contains an internal PLL circuit. T o use this circui t, you must connect it to an external (la[...]

  • Página 36

    General Description Bus Interface MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 35 Panasonic 1.7 Bus Int erface 1.7.1 Descrip tion The b us interface op erates in ex ternal extension mode. Figure 1-15 prov ides the memory space fo r the MCU in this mode. Figure 1-15 M emory Space in Ex ternal Extensi on M[...]

  • Página 37

    General Description Bus Interface Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 36 Panasonic 1.7.2 Bus Interface Control Registe rs The ex t ernal memory wa i t re gister (EXWMD) and memory mode register 1 (MEMMD1) control the bus interf ace. EXWMD: External Memory W ait Regi ster x’00FF8 0’ EW[33: 30],[...]

  • Página 38

    Inter r upts Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 37 Panasonic 2 Inte rrupts 2.1 Des cription The most important f actor in real-time con trol is an MCU’ s speed in servicing interrupt s. The MN102 H75K/85K has an ext remely f ast interrupt respo nse time due to its ability to abort[...]

  • Página 39

    Interrupts Description Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 38 Panasonic Figure 2-2 In terrupt V ector Gro up and Class Assignme nts Group Interrupt V ector Priority Level Register Address Group 0 Group 1 Watchdog timer Group 2 Undefined instruction Group 3 Error interrupt Class 0 00FC42 (R/W) 00FC[...]

  • Página 40

    Inter r upts Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 39 Panasonic Figure 2-3 Inte rrupt Servicing Time T able 2-2 Handl er Prepr ocessing Sequence Assemb ler Bytes Cyc les Push registers add -8,A3 mov A0,(A3) movx D0,(4,A3) 2 2 3 1 2 3 Interrupt ACK mov (FC0E),D0 31 Generate header addre[...]

  • Página 41

    Interrupts Interrupt Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 40 Panasonic 2.2 Interrupt Setup Exampl es 2.2.1 Setting Up an Ex ternal Pin Interr upt In this example, an interru pt occurs on a falling-ed ge signal from the IRQ0 (P00) external interrupt pin, and the interrupt priority lev[...]

  • Página 42

    Inter r upts Interrupt Setup Exa mples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 41 Panasonic 3. Enable interrup ts b y writing a 1 to the interrupt enable flag (IE) in the PSW and setting th e interrupt masking level (IM[2:0]) to 7 (b’111’). No w if a falling ed ge occurs on IRQ0 (P00) , an inter[...]

  • Página 43

    Interrupts Interrupt Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 42 Panasonic 2.2.2 Setting U p a W atchdog T imer Interrup t The watchd og time r int err upt is provided fo r detec ting a nd ha ndling racing. Norm a l ope ra tion is not guarant ee d if t he progr am return s afte r a watc [...]

  • Página 44

    Inter r upts Interrupt Setup Exa mples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 43 Panasonic The main program normally gen- erates and branches to the inter- rupt star t ad dress. If the CPU accepts an interrupt, the program br anches to address x’080008’. The oscillator delay timer shares the co[...]

  • Página 45

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 44 Panasonic 2.3 Interrupt Contr ol Registers A control re gister is as signed to each interr upt vector group. Except for the class 0 reg isters (WDICR, PIICR, and EIICR), the con trol re gisters allo w you to enable and s[...]

  • Página 46

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 45 Panasonic XnICL (System Interrupt) IR: Interrupt requ est flag 0: No interrupt requested 1: Interrupt reques ted ID: Interrupt det ect flag 0: Interru pt undetect ed 1: Interrupt detected The follo wing is an example[...]

  • Página 47

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 46 Panasonic T able 2-4 Interrupt Contr ol Registers Register Address R/W Description IAGR x’00FC0E ’ R Acc epted interr upt gro up number register WDICR x’00FC4 2’ R/W W atchdo g inter rupt co ntrol re gister PIICR[...]

  • Página 48

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 47 Panasonic ADM3ICL ADM3ICH ADM2ICL ADM2ICH ADM1ICL ADM1ICH ADM0ICL ADM0ICH x’00FC78’ x’00FC79’ x’00FC7A’ x’00FC7B’ x’00FC7C’ x’00FC7D’ x’00FC7E’ x’00FC7F’ R/W R/W R/W R/W R/W R/W R/W R/[...]

  • Página 49

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 48 Panasonic IA GR: Accep ted Inte rrupt Group Numb er Re giste r x’00 FC0E ’ IA GR returns the group number of an accepted interru pt, indicated in the 6-bit GN f ield. When the interrupt h andler has to calculates the[...]

  • Página 50

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 49 Panasonic PIICR: Undefin ed Instruction Int err upt Cont rol Register x’00 FC44 ’ PIICR is an 8-bit access re gister . PIID : Undefin ed instruction interrupt d etect flag 0: Interru pt undetect ed 1: Interrupt d[...]

  • Página 51

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 50 Panasonic IQ0ICH: External Interrupt 0 Inte rr upt Control Regis ter (High) x’00 FC49 ’ IQ0ICH sets the priority level for and enables external interrupt 0. It is an 8-bit access register . Use the MO VB instruction [...]

  • Página 52

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 51 Panasonic IQ2ICL: Ex ter nal Interrupt 2 Interrupt Control Register (Lo w) x’ 00FC 50’ IQ2ICL requ ests and v erifies inter rupt requests fo r external interrupt 2. I t is an 8-bit access reg ister . Use the MO V[...]

  • Página 53

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 52 Panasonic IQ3ICH: External Interrupt 3 Inte rr upt Control Regis ter (High) x’00 FC53 ’ IQ3ICH enables ex ternal interrupt 3. It is an 8-bit access re gis ter . Use the MO VB instruction to access it. The priority le[...]

  • Página 54

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 53 Panasonic IQ5ICL: Ex ter nal Interrupt 5 Interrupt Control Register (Lo w) x’00FC5A’ IQ5ICL requ ests and v erifies inter rupt requests fo r external interrupt 5. I t is an 8-bit access reg ister . Use the MO VB [...]

  • Página 55

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 54 Panasonic TM4CBI CH: Timer 4 Compar e/Capture B Interr upt C ontrol Regist er (High) x’00FC61’ TM4CBICH sets the priority le vel for and enables timer 4 compare/capture B interrupts. It is an 8-bit access re gister .[...]

  • Página 56

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 55 Panasonic TM4UDICL: Timer 4 Underfl ow I nterrupt Control Regis ter (Low) x ’00 FC64 ’ TM4UDICL detects and requests timer 4 und erflow interrupts. It is an 8- bit access register . Use the MO VB instruction to a[...]

  • Página 57

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 56 Panasonic VBIICH: VBI (1) Inte rr upt Control Re gister (High ) x’00 FC67 ’ VBIICH enables VBI (1) interru pts. It is an 8-bit access re gi ster . Use the MO VB instruction to access it. The priority level for VBI (1[...]

  • Página 58

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 57 Panasonic TM5CAI CL: Ti mer 5 Compare/ Capture A Interr upt Control Register ( Low) x’ 00FC6A’ TM5CAICL detects and requ ests timer 5 compare/capture interr upts. It is an 8-bit access re gist er . Use the MO V B[...]

  • Página 59

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 58 Panasonic TM5UDICH: Timer 5 Underflo w Interrupt Control Reg i s ter (High) x’00FC6D’ TM5UDICH enables timer 5 underflo w interrupt s. It is an 8-bit access reg- ister . Use the MO VB instruction to acce ss it. The p[...]

  • Página 60

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 59 Panasonic TM2UDICL: Timer 2 Underfl ow I nterrupt Control Regis ter (Low) x ’00 FC70 ’ TM2UDICL re gister detects and request s timer 2 underflo w interrupts. It is an 8-bit access re gist er . Use the MO V B ins[...]

  • Página 61

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 60 Panasonic TM1UDICH: Timer 1 Underflo w Interrupt Control Reg i s ter (High) x ’00F C73 ’ TM1UDICH enables timer 1 underflo w interrupt s. It is an 8-bit access reg- ister . Use the MO VB instruction to acce ss it. Th[...]

  • Página 62

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 61 Panasonic RMCICL: Remo te Sig nal Rece ive Inte rr upt C ontr ol Re gis ter ( Low) x’00 FC76 ’ RMCICL detects and requests remote signal recei ve interrupts. It is an 8- bit access register . Use the MO VB instru[...]

  • Página 63

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 62 Panasonic ADM3ICH: Address 3 Matc h Interrupt Contro l Register (High) x’00 FC79 ’ ADM3ICH sets the prio rit y level for and enables address match 3 in ter- rupts. It is an 8-bit access reg ister . Use the MO VB inst[...]

  • Página 64

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 63 Panasonic ADM1ICL: Address 1 Match Inte rr upt Cont rol Regi ster (Lo w) x’00FC7C’ ADM1ICL detects and requests address match 1 interrupts. It is an 8-bit access register . Use the MO VB instruction to access it.[...]

  • Página 65

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 64 Panasonic ADM0ICH: Address 0 Matc h Interrupt Contro l Register (High) x ’00F C7F’ ADM0ICH enables address match 0 interru pts. It is an 8-bit access regis- ter . Use the MO VB instruction to access it. The priority [...]

  • Página 66

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 65 Panasonic SCT0ICL: Serial 0 T ransmissi on End Interrupt Contro l Regis ter (Lo w) x’00 FC82 ’ SCT0ICL detects and requests serial 0 transmission end interrupts. I t is an 8-bit access register . Use the MO VB in[...]

  • Página 67

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 66 Panasonic SCR0ICH: Serial 0 Reception End Interrupt Control Re gister (High) x ’00F C85’ SCR0ICH enables serial 0 reception end interrupts. It is an 8-bit access register . Use the MO VB instruction to access it. The[...]

  • Página 68

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 67 Panasonic VBIVWICL: VBIVSYNC (2) In terr upt Control Regis ter (Low) x’00FC8A’ VBIVWICL detects and requests VB IVSYNC (2) interrupts. It is an 8-bit access register . Use the MO VB instruction to access it. VBIV[...]

  • Página 69

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 68 Panasonic TM3UDICH: Timer 3 Underflo w Interrupt Control Reg i s ter (High) x’00FC8D’ TM3UDICH enables timer 3 underflo w interrupt s. It is an 8-bit access reg- ister . Use the MO VB instruction to acce ss it. The p[...]

  • Página 70

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 69 Panasonic OSDCICL: OSD (T e xt) Interrupt Con trol Register (Lo w) x’00 FC92 ’ OSDCICL detects and requests OSD (tex t ) interrupts. It is an 8-bit access register . Use the MO VB instruction to access it. OSDCIR[...]

  • Página 71

    Interrupts Interrupt Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 70 Panasonic SCT1ICH: Serial 1 T ransmissio n End Interrupt Control Regist er (High) x’00 FC99 ’ SCT1ICH sets the prio rity le vel for and enab les s erial 1 transmiss ion end interrupts. It is an 8-bit access re gist e[...]

  • Página 72

    Inter r upts Interrupt Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 71 Panasonic I2CICL: I 2 C Inter ru pt Co ntr ol Re gist e r (Low ) x’00FC9C’ I2CICL detects and requests I 2 C interru pts. It is an 8-bit access register . Use the MO VB instruction to access it. I2CIR : I 2 C int[...]

  • Página 73

    Low-Power Modes CPU Mode s Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 72 Panasonic 3 Low-P ower Modes The MN102H75K/85 K provides tw o ways to red uce power cons umption, con- trolling CP U operating an d standb y modes to cu t ov erall consum ption an d shutting d own unused funct ions by sto pp in g th[...]

  • Página 74

    Low-P owe r Mod es CPU Modes MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 73 Panasonic 3.1.2 Exiting from S LO W Mod e to NORMAL Mod e The MN102H75K/85K rec ov ers from pow er up and reset i n SLOW mode. F or nor mal opera- tion, the progr am must s witch the MCU from SLO W to NOR- MAL mode. The MN102H75[...]

  • Página 75

    Low-Power Modes CPU Mode s Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 74 Panasonic 3.1.3 Notes on In v o king and Exitin g ST OP and HAL T Modes ■ When in v oking ST OP and HAL T modes... T o reduce po wer consumpt ion befo re in vo king th e ST O P or HAL T mode, stop current f lo w from output pi ns [...]

  • Página 76

    Low-P owe r Mod es Turning I ndividual Func tions On and Off MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 75 Panasonic 3.2 T urning Individual Functions On and Off Y ou cannot set the PLL function control bit during NORMAL mode . Y ou must set it f rom the SLO W mode. T o turn off the OSD b loc k to sa v[...]

  • Página 77

    Low-Power Modes CPU Cont rol Regist er Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 76 Panasonic 3.3 CPU Control Register CPUM: CPU Mode Control Registe r x’00 FC00 ’ This r egister cont rols the in vo king of all of the CPU mod es. NWDEN: W atchdog timer reset 0: Enable watchdog tim er 1: Disable and [...]

  • Página 78

    Time rs 8-Bit Timer Desc ription MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 77 Panasonic 4T i m e r s 4.1 8-Bit Timer De scripti on The MN102H75K/85 K contains four 8-bit timer s that can serv e as interv al timers, e vent timer/counters, clock generators (divide-by-2 outpu t of the underflo w), refere[...]

  • Página 79

    Timers 8-Bit Timer Fe atures Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 78 Panasonic 4.2 8-Bit Timer Features T able 4-1 8-Bit Timer Functions an d Features Funct ion/Feature Timer 0 Timer 1 Timer 2 Tim er 3 Interrupt request flag(s) TM0UDICL register (TM0UDIR bit) TM1UDICL register (TM1UDIR bit) TM2U DI[...]

  • Página 80

    Time rs 8-Bit Timer Block Diagrams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 79 Panasonic 4.3 8-Bit Ti mer Block Diagrams Figure 4-3 Ti mer 0 Block Dia gram Figure 4-4 Ti mer 1 Block Dia gram (FE10) (FE00) TM0MD (FE20) B OSC /4 B OSC /64 B OSC /412 TM0I pin Multiplexer 0 1 2 3 Timer 0 underflow interr[...]

  • Página 81

    Timers 8-Bit Timer Block Diagrams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 80 Panasonic Figure 4-5 Ti mer 2 Block Dia gram Figure 4-6 Ti mer 3 Block Dia gram (FE12) (FE02) TM2MD (FE22) Timer 2 underflow interrupt 0 1 2 3 Underflow Reload Timer 2 base register TM2BR TM2LD TM2EN TM2S0 TM2S1 Load Count 8 [...]

  • Página 82

    Time rs 8-Bit Timer Timing MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 81 Panasonic 4.4 8-Bit Timer Timing Figure 4-7 Ev ent Timer Input Tim ing (8-Bit Time rs) Figure 4-8 Cloc k Output and Interva l Timer Timin g (8-Bit Timers ) Load value TMnIO input BC value Time Load value TMnIO input 1 TMnIO output[...]

  • Página 83

    Timers 8-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 82 Panasonic 4.5 8-Bit Timer Setup Examples 4.5.1 Setting Up an Event Counte r Using T imer 0 In this example, timer 0 generates an underflow interrupt on the fourth rising edge of the TM0 IO signal. The e vent counter continues[...]

  • Página 84

    Time rs 8-Bit Timer Setup Examples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 83 Panasonic TM0UDICL (e xample) x’00 FC74 ’ TM0UDICH (e xample) x’00 FC75 ’ 4. Set the divide-by ratio for timer 0. Since the ti mer will count 4 TM0IO cycles, write x’03’ to the timer 0 base register (T M0BR). ([...]

  • Página 85

    Timers 8-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 84 Panasonic 4.5.2 Setting Up an Interva l T imer Usin g T ime rs 1 and 2 In this ex ample, timers 1 and 2 are cascaded to di vide B OSC /4 by 60,00 0 and generate an underflo w interrupt . 1. Disable t imer 1 and 2 counting in [...]

  • Página 86

    Time rs 8-Bit Timer Setup Examples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 85 Panasonic TM2UDICH (e xample) x’00 FC71 ’ TM2UDICL (e xample) x’00 FC70 ’ TM1UDICH (e xample) x’00 FC73 ’ TM1UDICL (e xample) x’00 FC72 ’ 3. Set the divide-by ratio for timer 0. Since the ti mer will count [...]

  • Página 87

    Timers 8-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 86 Panasonic TM2MD (e xample) x’00 FE22 ’ In the bank and l inear address- ing v ersions of the MN102 series, it was necessar y to set TM0EN and TM0LD to 0 between steps 4 and 5, to ensure stable oper ation. This is unnecess[...]

  • Página 88

    Time rs 8-Bit Timer Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 87 Panasonic 4.6 8-Bit Timer Control Register s T able 4- 2 sho ws the re gisters used to control the 8-b it timers. A binar y counter (TMnBC), a time base counter (TMnB R), and a timer m ode reg ister (TMnMD) is associate[...]

  • Página 89

    Timers 16-Bit Timer Description Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 88 Panasonic 4.7 16-Bit Timer Description The MN102H75K/85 K contains two 1 6-bit up/d own timers, timers 5 and 6. Associated with each timer are tw o compare/capture registers that can capture and compare the up / do wn counter v[...]

  • Página 90

    Time rs 16-Bit Timer Fe atures MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 89 Panasonic 4.8 16-Bit Timer Features T able 4-3 16-Bit Timer Functio ns and Features Function/Fe ature Timer 4 Timer 5 Interrupt request flag(s) TM4UDIR bit of TM4UDICL TM4CAICL bit of TM4CAIR TM4CBICL bit of TM4CBIR TM5UDIR bi[...]

  • Página 91

    Timers 16-Bit Timer Block Diagrams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 90 Panasonic 4.9 16-Bit Timer Bloc k Diagrams 4.10 16-Bit Timer Timing Figure 4- 15 Timer 4 Blo ck Dia gram Figure 4- 16 Timer 5 Blo ck Dia gram Figure 4-17 Sin gle-Phase PWM Outpu t Timing (16-Bi t Timers) TM4IC pin Timer 0 un[...]

  • Página 92

    Time rs 16- Bit Time r Timing MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 91 Panasonic Figure 4-18 Si ngle-Ph ase PWM Output Timing with Data Chang e (16-Bit Time rs) Figure 4-19 T w o-Phase PWM O utput Timing (16- Bit T imers) Figure 4-2 0 One-Shot Puls e Output Timing (16- Bit Timers) CA TMnIOA TMnOA [...]

  • Página 93

    Timers 16-Bit Timer Timing Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 92 Panasonic Figure 4- 21 Exte rnal Cou nt Direction Cont r ol Timin g (16-Bit Timers) Figure 4 -22 Even t Timer I nput Timing (16-B it Time rs) Figure 4-23 Sin gle-Phase C apture I nput Ti ming (16-B it Time rs) T MnIB T MnIA CA BC va[...]

  • Página 94

    Time rs 16- Bit Time r Timing MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 93 Panasonic Figure 4- 24 T wo-Phase Capture I nput T iming (16-B it Ti mers) Figure 4-25 T wo-Phase 4x Encoder Timing (16-Bit Timers) Figure 4-26 T wo-Phase 1x Encoder Timing (16-Bit Timers) TMnIB TMnIA TMnCA 0033 (Example) 5A87 [...]

  • Página 95

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 94 Panasonic 4.11 16-Bit Timer Setup Examples 4.11.1 Se tting Up an Event Counte r Using T imer 4 In this example, timer 4 coun ts the TM4IB input sig nal (B OSC /4 = 6 MHz or less) and generat es an interrup t on the second an[...]

  • Página 96

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 95 Panasonic TM4CA (e xample) x’00 FE84 ’ 3. Set the phase dif ference for timer 4. For a 2- cycle phase differen ce, write x’0001’ to timer 4 compare/capture re gi ster B (TM4CB). (The v alid range is -1 ≤ TM 4C[...]

  • Página 97

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 96 Panasonic 4.11.2 Se tting Up a Sing le-Phase PWM O u tput Sig nal Using Ti me r 4 In this example, timer 4 is used to divide B OSC by 5 a nd generate a f iv e-cycle, single-phase PWM signal. The duty of this signal is 2:3. T[...]

  • Página 98

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 97 Panasonic P2DIR (e xample) x’00FFE 2’ ■ T o set up time r 4: Use the MO V instruction for t his setup and only use 16-bit write operations . This step stops the TM4BC count and clears both TM 4BC and the S-R flip-[...]

  • Página 99

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 98 Panasonic 6. Set the TM4NLD b it o f the TM4MD register to 1 and the TM4EN bit to 0 . This enables TM4BC and the S-R flip-flop. This step ensures stable opera- tion. If it is omitted, the binary co un ter may not count the f[...]

  • Página 100

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 99 Panasonic Figur e 4-30 be lo w sho ws the ou tput w av eforms for TM4O A. Both A and B interrupts can occur, b ut B interrupts can only occur if the TM4CB setting is from 0 to less than TM4C A . This is because when TM4[...]

  • Página 101

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 100 Panasonic T wo potential types of error s are inheren t with PWM output. First, becau se of the circuit conf iguration, direction errors can occur . The output circuit is conf igured with T flip-flops, so that even if one t[...]

  • Página 102

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 101 Panasonic 4.11.3 Se tting Up a T wo-Ph ase PWM Output Sign al Using Ti me r 4 In this e xample, timer 4 i s used to di vide timer 0 underf low by 5 and generate a fi ve- cycle, tw o-pha se PWM signal . The phase di f f[...]

  • Página 103

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 102 Panasonic P2DIR (e xample) x’00FFE 2’ ■ T o set up time r 0: 1. Disable timer 0 counting i n the timer 0 mode re gister (TM0MD). This step is unnecessary immediately after a reset, si nce TM0MD resets to 0. TM0MD (e x[...]

  • Página 104

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 103 Panasonic ■ T o set up time r 4: Use the MO V instruction for t his setup and only use 16-bit write operations . This step stops the TM4BC count and clears both TM 4BC and the S-R flip-flop to 0. 1. Set the op eratin[...]

  • Página 105

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 104 Panasonic 6. Set the TM4NLD b it o f the TM4MD register to 1 and the TM4EN bit to 0 . This enables TM4BC and the S-R flip-flop. This step ensures stable opera- tion. If it is omitted, the binary co un ter may not count the [...]

  • Página 106

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 105 Panasonic W ith PWM output, the duty cycle can change dynam ically , which can cause the PWM wa veform t o skip a pu lse (see the single b uffer ing section of f igure 4-34 belo w). T o pre v ent these misses, timers 4[...]

  • Página 107

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 106 Panasonic 4.11.4 Se tting Up a Sing le-Phase Cap ture Input Usin g T imer 4 In this example, timer 4 is used to divide B OSC /4 by 6 5,536 and measure ho w long the TM4IA inp ut signal stays high . An interr upt occur s on [...]

  • Página 108

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 107 Panasonic change an y other operat ing modes during this st ep. When TM4MD[1:0] = b’10’ (dur- ing capture), TM4CA and TM4CB become read-only reg is- ters. T o write to TM4CA or TM4C B, you mus t fi rst s et TM4MD[1[...]

  • Página 109

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 108 Panasonic 4.11.5 Se tting Up a T wo-Ph ase Capture Inp ut Using Tim er 4 In this e xample, timer 4 i s used to di vide the timer 0 u nderflo w by 65,536 and measure the numbe r of cy cles from the rising edge of the T M 4IA[...]

  • Página 110

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 109 Panasonic TM0BR (e xample) x’00 FE10 ’ Do not change the cloc k source once you select it. Sel ecting the clock source while you set up the count operati on control will corrupt the value in the binar y counter . 3[...]

  • Página 111

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 110 Panasonic ■ T o service the inte rr upts and calculate the signal w idth: 1. Run the interrup t service routine. The routine mu st determine the int errupt group, then clear th e interrupt request flag. Ignore the flags w[...]

  • Página 112

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 111 Panasonic 4.11.6 Se tting Up a 4x T wo-Phase Encod er Input Using T imer 5 In this ex ample, timer 5 inputs a 4 x two-phase en coded signal that makes it count up and do wn. An interrupt occurs when the counter reaches[...]

  • Página 113

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 112 Panasonic ■ T o set up time r 5: Use the MO V instruction for t his setup and only use 16-bit write operations . This step stops the TM5BC count and clears both TM 5BC and the S-R flip-flop to 0. 1. Set the operating mode[...]

  • Página 114

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 113 Panasonic ■ T o service the inte rr upts: Run the interrupt s ervice routine. The routi ne must determine the in terrupt group, then clear the interru pt request flag. T imer 5 can input a two-phase encoder s ig nal.[...]

  • Página 115

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 114 Panasonic 4.11.7 Setting Up a 1x T w o-Phase Encoder Input U s i n g Ti m e r 5 In this ex ample, timer 5 inputs a 1 x two-phase en coded signal that makes it count up and do wn. An interrupt occurs when the counter reaches[...]

  • Página 116

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 115 Panasonic ■ T o set up time r 5: Use the MO V instruction for t his setup and only use 16-bit write operations . This step stops the TM5BC count and clears both TM 5BC and the S-R flip-flop to 0. 1. Set the operating[...]

  • Página 117

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 116 Panasonic ■ T o service the inte rr upts: Run the interrupt s ervice routine. The routi ne must determine the in terrupt group, then clear the interru pt request flag. T imer 5 can input a two-phase encoder s ig nal. T im[...]

  • Página 118

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 117 Panasonic 4.11.8 Se tting Up a On e-Shot Pulse Ou tput Using Timer 5 In this e xample, timer 5 o u tputs a one-shot puls e. The pulse width is tw o clock cycles. ■ T o set up the o utput por t: Set the P4MD2 bit of t[...]

  • Página 119

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 118 Panasonic ■ T o set up time r 5: Use the MO V instruction for t his setup and only use 16-bit write operations . This step stops the TM5BC count and clears both TM 5BC and the S-R flip-flop to 0. 1. Set the operating mode[...]

  • Página 120

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 119 Panasonic T imer 5 can output a one-shot pul se. T imer 5 do es not o per ate in STOP m od e, when B OSC is o ff. If you use an e xternal clock, it mus t be synchro nized to B OSC . Figur e 4-48 sho ws an e xample timi[...]

  • Página 121

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 120 Panasonic 4.11.9 Se tting Up an Extern al Coun t Direction Contr oller Using T im er 5 In this ex ample, timer 5 counts B OSC /4 an d the TM5IA pin con trols the count direction (up o r down). An in terrupt occurs w hen the[...]

  • Página 122

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 121 Panasonic ■ T o set up time r 5: Use the MO V instruction for t his setup and only use 16-bit write operations . This step stops the TM5BC count and clears both TM 5BC and the S-R flip-flop to 0. 1. Set the operating[...]

  • Página 123

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 122 Panasonic ■ T o service the inte rr upts: Run the interrupt s ervice routine. The routi ne must determine the in terrupt group, then clear the interru pt request flag. Either the TM5IA or TM5IB signal can contr ol the tim[...]

  • Página 124

    Time rs 16-Bit Timer Setup Ex ample s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 123 Panasonic 4.11.10 Setting Up External Reset Control U sing T imer 5 In this example, timer 5 is reset by an e xternal signal while countin g up. ■ T o set up time r 5: Use the MO V instruction to set this data and on[...]

  • Página 125

    Timers 16-Bit Timer Setup Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 124 Panasonic TM5CA (e xample) x’00 FE94 ’ 3. Set the TM5NLD b it o f the TM5MD register to 1 and the TM5EN bit to 0 . This enables TM5BC and the S-R flip-flop. This step ensures stable opera- tion. If it is omitted, the bi[...]

  • Página 126

    Time rs 16-Bit Timer Con tr o l Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 125 Panasonic 4.12 16-Bi t Time r Control Registers T able 4-6 sho ws the re gisters used to control th e 16-bit timers. A binary counter (TMnBC), a compare/captu re re gister A (TMnCA), a compare/capture re gister B ([...]

  • Página 127

    Timers 16-Bit Timer Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 126 Panasonic TM4MD/TM5M D: Time r n Mode Register x’00F E80’/x’00FE90’ TMnEN: TMnBC coun t 0: Disa ble 1: Enable TMnNLD: TM nBC, T flip-flop , and S-R flip-flop operation sel ect 0: Set all to 0 (in itialize) 1: Ope[...]

  • Página 128

    Serial Interfaces Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 127 Panasonic 5 Serial Interfaces 5.1 Des cription The MN102H75K/85 K contains two g eneral-pur pose serial interfaces with syn- chronous serial, U AR T , and I 2 C modes . The m aximum bau d rate in sy nchronous serial mode i s 1[...]

  • Página 129

    Serial Interfaces Connecting the Serial Interfaces Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 128 Panasonic 5.3 Connecting the Serial Interfaces Figures 5-2, 5-3, and 5 -4 illustrate six different methods of connectin g the serial interface. 5.3.1 Synchronous S erial Mode Co nnections See section 11, “[...]

  • Página 130

    Serial Interfaces UART Mode Baud Ra tes MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 129 Panasonic 5.4 U AR T Mode Baud Rates In U AR T mode, the serial inter face transfer clock is set to 16 times the baud r ate clock. The e xpression belo w is the formula for calculating the baud rate for the U AR T mo[...]

  • Página 131

    Serial Interfaces Serial Interfac e Timing Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 130 Panasonic 5.5.2 U ART Mode Timing In these timing charts, the character leng th is 8 bits, the parity is none, and the stop bit is 2-b it. Figure 5-6 Synchr onous Serial Rec eption Timing Figure 5-7 U ART T rans mis[...]

  • Página 132

    Serial Interfaces Serial Inter face Setup Examples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 131 Panasonic 5.6 Seri al Inte rfac e Setup Ex ample s 5.6.1 Setting U p U ART T rans mission U sing Seria l Interface 0 Y ou must use an 8-bit timer to set the tr ansfer cloc k. See sec- tion 5.6.3, “Settin[...]

  • Página 133

    Serial Interfaces Ser ial In terfac e Se tup Ex amples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 132 Panasonic ■ T o set up seria l interface 0: 1. Conf igure the trans mission settings in the serial port 0 contro l re gister (SC0CTR). Since the tran sfer clock is ti mer 0 di vided by 8, select timer [...]

  • Página 134

    Serial Interfaces Serial Inter face Setup Examples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 133 Panasonic ■ T ransmiss ion sequenc e: 1. Writ e the first data byte to SC0T RB . Once this data is in the register , trans - missio n be gins, syn chronized to t imer 0. 2. When an interrupt o ccurs, the[...]

  • Página 135

    Serial Interfaces Ser ial In terfac e Se tup Ex amples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 134 Panasonic 5.6.2 Setting Up Synchr onous Serial Re ception U sing Serial Interface 0 This e xample illustrates serial reception in the synchr onous serial mode with the following settings : ♦ LSB fi rst[...]

  • Página 136

    Serial Interfaces Serial Inter face Setup Examples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 135 Panasonic 5.6.3 Setting Up the Ser ial Interface Clock This e x ample demonstrates ho w to set up a 19,2 00 bps transfer clock for the U AR T interface by using timer 1 t o di vide B OSC /4 by 39 . The exa[...]

  • Página 137

    Serial Interfaces Ser ial In terfac e Se tup Ex amples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 136 Panasonic Do not change the cloc k source once you select it. Sel ecting the clock source while you set up the count operati on control will corrupt the value in the binar y counter . 3. Set the TM1LD b [...]

  • Página 138

    Serial Interfaces Serial Inter face Setup Examples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 137 Panasonic 5.6.4 Setting U p I 2 C T ran smissio n Using Serial Inte rface 0 This example illustrates the microco ntroller as a master transmitter in the I 2 C mode, usin g the SBO0 and SBT0 pins. ■ T o s[...]

  • Página 139

    Serial Interfaces Ser ial In terfac e Se tup Ex amples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 138 Panasonic Reception must be enabled f or the circuit to det ect a stop sequence. 2. When you per form step 1, the SBT0 outpu t signal g oes high. On e cycle lat er , the SB O0 output s ignal also goes hi[...]

  • Página 140

    Serial Interfaces Serial Inter face Setup Examples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 139 Panasonic 5.6.5 Setting U p I 2 C R eception Usin g Serial Interface 0 This e xample illustrates the microcontroller as a master recei ver in the I 2 C mode, using th e SBO 0 and S BT0 pin s. When initiati[...]

  • Página 141

    Serial Interfaces Ser ial In terfac e Co ntrol Regist ers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 140 Panasonic 5.7 Serial I nterf ace Con tr ol Regi sters Three reg isters control each of the serial interfaces: the serial port control reg ister (SCnCTR), the serial transmit/receiv e bu ffer (SCnTRB),[...]

  • Página 142

    Serial Interfaces Serial Interface Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 141 Panasonic SCnICM: Ser ial por t n I 2 C mode sel ect 0: I 2 C mo de off 1: I 2 C mo de on SCnLN: Se r ial por t n char acter length 0: 7-bi t 1: 8- bit SCnPTY[2: 0]: Serial port n parity bit sele ct 000:[...]

  • Página 143

    Serial Interfaces Ser ial In terfac e Co ntrol Regist ers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 142 Panasonic SC0STR/SC1STR: Ser ial P or t n Status R e gister x’00FD83’/x ’00FD8B’ SCnSTR contains the error d etection and status flags for the serial inter- faces. SCnTBY : Serial por t n tran[...]

  • Página 144

    Analog-to- Digital Converter Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 143 Panasonic 6 Analo g-to-Dig ital C on ver ter 6.1 Des cription The MN102H75K/85 K contains an 8-bit charge redistrib ution A/D c o nv erter (ADC) that can process up to 12 channels. The reference clock is selectable [...]

  • Página 145

    Analog-to-Digital Converter Bloc k Diag ram Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 144 Panasonic 6.3 Block Diagram 6.4 A/D Con version Timing 6.4.1 Selecting the AD C Clock Source Calculate the A/D con version time as follo ws: con versi on time (s ) = [12 (c ycles) × (B OSC cycle) (s) × di vide-b [...]

  • Página 146

    Analog-to- Digital Converter A/D Conver sion Timing MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 145 Panasonic 6.4.2 Single Channe l/Single Co n version T imin g When ANMD[1:0] = b’00’, th e ADC con verts one ADIN input signal a single time. An interrupt o ccurs when the con ver s ion ends. Load the [...]

  • Página 147

    Analog-to-Digital Converter A/D Conversion Timing Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 146 Panasonic 6.4.4 Single Channe l/Contin uous Con version T iming When ANMD[1:0] = b’10’, th e ADC con verts one ADIN input signal contin- uously . An interrupt occurs each time the con version ends. Load t[...]

  • Página 148

    Analog-to- Digital Converter ADC Setup Ex amples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 147 Panasonic 6.5 ADC Set up Examples 6.5.1 Setting Up Softw are -Controlled Single-Channel A/D Con version This example illustrates si ng le-channel con version controlled by the software. The ADIN6 pin inputs [...]

  • Página 149

    Analog-to-Digital Converter ADC Setup Exam ples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 148 Panasonic AN6BUF (e x ample) x’00FF1 4’ 6.5.2 Setting Up Hardware- Controlled Interm ittent Th ree-Channel A/D Con v ersion This example illustrates multip le-channel conv ersion controlled by the hardware.[...]

  • Página 150

    Analog-to- Digital Converter ADC Setup Ex amples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 149 Panasonic ■ T o set up the i nput por t: Set the P0DIR[5:3] bi ts of the port 0 I/O cont rol register (P0DIR) to 0. This sets the ADIN2 (P05), ADIN1 (P04 ), and ADIN0 (P03) pins (P11) to general-purpo se i[...]

  • Página 151

    Analog-to-Digital Converter ADC Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 150 Panasonic 6.6 ADC Cont r ol Re gisters The ADC contains thirteen re gisters— one control re gister (ANCTR) and twelv e data b u ffers (each associated with one of t he ADIN pins). ANCTR controls the operati[...]

  • Página 152

    Analog-to- Digital Converter ADC Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 151 Panasonic ANCTR: ADC Control Register x’00FF0 0’ ANNCH[3:0]: Channel select f o r multiple-channel conv ersion 0000 : Con ver t ADIN0 01 11 : Con ver t ADIN0 – ADIN7 0001: Con vert ADIN0 – ADIN1 10[...]

  • Página 153

    Analog-to-Digital Converter Cautions abo ut Analog-to-Digita l Converter Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 152 Panasonic 6.7 Cautions about Analog-to-Digital Con ver ter The type of th is Analog-to-Digital Con verter is a sample-hold one, and so the current tempor aril y flo ws in con version to[...]

  • Página 154

    On-Screen Display Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 153 Panasonic 7 On-Screen Displa y If you use the OSD function, the DMA function ex ecutes for both the te xt and graphics la yers, e ven if y our program does not use one of these la yers . T o pre- v ent error , progr am data f [...]

  • Página 155

    On-Screen Display Bloc k Diag ram Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 154 Panasonic 7.3 Block Diagram Figure 7-1 O SD Block Diagram VSYNC Vertical position counter 10-bit VPOL OSD HSYNC HPOL CANH Field detector EOMON EOSEL OSDXI,O OSCSEL1,0 OSC1,2 4 MHz 48 MHz PLL R/W R/W SYSCLK CPU System clock I[...]

  • Página 156

    On-Screen Display Power-Saving Considerations in the OSD Blo ck MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 155 Panasonic 7.4 P ower -Saving Considerations in the OSD Bloc k T able 7-2 sho ws bits that can decrease the power consumption of the OSD block. This section e xplains ho w to use these bits. OS[...]

  • Página 157

    On-Screen Display OSD O per ation Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 156 Panasonic 7.5 OSD Operation This sect ion descr ibes the basic operation of the OSD block. The remainder of section 7 pro v i des more det ai le d specif ications. 7.5.1 OSD C lock The OSD clock source is pro grammable to ei[...]

  • Página 158

    On-Screen Display OSD Opera tion MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 157 Panasonic ■ Graphi cs la yer The graphics layer contains tiled images. In the 16-color mode, each 4-bit dot on a tile can display one of 16 colo rs. Each tile can use either of two av ailable co lor palettes, allowing a t[...]

  • Página 159

    On-Screen Display OSD O per ation Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 158 Panasonic 7.5.7 Conditions for VR A M Writes ■ T ext layer Set CHP , CV P , GHP , and GVP f or ev er y line in the VRAM. If you do not, a soft ware processing error may occur . 1. The lead data for each line must be the co[...]

  • Página 160

    On-Screen Display Standa rd and Exten ded Display Mode s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 159 Panasonic 7.6 Standard and Extended Di spla y Modes T wo modes are a v ailable for the graph ics and cursor layers, standard and e xtended. I n ext ended mode, t he cursor layer can display four grou[...]

  • Página 161

    On-Screen Display Standard and Extend ed Display Mode s Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 160 Panasonic In standard mode, STC 0 is the only cursor tile co de register that is enabled. Use the cursor horizontal p os ition register (SHP , x’00 F12’) and the cursor vertical position register (S[...]

  • Página 162

    On-Screen Display Display Setup Examples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 161 Panasonic 7.7 Display Setup Examples 7.7.1 Setting Up the Gr aphics Layer This sect ion sho ws ho w to set up the graphi cs displa y data in t he VRAM. ■ Register settings RAMEND (x’0 07F04’) = x’80FF’ (Gr[...]

  • Página 163

    On-Screen Display Display Setu p Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 162 Panasonic Figure 7 -4 Graph ics Displ ay Example Line 1 HSZ= 1 (2x) VP = x'3' VSZ = 3 (6x) HSZ = 0 (1x) Repeated tile Line 2 HP = x'4' VP = x'58' VP = x'40' VSZ = 0 (1x) GTC = [...]

  • Página 164

    On-Screen Display Display Setup Examples MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 163 Panasonic 7.7.2 Setting Up the T ext Layer This section sh ows ho w to set up the text display data in th e VRAM. ■ Register settings RAMEND (x’0 07F04’) = x’80FF’ (T ext RAM en d address: x’9FFF’ ) CI[...]

  • Página 165

    On-Screen Display Display Setu p Examples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 164 Panasonic The te xt displa y starts one dot to the right of the HP setting. Figure 7-5 T ext Display Exampl e Line 1 HSZ = 2 (3x) VP = x'3' VSZ = 3 (6x) HSZ=0 (1x) Line 2 HP = x'4' VP = x'70&[...]

  • Página 166

    On-Screen Display VRAM MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 165 Panasonic 7.8 VRAM 7.8. 1 VRAM Op erat ion ■ T ext Layer CC: Charac ter Code ID Code: 00 CCH[9:0] Specifi es the address of one o f 1024 characters stored in the R OM. COL: Color Control Code (Norm al Mo de) ID Code: 10 BSHAD[1:0] [...]

  • Página 167

    On-Screen Display VRAM Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 166 Panasonic BLINK Specifies character blink i ng. 0: Disa ble 1: Enable BCOL[3:0] Specifi es the backgroun d color (1 of 16 colors). CCOL[3 :0] Specifi es the fore ground (character) color ( 1 of 16 colors). COL: Color Control Co de (Clo[...]

  • Página 168

    On-Screen Display VRAM MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 167 Panasonic CHP: Char acter Horizontal P osition Control Code ID Code: 1 1 CHSZ[1:0] Specifies the H size of the characters on the ne xt line. 00: 1 dot = 1 VCLK peri od 01: 1 dot = 2 VCLK peri ods 10: 1 dot = 3 VCLK peri ods 11: 1 dot[...]

  • Página 169

    On-Screen Display VRAM Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 168 Panasonic GCB[3:0] Specif i es the number o f times (up to 16) a blank or graphi c ti le is repeated. GPRT Specifies grap hics color palette 1 or 2. 0: Palette 1 1: Palette 2 GTC[8:0 ] Specifies the ad dress of one of 51 2 graphic tile[...]

  • Página 170

    On-Screen Display VRAM MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 169 Panasonic 7.8.2 VRAM Organiz ation Notes: 1. All addresses are expressed i n hex notation. Other values are deci mal. 2. G RAMEND: Graph i cs RAM end address (programma ble to any address) 3. CRAME ND: T ext RAM end address (programm[...]

  • Página 171

    On-Screen Display VRAM Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 170 Panasonic A. GE XTE = 1 B. GE XTE = 0 Figure 7-7 Graphic s VRAM Organ ization for T w o Modes GRAMEND − 3F GRAMEND − 3E GRAMEND − 3D GRAMEND − 3C GRAMEND − 3B GRAMEND − 3A GRAMEND − 2F GRAMEND − 2E GRAMEND − 3 GRAMEND[...]

  • Página 172

    On-Screen Display VRAM MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 171 Panasonic 7.8.3 Cautions ab out the number of display code set to VRA M When the display lines are adjoine d or over lapped, and the number of the ab ove display cod e is extremely fe wer than that o f the below one, f irst line o f [...]

  • Página 173

    On-Screen Display ROM Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 172 Panasonic 7.9 ROM 7.9.1 R OM Or ganizatio n Notes: 1. All addresses are expressed i n hex notation. Other values are deci mal. 2. G R OME ND: Graphics ROM end addre ss (programm able to any address) 3. CROMEND: T ext R OM en d address ([...]

  • Página 174

    On-Screen Display ROM MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 173 Panasonic 7.9.2 Graph ics ROM Organ izatio n in Different Color Modes The graphics layer supports up to sixteen colors, in the 16-color m ode, b u t also supports 2-, 4- , and 8-color modes. The smaller the n umber of colors, the less[...]

  • Página 175

    On-Screen Display ROM Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 174 Panasonic Figure 7-11 G raphics R OM in the Four Color Mode s (16W x 16H Tiles) ROMEND − 80 × N + 1 ROMEND − 180 ROMEND − 160 ROMEND − 140 ROMEND − 120 ROMEND − 100 ROMEND − E0 ROMEND − C0 ROMEND − A0 ROMEND − 80 RO[...]

  • Página 176

    On-Screen Display ROM MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 175 Panasonic Figure 7-12 G raphics R OM in the Four Color Mode s (16W x 18H Tiles) ROMEND − 90 × N + 1 ROMEND − 1B0 ROMEND − 18C ROMEND − 168 ROMEND − 144 ROMEND − 120 ROMEND − FC ROMEND − D8 ROMEND − B4 ROMEND − 90 [...]

  • Página 177

    On-Screen Display ROM Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 176 Panasonic Figure 7- 13 Graphics ROM Or ganization in 16-Color Mode (16W x 16H Tiles) Figure 7-14 G raphics R OM Or ganization in 8-Colo r Mode (16W x 16H Tile s) Figure 7-15 G raphics R OM Or ganization in 4-Colo r Mode (16W x 16H Tile [...]

  • Página 178

    On-Screen Display ROM MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 177 Panasonic Figure 7- 17 Graphics ROM Or ganization in 16-Color Mode (16W x 18H Tiles) Figure 7-18 G raphics R OM Or ganization in 8-Colo r Mode (16W x 18H Tile s) Figure 7-19 G raphics R OM Or ganization in 4-Colo r Mode (16W x 18H Til[...]

  • Página 179

    On-Screen Display Setting Up the OSD Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 178 Panasonic 7.10 S etting Up t he OSD 7.10.1 Se tting Up the OS D Display Colo rs This section des cribes how to set up the display colors for the OSD. ■ T o set up the c olor palettes: Write your settings to the color pa[...]

  • Página 180

    On-Screen Display Setting Up the OSD MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 179 Panasonic ■ T o set up the te xt displa y colors: Write to the fields described below . ♦ CCOL[3:0] (CO L bits 3 to 0 in the RA M data) sets the color of t he charac- ter . This v a lue is in refe rence to the se le[...]

  • Página 181

    On-Screen Display Setting Up the OSD Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 180 Panasonic T r anslucency Selecting YS palette output, by setting the YSPL T bit of OSD1 (x’007F06’) to 1, disab les the PR YM bit. With this setting, you must also set the TRPT and TRPTF bits to 1. Y ou ca n specify t[...]

  • Página 182

    On-Screen Display Setting Up the OSD MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 181 Panasonic T able 7-9 RGB, YM, and YS Output Contr ol Settings YSPL T PR YM TPRT TR PTF RGB Y M YS Wavef o rm in figure 7-21 0 0 0 0 C o lor pal et tes 0 and F output low Col or palette s 0 and F output low Color palette[...]

  • Página 183

    On-Screen Display Setting Up the OSD Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 182 Panasonic Figure 7-21 OSD Signal W ave form TV Graphics la yer Color palette 1 (YM3 = 1, YM2 = 0, YM1 = 0, YM0 = 1) Color palette 0 (YM3 = 0, YM2 = 0, YM1 = 0, YM0 = 1) Color palette 2 (YM3 = 0, YM2 = 0, YM1 = 0, YM0 = 0)[...]

  • Página 184

    On-Screen Display Setting Up the OSD MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 183 Panasonic Figure 7-22 OSD Sig nal Output Switches *** YM3 Bit 15 *** R 1 1 *** R 2 2 *** R 3 3 *** G0 4 *** G 1 5 *** G 2 6 *** G 3 7 *** B 0 8 *** B1 9 *** B 2 1 0 *** B 3 11 *** YM 0 1 2 *** YM 1 1 3 *** YM 2 1 4 *** [...]

  • Página 185

    On-Screen Display Setting Up the OSD Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 184 Panasonic 7.10.2 T ext Layer F unctions This section describes the cha r acter enhancement functions av ailable in the te xt layer . ■ Outlining In both no rmal and closed-capti on mode s, writin g a 1 to bit 9 (FRAME) [...]

  • Página 186

    On-Screen Display Setting Up the OSD MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 185 Panasonic ■ Bo x shadowing In normal mode, writing a 1 to b it 12 (BSHAD1) o f the COL s etting in the VRAM causes a box shado w to appear around all ch aracters follo wing that COL. If COL bit 11 (BSHAD0) is 0, the c[...]

  • Página 187

    On-Screen Display Setting Up the OSD Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 186 Panasonic ■ Italicizin g In closed-caption mod e, writ ing a 1 to bit 10 (IT ALIC) of the COL settin g in the VRAM italicizes all characters follo wing that COL. Figure 7 -26 sho ws an examp le of an italicized characte[...]

  • Página 188

    On-Screen Display Setting Up the OSD MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 187 Panasonic 7.10.3 D isplay Sizes ■ Graphic ti le siz es The settings shown are f or interlaced displays . In progressiv e displays, the v er tical size set t ings (GVS Z[1:0 ]) are as fol lows: 01 = 1x, 10 = 2x, and 11[...]

  • Página 189

    On-Screen Display Setting Up the OSD Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 188 Panasonic ■ Characte r sizes The settings sho wn are for interlaced displa ys. In progressiv e displays, the vertical size settings (CVSZ[1:0]) are as f ollows: 01 = 1x, 10 = 2x, and 11 = 3x. The 00 setting is re ser ve[...]

  • Página 190

    On-Screen Display Setting Up the OSD MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 189 Panasonic 7.10.4 Se tting Up the OS D Display P osition This sect ion descr ibes how t o control th e positioning of the OSD. ■ T o set up the h orizontal position: Cursor ♦ Write the horizontal position of the curs[...]

  • Página 191

    On-Screen Display Setting Up the OSD Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 190 Panasonic ■ T o set up the v er tical position: Cursor ♦ Write the vertical position of the cursor to th e SVP[9 :0] field (x’007F14 ’). ♦ V alid range: x’3F0 ’ − (no . of H scan lines) ≥ SHP ≥ x’03?[...]

  • Página 192

    On-Screen Display DMA and Inte rrupt Timing MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 191 Panasonic 7.11 DMA and Interrupt Timing This sect ion descr ibes how t he MN102H75K/8 5 K handles the timing of direct memory access (DMA) transfers of OSD data and OSD interrupts. ■ DMA If you use the OSD func[...]

  • Página 193

    On-Screen Display DMA and Inte rrupt Timing Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 192 Panasonic Figure 7-30 DMA an d Interrupt Timing f or the OSD Text DMA Text interrupt Graphics interrupt 12Ts 4nTs 5Ts 4nTs Scan line 1 Television Screen Graphics DMA Graphics interrupt Line G1 Graphics DMA Text DMA[...]

  • Página 194

    On-Screen Display Selecting the OSD Dot Clock MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 193 Panasonic 7.12 Selecting the O SD Dot Cloc k This sect ion descr ibes how t o set up t he OSD dot clo ck. ■ Selecting th e cloc k source The source for the OSD dot clock is pro grammable to either the 4-MHz c[...]

  • Página 195

    On-Screen Display Controlling the Shuttering Effect Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 194 Panasonic 7.13 Contr olling the Shuttering Effect The MN102H75K/ 85K OSD ach ie ves a sh uttering effect using four pro - grammable shutters — two vertical and tw o h orizo ntal. W ith this feature, you c[...]

  • Página 196

    On-Screen Display Controlling the Shu t tering Effect MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 195 Panasonic Figure 7-3 1 Shuttered Area Se tup Examples HSHT0 VSHT1 VSHT0 HSHT1 VSON0 = VSON1 = 1: V shutters 0 and 1 on HSON0 = HSON1 = 1: H shutters 0 and 1 on VSP0 = 0: V shutter 0 shutters below VSP1 [...]

  • Página 197

    On-Screen Display Controlling the Shuttering Effect Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 196 Panasonic 7.13.2 Co ntrolling Shu tter Mov ement Enabling the shu tter mo vement function in t he re gisters allo ws the shuttered area to e xpand or co ntract ov er time, producing a wipe-in or wipe-out ef[...]

  • Página 198

    On-Screen Display Controlling the Shu t tering Effect MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 197 Panasonic Figure 7- 32 Shutter Mo vement Setup Ex amples T elevision screen VSM0 = 1: V shutter 0 movement enabled VSM1 = 0: V shutter 1 movement disabled HSM0 = HSM1 = 1: Movement enabled for H shutter[...]

  • Página 199

    On-Screen Display Controlling the Shuttering Effect Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 198 Panasonic 7.13.3 Co ntrolling Shutterin g Ef fects Through register set tings, you can inde pendently control shuttering f or text, te xt backgroun d, graphics, and col or backgroun d. Y ou can also out put[...]

  • Página 200

    On-Screen Display Controlling the Shu t tering Effect MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 199 Panasonic ■ T o shutter the co lor backgr ound: Set the color backg rou nd shut ter con trol bit, COLBSHT , of the shutter cont rol re gister , SHTC (x’00 7F28’) to 1. This fu nction e xists only [...]

  • Página 201

    On-Screen Display Controlling the Shuttering Effect Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 200 Panasonic 7.13.4 Co ntrolling Line S huttering It is po ssible to cancel s huttering of i ndi vidual lin es on the te xt and graphics layers s o that they will be displaye d on both shut tered and non-shutt[...]

  • Página 202

    On-Screen Display Field Detection Circuit MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 201 Panasonic 7.14 Field Detection Cir cuit 7.14.1 Block Diagr am 7.14.2 D escription The 7-bit field counter in this block reset s e very HSYNC interval to count the system clock. At each VSYNC interval, the 4 MSBs of[...]

  • Página 203

    On-Screen Display Field Detection Circuit Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 202 Panasonic 7.14.3 Co nsiderations for I nterlaced Displays ■ Switch ing the displ ay start field The OSD is constructed so the display start p osition is the field (f ield 1) where the EOMON bit is 1. Ho wev er , in[...]

  • Página 204

    On-Screen Display OSD Regis ters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 203 Panasonic 7.15 OSD Re gisters All registers in OSD block canno t be written by byte (by word only). Read by byte is poss ible. CROMEND: T e xt RO M End Add ress Register x’00 7F00’ A[17:8] holds the programmabl e portio[...]

  • Página 205

    On-Screen Display OSD Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 204 Panasonic is x’900F ’ to x’9FFF ’, with a programmable range from x’00’ to x’FF’. STC0: Cursor Tile Code Register 0 x’00 7F10’ SPR T0: Cursor 0 color palette select 0: Graphics color palette 1 1: Graphics c[...]

  • Página 206

    On-Screen Display OSD Regis ters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 205 Panasonic STC3: Cursor Tile Code Register 3 x’007E2E’ SPR T3: Cursor 3 color palette select 0: Graphics color palette 1 1: Graphics color palette 2 STC3[8:0]: Cu rsor 3 Tile Code Use the same R OM data as that used for [...]

  • Página 207

    On-Screen Display OSD Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 206 Panasonic 00: 1 dot = 1 VCLK peri od 01: 1 dot = 2 VCLK peri ods 10: 1 dot = 3 VCLK peri ods 11: 1 dot = 4 VCLK peri ods GISHT : Graphic s initia l shutter control 0: Shutter control on 1: Shutter control of f GIHP[9:0]: G rap[...]

  • Página 208

    On-Screen Display OSD Regis ters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 207 Panasonic CIVSZ[1:0]: T ext initial v er tical siz e CIVP[9:0] : T ext initial v er tical pos ition EV OD: Displa y Sta r t Field Co ntrol Reg ister x’0 07F0E’ EOSEL: Ev en/odd fie ld select 0: Select the smaller counte[...]

  • Página 209

    On-Screen Display OSD Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 208 Panasonic OSD1: OSD Regi ster 1 x’00 7F06’ A write to the OS D bit of OSD1 takes eff ect on the ne xt leading edge of VSYNC. If y ou are turning the OSD on, the OSD star ts operating on the next VSYNC after the program wri[...]

  • Página 210

    On-Screen Display OSD Regis ters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 209 Panasonic OSD2: OSD Regi ster 2 x’007F0 8’ SPEXT: Cursor ex tended mode selec t 0: Standar d mode (16 x 16 pixel s ) 1: E xt end ed mo de (3 2 x 32 pixe ls) GTHT : Graphi c tile height select 0: 16 pix els high 1: 18 pi[...]

  • Página 211

    On-Screen Display OSD Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 210 Panasonic OSD3: OSD Regi ster 3 x’007F 0A’ BLINK: Characte r bli nking control Controls blinking for text-layer characters with BLINK set in the COL code. 0: Don’t blink 1: Blink CANH: V er tic al po siti on co ntro l fo[...]

  • Página 212

    On-Screen Display OSD Regis ters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 211 Panasonic VSHT1: V er tical Shutter 1 Register x’007F2 2’ VSON1: V er tical shutter 1 o n/off 0: Off 1: On VSP1: V er tical shutt er 1 shutte ring direction 0: Sh ut ter b elow 1: Sh utte r a bove VSMP1: V ertical shutt[...]

  • Página 213

    On-Screen Display OSD Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 212 Panasonic HSHT1: Horizo ntal Shutter 1 Register x’00 7F26’ HSON: Horizo ntal shut ter 1 on/off 0: Off 1: On HSP1: Horiz ontal s hutter 1 shuttering dir ection 0: Shut ter to the righ t 1: Shut ter to the left HSMP1: H oriz[...]

  • Página 214

    On-Screen Display OSD Regis ters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 213 Panasonic CPT0 – CPTF: T e xt P alette C olors 0 – 15 Re gisters x’007F80’ – x’007F9E’ These reg isters contain the colors used in the text layer . When digital out- put is selected, CPTnYM0 i s output as YM, [...]

  • Página 215

    On-Screen Display OSD Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 214 Panasonic BBSHD: Blac k Bo x Shadowi ng Regi ste r x’007F A4’ This re gister con t ains the color used as black in bo x shad o wing. When dig- ital output is selected, BBSHD YM0 is output as YM, BBSHDB0 as B, BBSHDG0 as G,[...]

  • Página 216

    On-Screen Display OSD Regis ters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 215 Panasonic GPT20 – GPT2F: Graphi cs P alette 2 Colors 0 – 15 Registers x’007FE0’ – x’007FFE’ These re gisters contain one of tw o sets of colors used in the graphics laye r . When digit al outp ut is s elect ed[...]

  • Página 217

    IR Remote Signal Receiver Description Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 216 Panasonic 8 IR Remo te Signal Receiver 8.1 Des cription The MN102H75K/85K contains a remote signal receiv er that processes signals in two formats: Househo ld Electrical Appliance Manuf acturers Associati on (HEAMA) form[...]

  • Página 218

    IR Remote Signal Receiver Block Diagram MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 217 Panasonic 8.2 Block Diagram Figure 8 -1 IR Remot e Signal Receiver Block Di agram 54 3 2 1 0 MUX CK CK 765 4 32 1 0 MUX CK MUX R CK 4 RMTC: x’007E04’ Frequency division counter PWM3 (375 kHz, 2.7 s) Clock supply [...]

  • Página 219

    IR Remote Signal Receiver IR Remote Signal Receiver Oper ation Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 218 Panasonic 8.3 IR Remote Signal Re ceiver Ope ration 8.3.1 Operating Modes The IR remote signal recei ver has three operatin g mod es: HEAMA, 5-/6-bit, and HEAMA – 5-/6-bit automatic detect. Set[...]

  • Página 220

    IR Remote Signal Receiver IR Remo te Signal Rece iver Operation MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 219 Panasonic 8.3.3 8-Bit Data R eception Resetting the 8-bit data reception counter allows the microcontroller to receiv e 8- bit data, eith er with or without a leader . The software can reset t[...]

  • Página 221

    IR Remote Signal Receiver IR Remote Signal Receiver Oper ation Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 220 Panasonic 8.3.4 Identifyi ng the D ata F ormat The microcontrol ler determines the l ogic lev els of the data by testing th e interval between remote signal edges. T able 8-1 sho ws the intervals[...]

  • Página 222

    IR Remote Signal Receiver IR Remo te Signal Rece iver Operation MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 221 Panasonic 8.3.5 Generatin g Interrupts The IR remote s ignal recei ver has fou r interrupt vectors: lead er detection, trailer detection, 8-bit data reception detection, and pin edge detection[...]

  • Página 223

    IR Remote Signal Receiver IR Remote Signal Receiver Oper ation Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 222 Panasonic 8.3.6 Controllin g the SLO W Mode Use bit 7 (SP) in the RMLD reg- ister to toggle the noise filter sampling frequency between PWM6/PWM8 and PWM3/ PWM5. The MN 102H serie s micr ocon tro[...]

  • Página 224

    IR Remote Signal Receiver IR Remo te Signal Rece iver Control Re gisters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 223 Panasonic 8.4 IR Remot e Signal Receiver Control Regis- ters All re gisters in RMC block cannot be wr itten by byte ( by word only) . Read by byte is poss ible. RMTC: Remo te Si gnal [...]

  • Página 225

    IR Remote Signal Receiver IR Remote Signal Receiver Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 224 Panasonic All re gisters in RMC block cannot be wr itten by byte ( by word only) . Read by byte is poss ible. RMIR: Remote Sig nal Interrupt Con trol Register x ’00 7EA2 ’ RMIR control[...]

  • Página 226

    IR Remote Signal Receiver IR Remo te Signal Rece iver Control Re gisters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 225 Panasonic RMIS: Remote Signa l Interrupt Status Register x ’007E A0’ RMIR in dicates the detecti on and oper ation status of r emote signal inter- rupts. It is a 16-bit access re [...]

  • Página 227

    IR Remote Signal Receiver IR Remote Signal Receiver Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 226 Panasonic RMLD: Remote Sig nal Leader V alue Set R egister x’007EA C’ RMLD is a 16-bit access re gister . fPWM1 = fSYSCLK/23, fPWM3 = fSYSCLK/25, fPWM5 = fSYSCLK/27, fPWM6 = fSYSCLK/28[...]

  • Página 228

    Closed-Caption Decoder Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 227 Panasonic 9 Closed-Caption D ecoder 9.1 Des cription The MN102H75K/85K contain s two identical closed-cap tion decoder circuits, CCD0 and CCD1. The d ecoders extract encod ed captions from composite video signals. F igure[...]

  • Página 229

    Closed-Caption Decoder Functional Des cription Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 228 Panasonic 9.3 Functional Description 9.3.1 Analog-to-Dig ital Con verter The const an ts shown in figures 9-2 to 9-4 ar e re comm e nded values only . Operatio n at these values is not guara nte e d. The analog-[...]

  • Página 230

    Closed-Caption Decoder Functional Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 229 Panasonic 9.3.2 Clamping C ircuit This bl ock clam ps the input v ide o sign al (C V BS0 , CVBS 1 ). The clamping circuit internal to the M N102H75K/85K provides three current sources — high, medium, and lo w[...]

  • Página 231

    Closed-Caption Decoder Functional Des cription Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 230 Panasonic T able 9-5 pro vides the registers used to contro l and mo nitor the clamp ing cir cuit. See the page number ind icated for re gist er and bit descriptions. 9.3.3 Sync Separa tor Circuit A lo w-pass f [...]

  • Página 232

    Closed-Caption Decoder Functional Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 231 Panasonic Figure 9-6 Sync Separator Ci rcuit Bloc k Diagram LPF MING CLMODE[1:0] CLM Clamp control pulse signal ADDA T A[7:0] NFSW[1:0] LPF1OUT[6:0] LPFOUT[6:0] SCMING[9:0] MINP Minimum sync tip load pulse gene[...]

  • Página 233

    Closed-Caption Decoder Functional Des cription Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 232 Panasonic 9.3.3.1 HSYN C Sep arator The HSYNC separator e x tracts the HSYNC signal from the composite sync signal u s ing the sampli ng clock generated b y the sync separat or clock pulse g en- erator . This ci[...]

  • Página 234

    Closed-Caption Decoder Functional Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 233 Panasonic 9.3.3 .2 V SYNC Se parator The VSYNC separator e x tracts the VSYNC signal from the composite signal. Like the HSYNC separator , it contains p rogrammable methods for eliminatin g noise. The VC NT re [...]

  • Página 235

    Closed-Caption Decoder Functional Des cription Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 234 Panasonic T able 9-7 pro vides the registers used to control and mon it or the data slicer . See the page number ind icated for register and bit descriptio ns . 9.3.5 Controller an d Sampling Circuit The control[...]

  • Página 236

    Closed-Caption Decoder Functional Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 235 Panasonic 9.3.5.1 CRI Detection for Sampling Clock Generation The decoder cap tures the caption data on the rising edge of the C RI pulse. T o achie ve this, it contains a circuit to accu rately detect the CRI [...]

  • Página 237

    Closed-Caption Decoder Clos ed-Ca ption De coder Reg isters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 236 Panasonic 9.4 Closed-C aption Decoder Registers All registers in Closed-caption Decoder block cannot be written by byte (by word only). Read by byte is po ssible. T able 9-9 Closed-Caption De coder [...]

  • Página 238

    Closed-Caption Decoder Close d-C aptio n Dec oder R egi ster s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 237 Panasonic For desig ns using the closed -cap- tion de coder, always tie the FCC NT register to x’0008’ . FCCNT : VBI Decodi ng F or mat Select Register x’007E0 0’ (FCCNTW x’007E20’)[...]

  • Página 239

    Closed-Caption Decoder Clos ed-Ca ption De coder Reg isters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 238 Panasonic MAXMIN: CRI Int er v al Max imum and Mi nimum Reg ister x’007E0 2’ (MAXMI NW x’00 7E22’) MAX[7:0]: M aximum v alue during the CRI interval V alid range: x’00’ to x’FF ’ MIN[...]

  • Página 240

    Closed-Caption Decoder Close d-C aptio n Dec oder R egi ster s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 239 Panasonic HNUM: HSYNC Count Register x’007E0 6’ (HNUMW x’007E26’) This register allo ws y ou to time the interrupt occurring after the line 21 data capture to a line o ther than line 21[...]

  • Página 241

    Closed-Caption Decoder Clos ed-Ca ption De coder Reg isters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 240 Panasonic CRIF A: CRI F requency Width Regist er A x’ 007E 0C’ (CRIF A W x’007E2C’) The CRIF A and CRIFB re gisters store the CRI c ycles from rising edge to rising edge, for monitoring whet[...]

  • Página 242

    Closed-Caption Decoder Close d-C aptio n Dec oder R egi ster s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 241 Panasonic CRI1E: CRI Cap ture Stop Timing Co ntrol Register 1 x’00 7E12’ (CRI 1EW x’0 07E 32’) CRI1E[10: 0]: Stop positi on f or CRI capture 1 V alid rang e: x’000’ to x’ 7FF’ C[...]

  • Página 243

    Closed-Caption Decoder Clos ed-Ca ption De coder Reg isters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 242 Panasonic DA T A E : Data Cap ture Stop Ti ming Control Re gister x’ 007E 1A’ (D A T AEW x’007E3A’) D A T AE[10:0]: Stop po sition f or data capture Set this value high enough to allow the l[...]

  • Página 244

    Closed-Caption Decoder Close d-C aptio n Dec oder R egi ster s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 243 Panasonic FQSEL: F requency Select Regis ter x’00 7EC2 ’ (FQSEL W x’007EE2’) In this register , set the sampli ng cycle for separating the HSYNC and VSYNC signals from the composite sy [...]

  • Página 245

    Closed-Caption Decoder Clos ed-Ca ption De coder Reg isters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 244 Panasonic Use this register to specify the position for capturing the pedestal level v alue used during p edestal clampi ng. Specify a number of ADC clocks after th e leadi ng edge of HSYNC. The v a[...]

  • Página 246

    Closed-Caption Decoder Close d-C aptio n Dec oder R egi ster s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 245 Panasonic BSP[5:0]: Sy nc separator l e vel f or pedes tal clam ping Sync separator level = (sync tip le vel/2) + BSP[5:0]. The valid range is x’00’ t o x’3F’. PSP[5:0]: Sy nc separator[...]

  • Página 247

    Closed-Caption Decoder Clos ed-Ca ption De coder Reg isters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 246 Panasonic HSEP1: HSYNC Separ a tor Control Register 1 x’007EC E’ (HSEP1W x’007 EEE’) HSFREQ[10:0 ]: Correction HSYNC frequency Set the correction HSYNC cycle in this field in HSYNC separator[...]

  • Página 248

    Closed-Caption Decoder Close d-C aptio n Dec oder R egi ster s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 247 Panasonic HDISTW: Sy nc Separator D etection Control Register 2 x’00 7ED6 ’ HDISTWW x’00 7EF6’) HDISTW[8:0]: HSYNC c o unt setting the in ter val f or sync se paratio n detection In thi[...]

  • Página 249

    Closed-Caption Decoder Clos ed-Ca ption De coder Reg isters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 248 Panasonic CLPCND1: Clamping Control Si gnal Status Regis ter 1 x’007EDC’ (CLPCND W x’007EFC’) This re gister is for monitoring the status of the clamping cur rent source switch sho wn in f i[...]

  • Página 250

    Pulse Width Modulator Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 249 Panasonic 10 Pulse Width Mod ulator 10.1 De scripti on F or information on the SLO W mode, see section 3.1, “CPU Modes.” The MN102H75K/ 85K contai ns se ven 8-bit pul se widt h modulato rs (PWMs) with a mini mum puls e[...]

  • Página 251

    Pulse Width Modu lator Bloc k Diag ram Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 250 Panasonic Not using internal pullup func- tion,Figuer10-2 connect the e x ter n al pullup registance 10.2 Block Diagram 10.3 PWM Da ta Regist ers All registers in PWM function can not be written by by te (be word only).[...]

  • Página 252

    I/O Ports Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 251 Panasonic 11 I/O P or ts 11.1 De scripti on The MN102H75K/85 K contains 50 pins th at form general-purp ose I/O ports. Ports 0, 1 , 2, 3, 4, and 5 are 8-b it ports , and port 6 is a 2-bi t por t. All of these pi ns hav e alternate fun[...]

  • Página 253

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 252 Panas oni c 11.2 I/ O P ort Circuit Dia grams Figure 11- 1 P00/RMIN/IRQ0 (P or t 0) P0PUP0 0: Pullup off 1: Pullup on P0MD0 0: P00/IRQ0 1: RMIN/IRQ0 P0DIR0 0: Port input 1: Port output P0OUT0 Pin P0IN0 RMIN Schmidt trigg[...]

  • Página 254

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 253 Panasonic Figure 11-2 P03/ADIN0 to P0 7/ADIN4 (P or t 0 ) P0PUPn 0: Pullup off 1: Pullup on P0MDn 0: P03, P04, P05, P06, P07, 1: ADIN0, ADIN1, ADIN2, ADIN3, ADIN4 ADIN0, ADIN1, ADIN2, ADIN3, ADIN4 P0DIRn 0: Port input [...]

  • Página 255

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 254 Panas oni c Figure 11-3 P10/ADIN5/IRQ1, P11/ ADIN6/IRQ2, and P12/ADIN7/IRQ3 ( Port 1) P1PUPn 0: Pullup off 1: Pullup on P1MD(2n) 0: P10/IRQ1, P11/IRQ2, P12/IRQ3 1: ADIN5, ADIN6, ADIN7 P1DIRn 0: Port input 1: Port output [...]

  • Página 256

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 255 Panasonic Figure 11-4 P1 3/ADIN8/WDOUT and P14/ADIN9/ST OP (P ort 1) 0: Pullup off 1: Pullup on P1MD(2n+1) P1PUPn P1DIRn 0: Port input 1: Port output P1OUTn Pin 0: Port low output 1: Port high output P1INn ADIN8, ADIN9[...]

  • Página 257

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 256 Panas oni c Figure 11-5 P15/AD IN10/PWM0 an d P16/ADIN11/PWM1 (P ort 1) P1PUPn 0: Pullup off 1: Pullup on P1MD(2n+1) 00: P15,P16 01: PWM0,PWM1 10: ADIN10,ADIN11 PWM0,PWM1 P1DIRn 0: Port input 1: Port output Pin P1INn P1O[...]

  • Página 258

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 257 Panasonic Figure 11-6 /PWM2 (P or t 1), P20/PWM3 , P21/PWM4, P22/PWM5, an d P23/PWM6 (P ort 2) P1PUPn P2PUPn 0: Pullup off 1: Pullup on P1MD(2n) P2MD(2n) 0: P17, P20, P21, P22, P23 1: PWM2, PWM3, PWM4, PWM5, PWM6 Low o[...]

  • Página 259

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 258 Panas oni c Figure 11- 7 P24/TM4IC/SBT1 (P ort 2) P2PUP4 0: Pullup off 1: Pullup on 00: P24 01: SBT1 10: TM4IC TM4IC input SBT1 input P2MD9 P2DIR4 0: Port input 1: Port output P2OUT4 Pin P2IN4 0: Port low output 1: Port [...]

  • Página 260

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 259 Panasonic Figure 11-8 P27/TM0IO (P ort 2) P2PUP7 0: Pullup off 1: Pullup on P2MD14 0: P27 1: TM0IO P2DIR7 0: Port input 1: Port output P2OUT7 Pin P2IN7 0: Port low output 1: Port high output M 0 1 U X TM0IO input TM0IO[...]

  • Página 261

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 260 Panas oni c Figure 11-9 P3 5/D AR OUT/R, P36/D A GOUT/G, P37/ DABOUT/B (P or t 3), and P40/D A YMOUT/YM (P ort 4) P3PUPn P4PUPn 0: Pullup off 1: Pullup on 0: DAC output 1: Digital output P3MDn P4MDn 0: P35, P36, P37, P40[...]

  • Página 262

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 261 Panasonic Figure 11-1 0 P25/TM4IOB/SBI1/SBD1 a nd P26/TM4 IO A/SBO1 (P or t 2) P2PUP5 0: Pullup off 1: Pullup on P2MD11 00: P25 01: SBI1,SBD1 P2DIR5 0: Port input 1: Port output 0: 3-line (SBI1,SBD1,SBT1) 1: 2-line (SB[...]

  • Página 263

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 262 Panas oni c Figure 11-1 1 P55 and P56 (P ort 5) P5PUP5 0: Pullup off 1: Pullup on P5MD5 0: P55 1: SBO0 P5DIR5 0: Port input 1: Port output 0: Push-pull 1: Open-drain (For I 2 C mode) (PCNT0) bit 12 ODASCI0 P5OUT5 P5IN5 P[...]

  • Página 264

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 263 Panasonic Figure 11-12 P 57/SBT0 (P or t 5) P5PUP7 0: Pullup off 1: Pullup on 0: P57 1: SBT0 P5OUT7 P5IN7 SBT0 input 0: Port low outut 1: Port high output Pin P5MD7 P5DIR7 0: Port input 1: Port output 0: Push-pull 1: O[...]

  • Página 265

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 264 Panas oni c Figure 11-1 3 P02/SCL1 (P or t 0) and P61/SCL0 (P ort 6) P0PUP2 0: Pullup off 1: Pullup on 0: Pullup off 1: Pullup on P0MD2 0: P02 1: SCL1 P0DIR2 0: Port input 1: Port output P0OUT2 SCL output P0IN2 P6IN1 SCL[...]

  • Página 266

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 265 Panasonic Figure 11-14 P01/SD A1 (P ort 1) and P60/SD A0 (P ort 6) P0PUP1 0: Pullup off 1: Pullup on 0: Pullup off 1: Pullup on P0MD1 0: P01 1: SDA1 P0DIR1 0: Port input 1: Port output P0OUT1 SDA output P0IN1 P6IN0 SDA[...]

  • Página 267

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 266 Panas oni c Figure 11-15 P31/CVBS0 and P3 2/CVBS1 (P ort 3) P3PUPn 0: Pullup off 1: Pullup on P3MDn 0: P31,P32 1: CVBS0,CVBS1 CVBS0,CVBS1 P3DIRn 0: Port input 1: Port output P3OUTn Pin P3INn 0: Port low output 1: Port hi[...]

  • Página 268

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 267 Panasonic Figure 11-16 P30/CLH and P3 3/CLL (P ort 3) P3PUPn 0: Pullup off 1: Pullup on 0: P30, P33 1: CLH, CLL CLH, CLL P3MD2 P3DIRn 0: Port input 1: Port output P3OUTn Pin P3INn 0: Port low output 1: Port high output[...]

  • Página 269

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 268 Panas oni c Figure 11-17 P34/VREF (P or t 3) P3PUP4 0: Pullup off 1: Pullup on P3MD4 0: P34 1: VREF VREF P3DIR4 0: Port input 1: Port output P3OUT4 Pin P3IN4 0: Port low output 1: Port high output P34/VREF[...]

  • Página 270

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 269 Panasonic Figure 11-18 P 41/TM1IO , P42/TM5IO A, and P43/TM5IOB/HI 0 (P ort 4) Figure 11-19 P44/TM5IC/HI1 (P ort 4) P4PUPn 0: Pullup off 1: Pullup on P4DIRn 0: P41,P42,P43 1: TM1IO,TM5IOA,TM5IOB P4MDn 0: Port input 1: [...]

  • Página 271

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 270 Panas oni c Figure 11-20 P45/OSDXO and P46/OSDXI (Po rt 4) P4PUP6 (0: Cut,1: Connect) 0: Pullup off 1: Pullup on LCCNT is the OSDXI/O oscillation control signal from the OSD. 0: Disable 1: Enable P4MD5 0: P45/P46 1: OSDX[...]

  • Página 272

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 271 Panasonic Figure 11-21 P47/HSYNC (P or t 4) P4PUP7 0: Pullup off 1: Pullup on P4MD7 0: P47 1: HSYNC P4DIR7 0: Port input 1: Port output P4OUT7 Pin 0: Port low output 1: Port high output P4IN7 Schmidt trigger HSYNC P47/[...]

  • Página 273

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 272 Panas oni c Figure 11-22 P50/SYSCLK (P or t 5) P5PUP0 0: Pullup off 1: Pullup on P5MD0 0: P50 1: SYSCLK SYSCLK or divided SYSCLK output P5DIR0 0: Port input 1: Port output P5OUT0 Pin P5IN0 0: Port low output 1: Port high[...]

  • Página 274

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 273 Panasonic Figure 11-23 P51/YS (P or t 5) P5PUP1 0: Pullup off 1: Pullup on P5MD1 0: P51 1: YS YSOUT P5IN1 P5DIR1 0: Port input 1: Port output P5OUT1 Pin 0: Port low output 1: Port high output M 0 1 U X P51/YS[...]

  • Página 275

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 274 Panas oni c Figure 11-24 P52/IRQ4/VI0 (P ort 5) P5PUP2 0: Pullup off 1: Pullup on P5MD2 0: P52 1: IRQ4/VI0 P5DIR2 0: Port input 1: Port output P5OUT2 Pin 0: Port low output 1: Port high output P5IN2 Schmidt trigger IRQ4/[...]

  • Página 276

    I/O Ports I/O Port Cir cuit Diag rams MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 275 Panasonic Figure 11 -25 P53/RST (P ort 5) P5PUP3 0: Pullup off 1: Pullup on P5OUT3 0: Port low output 1: Port high output P5DIR3 0: Port input 1: Port output P5IN3/ NTGTRST Pin Schmidt trigger P53/ RST[...]

  • Página 277

    I/O Ports I/O Port Ci rcuit Diagr ams Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 276 Panas oni c Figure 11-26 P54/IRQ5/VSYNC (P or t 5) P5PUP4 0: Pullup off 1: Pullup on P5MD4 P5DIR4 0: Port input 1: Port output P5OUT4 Pin 0: Port low output 1: Port high output 0: P54/IRQ5 1: IRQ5/VSYNC P5IN4 Schmidt tri[...]

  • Página 278

    I/O Ports I/O Port C ontrol Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 277 Panasonic 11.3 I/ O P or t Contr ol Registers Do not activ ate the pullup resis- tors when the pins are in output mode. This wil l cause incorrect output v oltage le vels and increase power and current con- sumption. P[...]

  • Página 279

    I/O Ports I/O Port Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 278 Panas oni c P0IN – P5IN: P or ts 0 – 5 Input Re gisters x’00FFD0 ’ – x’00FFD5’ P7IN – P8IN: P or ts 7 – 8 Input Re gisters x’00FFD8’ – x’00FFD A’ P6IN: P or t 6 Input Regi ster x’00FFD 6’ T[...]

  • Página 280

    I/O Ports I/O Port C ontrol Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 279 Panasonic P0MD: P ort 0 Output M ode Register x’00FFF0’ P0MD is an 8-bit access reg is ter . P0MD7: P07 function s witch 0: P07 1: ADIN4 P0MD6: P06 function s witch 0: P06 1: ADIN3 P0MD5: P05 function s witch 0: P0[...]

  • Página 281

    I/O Ports I/O Port Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 280 Panas oni c P1MD: P ort 1 Output M ode Register x’00FFF 2’ P1MD is a 16-bit access reg is ter . P1MD14 : P17 outpu t swi tch 0: P17 1: PWM2 P1MD[1 3:12]: P16 o utput and functi on switc h 00: P1 6 01: ADIN11 10: PW M1[...]

  • Página 282

    I/O Ports I/O Port C ontrol Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 281 Panasonic P2MD: P ort 2 Output M ode Register x’00FFF4’ P2MD is a 16-bit access reg is ter . P2MD14 : P27 func tion swit ch T o use TM0IO as an o utput p in, set this bit to 1 and set th e P2DIR7 bit to 1. 0: P27 1[...]

  • Página 283

    I/O Ports I/O Port Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 282 Panas oni c P3MD: P ort 3 Output M ode Register x’00FFF 6’ P3MD is an 8-bit access reg is ter . P3MD7: P37 output switc h If you set this field to 1, select D AB OUT or B in the RGBC bit of ODS 1. 0: P37 1: D ABOUT or[...]

  • Página 284

    I/O Ports I/O Port C ontrol Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 283 Panasonic P4MD: P ort 4 Output M ode Register x’00FFF8’ P4MD is an 8-bit access reg is ter . P4MD7: P47 function s witch 0: P47/NHSYNC 1: NHSYNC P4MD6 This bit exists, but contains no funct ion. P4MD5: P45 function[...]

  • Página 285

    I/O Ports I/O Port Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 284 Panas oni c P5MD: P ort 5 Output M ode Register x’00FFF A’ P5MD is an 8-bit access reg is ter . P5MD7: P57 output switc h T o use SBT0 a s an input pin, set this fie ld to 0 and set the P5DIR7 bit to 0. 0: P57 1: SBT0[...]

  • Página 286

    I/O Ports I/O Port C ontrol Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 285 Panasonic PCNT0: P or t Control R egister 0 x’00FF90’ PCNT0 is a 16-bit access register . Enable PWM (set PCNT1 bit 1 to 1) if you are out putting f SY- SCLK /2 14 . SCLKF[1:0]: SYS CLK frequency sel e ct 00: SYSCL[...]

  • Página 287

    I/O Ports I/O Port Control Registers Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 286 Panas oni c T o turn off the OSD b loc k to sa ve powe r : 1. Write a 0 to OSD ( OSD1, bit 10). 2. W ait f or the nex t VS YNC input. 3. Write a 0 to OSDPOFF (PCNT0, bit 7), turning the cloc k off . If you tur n the cl oc[...]

  • Página 288

    I/O Ports I/O Port C ontrol Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 287 Panasonic PCNT2: P or t Control R egister 2 x’00FF92’ Alwa ys set bits 7 to 3 of PCNT2 to 0. Y ou cannot read from or write to the registers associated with a function that is disabl ed. P7P8 CNT: P or ts 7 a nd 8 [...]

  • Página 289

    ROM Correction Description Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 288 Panasonic 12 R OM Co rrection 12.1 De scripti on The R OM correction function can correct the p rog ram data in an y address within the 256-kilobyte R OM. (It canno t correct OSD R OM data.) A maximum of sixteen addresses can b e c[...]

  • Página 290

    ROM Correction Block Diagram MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 289 Panasonic 12.2 Block Diagram Figur e 12- 3 i s a blo ck di agr am of the R O M cor rect i on circu it. A match detect io n circuit constantly monitor s the R OM address specified by the CPU instruction pointer (IP). When the v [...]

  • Página 291

    ROM Correction ROM Correction Control Re gisters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 290 Panasonic 12.4 R OM Correction Control Register s T able 12-1 sho ws the organ ization of the address match and d ata registers for R OM correction. Write a R OM address to be co rrected to an AMCHIHn and AMCH[...]

  • Página 292

    ROM Correction ROM Corr ection Control Re gisters MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 291 Panasonic R OMCEN12: Addres s 12 R OM correc tion enab le 0: Disa ble 1: Enable R OMCEN11: Addres s 11 R OM correc tion enab le 0: Disa ble 1: Enable R OMCEN10: Addres s 10 R OM correc tion enab le 0: Disa [...]

  • Página 293

    ROM Correction ROM Correction Control Re gisters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 292 Panasonic AMCHIH0 – AM CHIHF: R OM Correct ion Address Matc h Regis ter n (Hi gh) AMCHIHn is an 8-bit access re gister . CHAD[23:16]: Co rrection ad dress bits A23 to A16 (A23 = MSB) AMCHIL0 – AMCHILF: RO [...]

  • Página 294

    I 2 C Bus Controller Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 293 Panasonic 13 I 2 C Bus Controller 13.1 De scripti on The MN102H75K/85 K contains one I 2 C b u s controller , fully compliant with the I 2 C specif ication, that can control o n e of two I 2 C bus connections. An I 2 C bus [...]

  • Página 295

    I 2 C Bus Controller Description Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 294 Panasonic Figure 13-2 sho ws an e x ample of an I 2 C bus conf iguratio n using two microcon- trollers. Both I 2 C b u s lines, SD A and SCL are bidirectional lines, con nected to a positive supply v oltage vi a a pu llup res[...]

  • Página 296

    I 2 C Bus Controller Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 295 Panasonic Figure 13-3 sho ws the MN102H75K/8 5K operation sequence in each of these modes. In all modes , the I 2 C bus controller gener ates an interrupt af ter each data byte transfer , then the s oftware loads the next d[...]

  • Página 297

    I 2 C Bus Controller Bloc k Diag ram Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 296 Panasonic 13.2 Block Diagram 13.3 Functional Description The I 2 C b us controll er contai ns the re gisters sho wn in t able 13-3. See the page number indicated for reg ister and bit descriptions. ■ Arbitration and b u[...]

  • Página 298

    I 2 C Bus Controller Functional Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 297 Panasonic ■ Register settings con v ersions to I 2 C pr otocol The I 2 C b u s co ntroller con verts the data in the I2CDTRM register to the I 2 C protoco l. ■ T ransf er mod es changes A write to the I2CDTRM[...]

  • Página 299

    I 2 C Bus Controller Setting Up the I 2 C Bus Con n ection Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 298 Panasonic 13.4 S etting Up t he I 2 C Bus Connection Set the I 2 C connection in the I2CSEL0 and I2CSEL1 bits of the PCNT0 re gister (x’00FF90’). S ince the SCL0, SD A0, SCL1, and SDA1 pins also [...]

  • Página 300

    I 2 C Bus Controller SDA and SCL W aveform Characteristics MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 299 Panasonic 13.5 SD A and SCL W avef o rm Char acteri stics Figur e 13-6 and t able 13- 5 provide t he timin g defini tions and specif ications for the for the MN102H75K/ 85K I 2 C bus interface. Fig[...]

  • Página 301

    I 2 C Bus Controller I 2 C In terf ace Se tup Ex amples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 300 Panasonic 13.6 I 2 C Int erfac e Set up Exam ples 13.6.1 Se tting Up a T ransition from Master Transmitter to Mas- ter Receiver This e xample demonstrates ho w to set up a data transfer when changing f [...]

  • Página 302

    I 2 C Bus Controller I 2 C Interfac e Setup Example s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 301 Panasonic 13.6.1.3 Setting Up the Second I nterrupt When the microcontro ller recei v es th e data x’85’ from the sla v e de vice, it returns an A CK = 0 sign al and the I 2 C bus controller generat[...]

  • Página 303

    I 2 C Bus Controller I 2 C In terf ace Se tup Ex amples Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 302 Panasonic 13.6.2 Setting Up a T ra nsition from Slave Receiver to Slave T ransmitter This e xample demonstrates ho w to set up a data transfer when changing f rom slav e receiv er to slav e transmitter [...]

  • Página 304

    I 2 C Bus Controller I 2 C Interfac e Setup Example s MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 303 Panasonic 13.6.2.3 Setting Up the Second I nterrupt The master sends an A CK = 0 signal, so the m icrocontroller must send the ne xt data byte. Set up the transm is sion data as follows: ■ T o set up [...]

  • Página 305

    I 2 C Bus Controller I 2 C Bu s Inte rface Regi ster s Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 304 Panasonic 13.7 I 2 C Bus Int erface Register s All registers in I 2 C bloo k cannot be wri tten by byte ( by wo rd onl y). Read by byt e is possible. I2CDTRM: I 2 C T ransm ission Data Registe r x’007E[...]

  • Página 306

    I 2 C Bus Controller I 2 C Bus Interface Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 305 Panasonic I2CDREC: I 2 C Recepti on Data Register x’00 7E42’ The I2CDREC re gister contains the status bits for monitoring the d evice and the reception data. I2CDREC is a read-o nly register . MODE[1:[...]

  • Página 307

    I 2 C Bus Controller I 2 C Bu s Inte rface Regi ster s Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 306 Panasonic I2CCLK: I 2 C Cloc k Control Register x’007E46’ T o conform to the specification, the clock signal must be between 0 and 100 kHz. T o sat- isfy this requirement, always set I2CCLK to x’03[...]

  • Página 308

    H Counter Description MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 307 Panasonic 14 H Counter 14.1 De scripti on The MN102H75K/85K contain s two H coun ter circuits that can be u sed to count the HSYNC signal. Each H counter con sists of a 10-bit counter and 10-bit regis ter . 14.2 Block Diagram 14.3 H C[...]

  • Página 309

    H Counter H Counter Operation Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 308 Panasonic Figure 14-3 shows the input timing for the count sou rce and reset signals. Never input a count so urce signal in less th an 2 45 ns (t 1 ) af ter the reset signal input. Otherwise, the signal may be counted as part of[...]

  • Página 310

    H Counter H Counter Operation MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 309 Panasonic The H counter counts the HSYNC signal for t he interv al set in the HCCNT0 (x’007EB 0’) or HCCNT1 (x’007EB 2’) re gister , la tc hes the co un t valu e in the 10- bit register , then clears the co unter . HC [...]

  • Página 311

    H Counter H Counter Control Re gisters Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 310 Panasonic 14.4 H Counter Contr ol Registers All registers in H Counter block cannot be written by by te (by word only). Read by byte is po ssibl e . HCCNT0: H Counter Control Re gister 0 x’007E B0’ SEDG0: P olarity [...]

  • Página 312

    H Counter H Counter Control Registers MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 311 Panasonic HCD0: H Counter D ata Re gister 0 x’00 7EB4 ’ HCD[90:00]: Count from HI0 source signal This f ield stores the HI0 clock sou rce count. It becom es x’3FF’ on o ver- flo w . HCD1: H Counter D ata Re gis[...]

  • Página 313

    Register Map Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 312 Panasonic Appendix A Register Map T able A-1 Re gister Map: x’007E00 ’ to x’007FF F’ (Registers in this area cannot b e wr itten by b yte only b y word.) 20 MSBs 4 LSBs Description F E D C B A 98 765432 10 007E00 CRI4 FQW CRI3 FQW CRI2 F[...]

  • Página 314

    Register Map MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 313 Panasonic T able A-2 Registe r Map: x’00FC00’ to x’00FDFF’ 20 MSBs 4 LSBs Description F E D C B A 98 765432 10 00FC00 IA GR CPUM Special function registers 00FC10 00FC20 00FC30 00FC40 IQ1 ICH IQ1 ICL IQ0 ICH IQ0 ICL EI ICR PI ICR WD IC[...]

  • Página 315

    Register Map Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 314 Panasonic T able A-3 Re gister Map: x’00FE00’ to x’00FFFF’ 20 MSBs 4 LSBs Description F E D C B A 98 765432 10 00FE00 TM3 BC TM2 BC TM1 BC TM0 BC 8-bit timer registers 00FE10 TM3 BR TM2 BR TM1 BR TM0 BR 00FE20 TM3 MD TM2 MD TM1 MD TM0 MD[...]

  • Página 316

    Register Map MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 315 Panasonic[...]

  • Página 317

    MN102HF75K Flash EEPRO M Version Description Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 316 Panasonic Appendix B MN102HF 75K Flash EEPR OM V er sion B.1 Descri ption The MN102HF75K and MN102HF85K are electrically pro grammable, 256- kilobyte f l ash R OM versio ns of th e MN102H75K and MN102H85K. The y a[...]

  • Página 318

    MN102HF75K Flash EEPROM Ve rsion Benefits MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 317 Panasonic B.2 Benefits Because you can maintain and upgr ade the program in the MN102HF75K/85K up to an d immedi ately fol lo wing product r elease, this v ersion of th e de vice shortens time-to-mark et by as much[...]

  • Página 319

    MN102HF75K Flash EEPRO M Version Using the PROM Writer Mo de Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 318 Panasonic Check th e follo wing web page of our microc omputer di vision for t he writer matching info rmation. http:// www .mec panasonic.co.jp/ sc/di vision/micom T able B-2 PR OM Writer Hard war[...]

  • Página 320

    MN102HF75K Flash EEPROM Ve rsion Using the Onboard Serial Programmi ng Mode MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 319 Panasonic B.4 Using the Onboar d Serial Program ming Mode The seri al programm ing mode is pri marily used t o program t he flash R OM in de vices that are already installed on a P[...]

  • Página 321

    MN102HF75K Flash EEPRO M Version Using the O nboard Se rial Programming Mo de Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 320 Panasonic B.4. 1 Config uring the System f or On board Ser ial Progr a mming The work station containin g the program data s ends the prog ram to the serial writer through an IC ca[...]

  • Página 322

    MN102HF75K Flash EEPROM Ve rsion Using the Onboard Serial Programmi ng Mode MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 321 Panasonic B.4.2 Circuit Requirem ents for the T arget Board ■ Duri ng pr o gram ming , the s eri al wri ter s up plies V PP to the microcontro ller . Instal l a switch o n the ta[...]

  • Página 323

    MN102HF75K Flash EEPRO M Version Using the O nboard Se rial Programming Mo de Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 322 Panasonic B.4.3 Microcon troller Hardware U sed in Onboard Serial Pro- grammin g B.4.3.1 Serial Writer Interface Description The microcontroller con t ains the follo wing interface[...]

  • Página 324

    MN102HF75K Flash EEPROM Ve rsion Using the Onboard Serial Programmi ng Mode MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 323 Panasonic B.4.4 Microcon troller Memory Map Used Durin g Onboa rd Serial Progra mming B.4. 4.1 Flas h R OM Addr ess Spa ce ■ Serial write r load pr ogram area This k i lobyte o f[...]

  • Página 325

    MN102HF75K Flash EEPRO M Version Using the O nboard Se rial Programming Mo de Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 324 Panasonic ■ Branch in struction to interrupt service r outine Normally , interrupt servicing starts at add ress x’0x80008’ , but the soft branch instruction in the s erial wr[...]

  • Página 326

    MN102HF75K Flash EEPROM Ve rsion Using the Onboard Serial Programmi ng Mode MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 325 Panasonic B.4.6 Setting Up the On board Serial Pr ogrammin g Mode T o enter serial pro gramming mode, t he microcon troller must b e in write mode. This section describes the pin s[...]

  • Página 327

    MN102HF75K Flash EEPRO M Version Using the O nboard Se rial Programming Mo de Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 326 Panasonic ■ Start routin e for the load pr ogram Condi tions : 1. After the load prog ram initiates a reset start, SB D must be lo w and SBT high . 2. After the pr ogram waits t [...]

  • Página 328

    MN102HF75K Flash EEPROM Ve rsion Using the Onboard Serial Programmi ng Mode MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 327 Panasonic B.4.7 Bran c hin g to the Us er Program B.4.7.1 Br a nching to the Reset Start Routine When the reset starts, the s erial writer load program init ializes only if SBD is [...]

  • Página 329

    MN102HF75K Flash EEPRO M Version Reprogram ming Flow Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 328 Panasonic B.5 Repr ogramming Flow Figur e B-12 sho ws the flo w for rep rogramming (erasi ng and pro gramming) the flash memory . Always program a fter era sin g is compl eted.Er asing is some times not do[...]

  • Página 330

    page Line defin i- Description of Changes tion Former version New version Cover Pub number C 22385-010E 22385-011E Colophon C September, 2001 1st Edition October, 2001 1st Edition 1st Printing Sales office C Latest version MN102H75K/F75K/85K/F85K LSI User's Manual Description Record of Changes (Ver.1.0 to 1.1) <Definition> A: add D: dele[...]

  • Página 331

    MN102H75K/F75K/85K/F85K LSI User’s Manual Modified Points From MN102H75K/F75K To MN102H75K/F75K/85K/F85K MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 1 Panasonic page Bef ore Modify page After Modify P16 This manual is intended for assembly-l anguage programming engineers. It describes the internal con[...]

  • Página 332

    Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 2 Panasonic P30 1.6 Pin De scr iptions 1.6.1 MN102H85K Pin Description Notes : 1. Pins marked with an asterisk (*) are N-channel, open-drain pins. 2. P in 25 is V DD in the MN102H85K and V PP in the MN102HF85K. F igure 1-9 MN102H85K Pin Configuration in Single-C[...]

  • Página 333

    MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 3 Panasonic P33 The MN102H75K contains an inter nal PLL circuit. T o use this circuit, you must connect it to an external (lag-lead) f ilter . P34 The MN102 H75K/85K contains an internal PLL ci rcuit. T o use this circuit, you must connect it to an external (l[...]

  • Página 334

    Panasonic Semiconductor Development Compa ny MN102H75K /F75K/85K /F85K LSI Us er Manual 4 Panasonic P77 The MN102H75K contains four 8-bit timers t hat can serve as int erval timers, event timer/counters, cl ock generators ( di vide-by-2 output of the underflow), reference clocks for the serial interf aces, or start timers for A/D con versions. The [...]

  • Página 335

    MN102H75 K/F75K/85K/F85K LSI Us er Manual Panaso nic Se miconductor Developm ent Compa ny 5 Panasonic P307 The MN102H75K contains two H counter cir cuits that can b e used to count the HSYNC signal. Each H counter consists of a 10-bit counter and 10-bit register P307 The MN102H75K/85K contains two H coun ter circuits that can be us ed to count the [...]

  • Página 336

    [...]

  • Página 337

    Issued by Matsushita Electric Industrial Co., Ltd.  Matsushita E lectric I ndustrial Co., Ltd. MN10 2H75 K/F75K /85K /F85K LSI U ser ’s Manua l October ,2001 1st E d ition 1 st Printi ng[...]

  • Página 338

    Semiconductor Company, Matsushita Electric Industrial Co., Ltd. Nagaokakyo, Kyoto, 617-8520 Japan Tel: (075) 951-8151 http://www.panasonic.co.jp/semicon/ SALES OFFICES ■ NORTH AMERICA ● U.S.A. Sales Office: Panasonic Industrial Company [PIC] • New Jersey Office: Two Panasonic Way Secaucus, New Jersey 07094 U.S.A. Tel: 1-201-348-5257 Fax:1-201[...]