COP8SAA728M8 National Semiconductor, COP8SAA728M8 Datasheet - Page 16

IC MCU OTP 8BIT 1K 28SOIC

COP8SAA728M8

Manufacturer Part Number
COP8SAA728M8
Description
IC MCU OTP 8BIT 1K 28SOIC
Manufacturer
National Semiconductor
Series
COP8™ 8SAr
Datasheet

Specifications of COP8SAA728M8

Core Processor
COP8
Core Size
8-Bit
Speed
10MHz
Connectivity
Microwire/Plus (SPI)
Peripherals
POR, PWM, WDT
Number Of I /o
24
Program Memory Size
1KB (1K x 8)
Program Memory Type
OTP
Ram Size
64 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-SOIC (7.5mm Width)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Eeprom Size
-
Data Converters
-
Other names
*COP8SAA728M8
www.national.com
6.0 Functional Description
memory mapped; therefore, I/O bits and register bits can be
directly and individually set, reset and tested. The accumu-
lator (A) bits can also be directly and individually tested.
RAM contents are undefined upon power-up.
6.4 ECON (CONFIGURATION) REGISTER
The ECON register is used to configure the user selectable
clock, security, power-on reset, WATCHDOG, and HALT
options. The register can be programmed and read only in
EPROM programming mode. Therefore, the register should
be programmed at the same time as the program memory.
The contents of the ECON register shipped from the factory
read 00 Hex (windowed device), 80 Hex (OTP device) or as
specified by the customer (ROM device).
The format of the ECON register is as follows:
Bit 7
Bit 6
Bit 5
Bits 4, 3 = 0, 0 External CKI option selected. G7 is avail-
Bit 2
Bit 1
Bit 0
COP8SAA7
COP8SAB7
COP8SAC7
Bit 7
X
Device
Bit 6
POR
= 0
= 0
= 0
= 0
= x
= 1
= 1
= 1
=
= 1
TABLE 1. Program/Data Memory Sizes
= 0, 1 R/C oscillator option selected. G7 is avail-
= 1, 0 Crystal oscillator with on-chip crystal bias
= 1, 1 Crystal oscillator with on-chip crystal bias
SECURITY
Bit 5
This is for factory test. The polarity is al-
ways 0.
Power-on reset enabled.
Power-on reset disabled.
Security enabled. EPROM read and write
are not allowed.
Security disabled. EPROM read and write
are allowed.
able as a HALT restart and/or general pur-
pose input. CKI is clock input.
able as a HALT restart and/or general pur-
pose input. CKI clock input. Internal R/C
components are supplied for maximum
R/C frequency.
resistor disabled. G7 (CKO) is the clock
generator output to crystal/resonator.
resistor enabled. G7 (CKO) is the clock
generator output to crystal/resonator.
WATCHDOG feature disabled. G1 is a
general purpose I/O.
WATCHDOG feature enabled. G1 pin is
WATCHDOG output with waek pullup.
Reserved.
HALT mode disabled.
HALT mode enabled.
Program
Memory
(Bytes)
1024
2048
4096
CKI 2
Bit 4
CKI 1 WATCH
Bit 3
Memory
(Bytes)
Data
128
128
64
Bit 2
DOG
Reserved
(Continued)
Bit 1
Storage
(Bytes)
User
8
8
8
HALT
Bit 0
16
6.5 USER STORAGE SPACE IN EPROM
In addition to the ECON register, there are 8 bytes of
EPROM available for “user information”. ECON and these 8
bytes are outside of the code area and are not protected by
the security bit of the ECON register. Even when security is
set, information in the 8-byte USER area is both read and
write enabled allowing the user to read from and write into
the area at all times while still protecting the code from
unauthorized access.
Both ECON and USER area, 9 bytes total, are outside of the
normal address range of the EPROM and can not be ac-
cessed by the executing software. This allows for the stor-
age of non-secured information. Typical uses are for storage
of serial numbers, data codes, version numbers, copyright
information, lot numbers, etc.
The COP8 assembler defines a special ROM section type,
CONF, into which the ECON and USER data may be coded.
Both ECON and User Data are programmed automatically
by programmers that are certified by National.
The following examples illustrate the declaration of ECON
and the User information.
Syntax:
[label:] .sect econ, conf
Example: The following sets a value in the ECON register
and User Identification for a COP8SAC728M7. The ECON
bit values shown select options: Power-on enabled, Security
disabled, Crystal oscillator with on-chip bias disabled,
WATCHDOG enabled and HALT mode enabled.
.chip 8SAC
.sect econ, conf
.db
.db
.endsect
...
.end start
Note: All programmers certified for programming this family of parts will
6.6 OTP SECURITY
The device has a security feature that, when enabled, pre-
vents external reading of the OTP program memory. The
security bit in the ECON register determines, whether secu-
rity is enabled or disabled. If the security feature is disabled,
the contents of the internal EPROM may be read.
If the security feature is enabled, then any attempt to
externally read the contents of the EPROM will result in
the value FF Hex being read from all program locations.
Under no circumstances can a secured part be read. In
addition, with the security feature enabled, the write opera-
tion to the EPROM program memory and ECON register is
inhibited. The ECON register is readable regardless of the
state of the security bit. The security bit, when set, cannot
be erased, even in windowed packages. If the security bit
is set in a device in a windowed package, that device may be
erased but will not be further programmable.
If security is being used, it is recommended that all other bits
in the ECON register be programmed first. Then the security
bit can be programmed.
support programming of the CONFiguration section. Please contact
National or your device programmer supplier for more information.
0x55
'my v1.00'
.db
.db
.endsect<user information>
value
;por, extal, wd, halt
;user data declaration
;1 byte,
;configures options
;up to 8 bytes

Related parts for COP8SAA728M8