Document
www.DataSheet4U.com
EM785830AA
8-BIT MICRO-CONTROLLER
Version 1.6
ELAN MICROELECTRONICS CORP. No. 12, Innovation 1st RD., Science-Based Industrial Park Hsin Chu City, Taiwan TEL: (03) 5639977 FAX: (03)5630118
Version History
Specification Revision History
Version EM785830AA 1.0 1.1 1.2 1.3 1.4 1.5 Content Initial version Add 17.9MHz main CLK Add code option “ADIS” to determine AD channel 1. Change “ADIS” define 2. ADD eFHP5830A, eFHP5830AA, and eFHP5830BA package 1. ADD the description about ADC’s offset voltage 1. Modify stack level from 16 to 12 2. Modify program ROM size from 4K to 16K 3. Rename “eFH5830A” to eFH5830AA 4. Remove IDLE mode 5. Change AD channel from 8 to 4 6. Remove 17.9MHz main CLK 1.Rename from eFH5830AA to EM785830AA
1.6
Relative to EM785830AA’s ROM-less, OTP and mask:
ROM-less ICE5830 OTP EM78P5830A EM78P5830AA Mask EM785830AA
Difference between EM785830AA/EM78P5830A/EM78P5830AA
Some differences are between EM78P5830A, EM78P5830AA and EM78P5830BA, these difference are list at next table:
EM785830AA ADIS (code option) VERSEL (code option) PHO (code option) MS (IOCC page1 bit0) AD resolution Stack number
Un-effect (4 channel only) Must = 0 Must = 0 Must = 1 10 bit 12
EM78P5830A EM78P5830AA
Un-effect (4 channel only) Un-effect Un-effect Must = 1 8 bit 16 Un-effect (4 channel only) Must = 0 Must = 0 Un-effect 10 bit 16
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.
Register R7 RA RA RD RD Register PAGE 1 0 2 0 0 Default value Bit 1 7 0~7 0~2 4 0 0 0 0 X Initial Setting value (by user software) 0 0 0 0 1 Effect RAM access will error Un-expect error Un-expect error Power consumption increase Un-expect error
EM785830AA 8-bit Micro-controller
RD RE IOC5 IOC6 IOC6 IOC7 IOC7 IOC8 IOC8 IOC9 IOCA IOCB IOCC IOCC IOCE IOCF 0 0 0 0 1 0 1 0 1 1 1 0 0 1 0 0 5~6 0~3 5~7 0~1 0~1 1~2;7 1~2;7 0~7 0~7 0~7 3,6 0~7 0;3~7 2~7 0~3 4~6 X 1 1 0 1 0 1 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 Un-expect error Un-expect error Power consumption increase Power consumption increase Power consumption increase Power consumption increase Power consumption increase Power consumption increase Power consumption increase Un-expect error Power consumption increase Power consumption increase Power consumption increase Un-expect error Un-expect error Un-expect error
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 RAB7 R/W-0 Bit type Bit name Bit number
6 RAB6 R/W-0.