i
38K0 Group User’s Manual
Table of contents
CHAPTER 1 HARDWARE
DESCRIPTION ................................................................................................................................ 1-2
FEATURES .................................................................................................................................... 1-2
PIN CONFIGURATION .................................................................................................................. 1-2
FUNCTIONAL BLOCK .................................................................................................................. 1-3
PIN DESCRIPTION ........................................................................................................................ 1-4
PART NUMBERING ....................................................................................................................... 1-5
GROUP EXPANSION .................................................................................................................... 1-6
Memory Type ............................................................................................................................ 1-6
Memory Size ............................................................................................................................. 1-6
Packages ................................................................................................................................... 1-6
FUNCTIONAL DESCRIPTION ...................................................................................................... 1-7
Central Processing Unit (CPU) .............................................................................................. 1-7
Memory .................................................................................................................................... 1-11
I/O Ports .................................................................................................................................. 1-13
Interrupts ................................................................................................................................. 1-17
Timers ...................................................................................................................................... 1-20
Serial I/O ................................................................................................................................. 1-22
USB Function .......................................................................................................................... 1-26
External Bus Interface (EXB) ............................................................................................... 1-52
Multichannel RAM .................................................................................................................. 1-71
A-D Converter ......................................................................................................................... 1-73
Watchdog Timer ..................................................................................................................... 1-75
Reset Circuit ........................................................................................................................... 1-76
PLL Circuit (Frequency Synthesizer) ................................................................................... 1-77
Clock Generating Circuit ....................................................................................................... 1-79
Flash Memory Mode .............................................................................................................. 1-82
NOTES ON PROGRAMMING ................................................................................................... 1-108
NOTES ON USAGE ................................................................................................................... 1-110
DATA REQUIRED FOR MASK ORDERS .............................................................................. 1-110
FUNCTIONAL DESCRIPTION SUPPLEMENT ....................................................................... 1-111
CHAPTER 2 APPLICATION
2.1 I/O port ..................................................................................................................................... 2-2
2.1.1 Memory map ................................................................................................................... 2-2
2.1.2 Related registers ............................................................................................................ 2-3
2.1.3 Handling of unused pins ............................................................................................... 2-5
2.1.4 Notes on input and output pins ................................................................................... 2-6
2.1.5 Termination of unused pins .......................................................................................... 2-7
2.2 Interrupt ................................................................................................................................... 2-8
2.2.1 Memory map ................................................................................................................... 2-8
2.2.2 Related registers ............................................................................................................ 2-8
2.2.3 Interrupt source ............................................................................................................ 2-11
2.2.4 Interrupt operation ........................................................................................................ 2-12
2.2.5 Interrupt control ............................................................................................................ 2-15
2.2.6 INT interrupt .................................................................................................................. 2-18
2.2.7 Key input interrupt ....................................................................................................... 2-19
2.2.8 Notes on interrupts ...................................................................................................... 2-21