3819 Group USER’S MANUAL
i
Table of contents
Table of contents
CHAPTER 1. HARDWARE
Description ........................................................................................................................................2
Features.............................................................................................................................................2
Applications ......................................................................................................................................2
Pin configuration (Top view) ........................................................................................................2
Functional block diagram (Package:100P6S-A) .........................................................................3
Pin description.................................................................................................................................4
Part numbering ................................................................................................................................6
Group expansion .............................................................................................................................7
Functional description ....................................................................................................................8
Central processing unit (CPU).....................................................................................................8
CPU mode register ......................................................................................................................8
Memory ..............................................................................................................................................9
Special function register (SFR) area ...........................................................................................9
RAM.............................................................................................................................................9
ROM ............................................................................................................................................9
Interrupt vector area ....................................................................................................................9
Zero page ....................................................................................................................................9
Special page................................................................................................................................9
I/O ports ..........................................................................................................................................11
Direction registers......................................................................................................................11
High-breakdown-voltage output ports .......................................................................................11
Interrupts .........................................................................................................................................17
Interrupt control .........................................................................................................................17
Interrupt operation .....................................................................................................................17
Notes on use .............................................................................................................................17
Timers ..............................................................................................................................................19
Timer 1 and timer 2 ...................................................................................................................19
Timer 3 and timer 4 ...................................................................................................................19
Timer 5 and timer 6 ...................................................................................................................19
Timer 6 PWM mode...................................................................................................................19
Serial I/O .........................................................................................................................................23
Serial I/O control registers (SIO1CON, SIO2CON, SIO3CON) 0019
16
, 001D
16
, 001E
16 ............
23
Serial I/O automatic transfer control register (SIOAC) 001A
16 ..............................................................
26
Serial I/O automatic transfer data pointer (SIODP) 0018
16 .....................................................................
27
Serial I/O automatic transfer interval register (SIOAI) 001C
16 ...............................................................
27
A-D converter .................................................................................................................................31
A-D conversion register (AD) 002D
16 ..............................................................................................................
31
AD/DA control register (ADCON) 002C
16 ......................................................................................................
31
Comparison voltage generator ..................................................................................................31
Channel selector........................................................................................................................31
Comparator and control circuit ..................................................................................................31
D-A converter .................................................................................................................................32
FLD controller ................................................................................................................................33
FLDC mode registers (FLDM1, FLDM2) 0036
16
, 0037
16 .......................................................................
34
FLD data pointer and FLD data pointer reload register (FLDDP) 0038
16 ..........................................
36
Interrupt interval determination function ..................................................................................41
Noise filter..................................................................................................................................41
Zero cross detection circuit........................................................................................................44
Noise filter ......................................................................................................................................45