EM785830AD
8-bit Micro-controller
User Application Note
(Before using this chip, take a look at the following description note, it includes important messages.)
1. There are some undefined bits in the registers. The values in these bits are unpredicted. These
bits are not allowed to use. We use the symbol “-” in the spec to recognize them. A fixed value
must be write in some specific unused bits by software or some unpredicted wrong will occur
These bits are as below:
Effect
Register
Default value Initial Setting value
(by user software)
Register
R7
RA
RD
RE
IOC6
IOC8
IOC8
IOCA
IOCB
IOCC
IOCC
IOCC
IOCE
IOCF
PAGE
Bit
1
7
1
2
0
0
1
0
1
1
0
0
1
1
0
0
0
X
X
0
0
1
0
X
1
0
1
0
0
0
0
0
0
0
0
1
0
0
0
RAM access will error
Un-expect error
Power consumption increase
Un-expect error
5~6
1~3
7
1~7
1~7
3,6
0~7
4~7
0
LCD display error
Power consumption increase
Power consumption increase
Power consumption increase
Power consumption increase
Power consumption increase
AD function will error
Un-expect error
1
X
X
0
3~7
0~3
6~7
Un-expect error
Un-expect error
0
2. You will see some names for the register bits definitions. Some name will be appear very
frequently in the whole spec. The following describes the meaning for the register’s definitions
such as bit type, bit name, bit number and so on.
RA
PAGE0
7
6
5
4
3
-
2
RAB2
R
1
0
RAB1
RAB7
R/W-0
RAB6
R/W-0
BAB5
R-1
RAB4
R/W-1
RAB0
R/W
R-0
read/write
(default value=1)
read/write
(w/o default value)
read/write
(default value=0)
read only
(w/o default value)
Bit type
Bit name
(undefined) not allowed to use
Bit number
read only
(default value=1)
read only
(default value=0)
Register name and its page
3. Always set IOCC PAGE1 bit 0 = 1 otherwise partial ADC function cannot be used.
4. Please do not switch MCU operation mode from normal mode to sleep mode directly. Before into
sleep mode, please switch MCU to green mode.
5. While switching main clock (regardless of high freq to low freq or on the other hand), adding 6
instructions delay (NOP) is required.
6. Offset voltage will effect ADC’s result, please refer to figure 20 to detail.
__________________________________________________________________________________________________________________________________________________________________
* This specification is subject to be changed without notice.
1
12/14/2004 (V1.4)