Sign In
Upload
Manuals
Brands
Oki Manuals
Microcontrollers
ML63326
Oki ML63326 Manuals
Manuals and User Guides for Oki ML63326. We have
1
Oki ML63326 manual available for free PDF download: User Manual
Oki ML63326 User Manual (322 pages)
CMOS 4-bit microcontroller
Brand:
Oki
| Category:
Microcontrollers
| Size: 1 MB
Table of Contents
Table of Contents
6
Overview
14
Features
16
Function List
20
Block Diagram
21
Pin Configuration
22
Descriptions of the Basic Pin Functions
26
Pin Descriptions
26
Descriptions of the Secondary Pin Functions
31
Unused Pin Processing
33
Basic Timing
34
Basic Timing of CPU Operation
34
Port I/O Basic Timing
34
Interrupt Basic Timing
36
Overview
37
Accumulator (A)
40
Carry Flag (C)
40
Flag Register
40
Registers
40
G Flag (G)
41
Master Interrupt Enable Flag (MIE)
41
Zero Flag (Z)
41
Current Bank Register (CBR), Extra Bank Register (EBR), HL Register (HL), XY Register (XY)
42
Program Counter (PC)
43
RA Registers (RA3, RA2, RA1, RA0)
43
Stack Pointer (SP) and Call Stack
44
Register Stack Pointer (RSP) and Register Stack
45
Memory Spaces
46
Program Memory Space
46
Data Memory Space
47
Memory Space for Voice Synthesis and Character Data
48
External Memory Space
49
Chapter 3 CPU Control Functions
50
Overview
52
System Reset Mode (RST)
53
Transfer to and State of System Reset Mode
53
Halt Mode
54
Transfer to and State of Halt Mode
54
Halt Mode Release
55
Release of Halt Mode by Interrupt
55
Release of Halt Mode by RESET Pin
55
Melody Data Interrupt and Halt Mode Release
56
Note Concerning HALT Instruction
56
Chapter 4 Interrupt (INT326)
58
Overview
60
Interrupt Registers
62
Interrupt Sequence
69
Interrupt Processing
69
Return from an Interrupt Routine
70
Interrupt Hold Instructions
70
Chapter 5 Clock Generator Circuit (OSC)
72
Overview
74
Clock Generator Circuit Configuration
74
Low-Speed Clock Generator Circuit
75
High-Speed Clock Generator Circuit
77
System Clock Control
79
Frequency Control Register (FCON)
80
System Clock Select Timing
81
Chapter 6 Time Base Counter (TBC)
84
Overview
86
Time Base Counter Configuration
86
Time Base Counter Registers
87
Time Base Counter Operation
88
Chapter 7 Timers (TIMER)
90
Overview
92
Timer Configuration
92
Timer Registers
94
Timer Operation
105
Timer Clock
105
Timer Data Registers
105
Timer Counter Registers
105
Timer Interrupt Requests and Overflow Flags
106
Auto-Reload Mode Operation
107
Capture Mode Operation
109
Frequency Measurement Mode Operation
112
Chapter 8 100 Hz Timer Counter (100Hztc)
118
Overview
118
100 Hz Timer Counter Configuration
118
100 Hz Timer Counter Registers
119
100 Hz Timer Counter Operation
120
Chapter 9 Watchdog Timer (WDT)
122
Overview
124
Watchdog Timer Configuration
124
Watchdog Timer Control Register (WDTCON)
125
Watchdog Timer Operation
125
Chapter 10 Ports (INPUT, OUTPUT, I/O PORT)
128
Overview
130
Ports List
130
Port 0 (P0.0-P0.3)
131
Port 0 Configuration
131
Port 0 Registers
131
Port 0 External Interrupt Functions (External Interrupt 5)
134
Ports 4-7 (P4.0-P4.3, P5.0-P5.3, P6.0-P6.3, P7.0-P7.3)
136
Port 4-7 Configuration
136
Port 4-7 Registers
137
Port 8, Port 9, Port a (P8.0, P8.1, P9.0-P9.3, PA.0-PA.3)
144
Port 8, Port 9, Port a Configuration
144
Port 8, Port 9, Port a Registers
145
Port B (PB.0-PB.3)
153
Port B Configuration
153
Port B Registers
154
Port B External Interrupt Function (External Interrupt 0)
158
Port E (PE.0-PE.3)
159
Port E Configuration
159
Port E Registers
160
Port E.3 External Interrupt Function (External Interrupt 2)
163
Port F (PF.0-PF.3)
164
Port F Configuration
164
Port F Registers
165
Port F External Interrupt Function (External Interrupt 3)
169
Chapter 11 External Memory Transfer Function (EXTMEM)
170
Overview
172
Connection with the External Memory
173
External Memory Address Space
174
Setting of Secondary Port Functions
175
Distinction between ROM Area Inside the Chip and Memory Area External to the Chip
175
Reading from External Memory
176
Reading from the Voice ROM Inside the Chip
177
Writing to External Memory
178
Chapter 12 Melody Driver (MELODY63K)
180
Overview
182
Melody Driver Configuration
182
Melody Driver Registers
183
Melody Circuit Operation
185
Tempo Data
186
Melody Data
187
Melody Circuit Application Example
190
Buzzer Circuit Operation
191
Melody/Buzzer Output Selector Circuit
193
Differences with Voice Synthesis Section Melody/Buzzer Output
194
Chapter 13 Voice Synthesis
196
Overview
198
Voice Synthesis Section Configuration
198
Registers Related to the Voice Synthesis Section
200
Voice ROM
205
Voice ROM Configuration
205
Creation of Voice ROM Store Data
206
Voice Synthesis Section Clock Input Frequency
207
Operation of the Voice Synthesis Section
208
Description of Pins Related to Voice Synthesis
208
Phrase Address and Stop Code
209
Voice
210
Voice Reproduction Method
210
4-Bit ADPCM Method
210
8-Bit Straight PCM Method
210
8-Bit Nonlinear PCM
210
Forcible Stopping of Voice Output
210
Voice Output Procedure
211
Voice Output Duration
214
Melody
215
Tempo Data
215
Melody Data
217
Melody Circuit Application Example
221
Melody Output Procedure
222
Buzzer
224
Buzzer Output Procedure
225
Example of Connections Made for Extending the Voice Data Area
226
Example of Connections Made When Using a Piezoelectric Speaker
227
Chapter 14 Shift Register (SFT)
228
Overview
230
Shift Register Configuration
230
Shift Registers
231
Shift Register Operation
233
Shift Register Application Example
235
Chapter 15 LCD Driver (LCD)
236
Overview
238
LCD Driver Configuration
238
LCD Driver Registers
239
LCD Driver Operation
242
Bias Generator (BIAS)
243
LCD Driver Output Waveform
246
Chapter 16 Battery Low Detect Circuit (BLD)
250
Overview
252
Battery Low Detect Circuit Configuration
252
Judgment Voltage
253
Battery Low Detect Circuit Register
253
Battery Low Detect Circuit Operation
254
Chapter 17 Power Supply Circuit (POWER)
256
Overview
258
Power Supply Circuit Configuration
258
Power Supply Circuit Operation
259
Appendixes
260
Appendix A List of Special Function Registers
262
Appendix B Package Dimensions
274
Appendix C Input/Output Circuit Configuration
275
Appendix D Peripheral Circuit Examples
277
Appendix E Electrical Characteristics
282
Appendix F Instruction List
296
Appendix G Mask Option
320
Advertisement
Advertisement
Related Products
Oki ML66592
Oki ML63611
Oki MSM66591
Oki MSM64164C
Oki ML6300
Oki ML6300FB
Oki ML6300SC
OKI ML6300FB-SC
Oki ML620
Oki ML691
Oki Categories
Printer
All in One Printer
Printer Accessories
Fax Machine
Label Maker
More Oki Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL