|
|
Número de pieza | SPMC65P2404A | |
Descripción | Micro Controllers | |
Fabricantes | Sunplus | |
Logotipo | ||
Hay una vista previa y un enlace de descarga de SPMC65P2404A (archivo pdf) en la parte inferior de esta página. Total 30 Páginas | ||
No Preview Available ! SPMC65P2404A/2408A
Micro-Controllers (OTP) With ADC
APR. 27, 2006
Version 1.1
Sunplus Technology reserves the right to change this documentation without prior notice. Information provided by Sunplus Technology is believed to be
accurate and reliable. However, Sunplus Technology makes no warranty for any errors which may appear in this document. Contact Sunplus Technology to
obtain the latest version of device specifications before placing your order. No responsibility is assumed by Sunplus Technology for any infringement of patent
or other rights of third parties which may result from its use. In addition, Sunplus products are not authorized for use as critical components in life support
devices/ systems or aviation devices/systems, where a malfunction or failure of the product may reasonably be expected to result in significant injury to the
programmer, without the express written approval of Sunplus.
1 page SPMC65P2404A/2408A
MICRO-CONTROLLERS (OTP) WITH ADC
1. GENERAL DESCRIPTION
SPMC65P2404A and SPMC65P2408A are the members of 65X
series and OTP (One Time Program) solutions. SPMC65P2408A
is a superset of SPMC65P2404A. These two devices share similar
cores and peripherals with the following exceptions. For example,
SPMC65P2404A does not have UART interfaces, Port C Bit[5:4],
Port D Bit[4:3], and compare function on timer 2. In addition, ROM
and RAM sizes on the SPMC65P2404A are less than on
SPMC65P2408A. For detailed memory information, please refer
to the following section. Major application fields are small home
appliance, industry controller, and battery charger. Main features
of these two devices are depicted in the next section.
2. FEATURES
SPMC65 CPU
− 182 instructions
− 11 addressing modes
− Up to 8MHz clock operation
− Supports bit operation instruction (Set, Clear, Inverse, Test)
Memories
− 4K bytes program memory (OTP) with security protection
(SPMC65P2404A)
− 8K bytes program memory (OTP) with security protection
(SPMC65P2408A)
− 192 bytes RAM including stack area (for 2404A)
− 256 bytes RAM including stack area (for 2408A)
I/O Ports
− 23 multifunction bi-directional I/Os (for 2404A)
− 27 multifunction bi-directional I/Os (for 2408A)
− All I/Os are Schmitt Trigger inputs
− Each incorporate with pull-up resistor, pull-down resistor or
floating input, depending on programmer’s settings on the
corresponding registers
− I/O ports with LED driving capability
− 2 I/O ports with 20mA current sink
Interrupt Management
− Interrupt option: NMI or IRQ for external interrupts.
− 4 external interrupts (One of them can be programmed as
NMI)
− 13 internal interrupts (for SPMC2408A)
− 12 Internal interrupts (for SPMC2404A)
Reset Management
− Enhanced reset system
− Power On Reset (POR)
− Low Voltage Reset (LVR)
− Watchdog Reset (WDR)
− External Reset (ERST)
− Illegal Address Reset (IAR)
Clock Management
− Three clock sources: RC-oscillation, crystal input and
external clock input
− Clock output capability for RC-oscillation
Power Management
− 2 power saving modes: STOP, HALT mode
2 Analog Peripheral
− 8-channel of 10-bit resolution A/D converter (100KHz)
− LVR: Low Voltage Reset (2.5V/4V)
Two channels of 8-bit Timers (Timer0, Timer2)
− Timers, event counter mode
− Capture with 8-bit width measurement
− 8-bit compare mode
Two channels of 16-bit Timers (Timer1, Timer3)
− Timers, Event counter mode
− Capture (8-bit with width/cycle measurement or 16-bit with
width measurement)
− 16-bit compare output
− 12-bit PWM output
Time Base Interval Timer
− Frequency: 1KHz to 62.5kHz @Fsys=8MHz (for 2404A)
− Frequency: 1Hz to 62.5kHz @Fsys=8MHz (for 2408A)
− 7 stages pre-scale option (for 2404A)
− 15 stages pre-scale option (for 2408A)
Buzzer output
− Frequency: 1kHz to 2MHz @Fsys=8MHz
− 12 stages pre-scale option
Configurable watchdog timer
− Frequency: 1.5Hz to 195Hz @Fsys=8MHz
Serial Bus interface
− SPI bus: up to 2MHz @Fsys=8MHz
Universal asynchronous receiver / transmitter interface
(2408A only)
− Baud rate: up to 38400 bps
© Sunplus Technology Co., Ltd.
Proprietary & Confidential
5
APR. 27, 2006
Version: 1.1
5 Page SPMC65P2404A/2408A
Decimal mode flag
This flag indicates what mode is operated by arithmetic operation.
SPMC65P2404A/2408A has two operation modes, binary mode
and decimal mode for arithmetic operation. Programmer can use
the instruction to alternate them.
Interrupt disable flag
This bit can enable or disable all interrupt except NMI interrupt
source. If this bit is set to ‘1’, CPU will ignore interrupt signal. On
the contrary, if this bit is set to ‘0’, CPU will accept interrupt signal.
Zero flag
This flag indicated the result of a data or arithmetic operation. If
the result is equal to zero, the zero flag is set to ‘1’. Contrary, this
bit is set to ‘0’ by other values.
Carry flag
This bit is set to ‘1 if the result of addition operation generates a
carry, or if the result of subtraction doesn’t generate a borrowing.
In addition, some shift instructions or rotate instructions also
change this bit.
7 6543210
NV - - D I ZC
Carry flag,
If carry flag is set, C=1
Zero flag
If arithme,tic or logic operation
results to zero, Z is set to 1;
therwise, Z=0
Interrupt disable flag
If interrupt disable flag is set, I=1, CPU will
ignore interrupt signal.
If interrupt disable flag is clear, I=0, CPU will
accept interrupt signal.
Decimal mode flag
If decimal is set, CPU will operate on decimal mode.
If decimal is clear, CPU will operate on binary mode.
Unused
Unused
Overflow flag
If over flow is set, V=1
If over flow is clear, V=0
Negative flag
If arithmetic or logic operation results to negative, N= 1
otherwise, N=0.
Figure 5.1-3 Status register
© Sunplus Technology Co., Ltd.
Proprietary & Confidential
11
APR. 27, 2006
Version: 1.1
11 Page |
Páginas | Total 30 Páginas | |
PDF Descargar | [ Datasheet SPMC65P2404A.PDF ] |
Número de pieza | Descripción | Fabricantes |
SPMC65P2404A | Micro Controllers | Sunplus |
Número de pieza | Descripción | Fabricantes |
SLA6805M | High Voltage 3 phase Motor Driver IC. |
Sanken |
SDC1742 | 12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters. |
Analog Devices |
DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares, |
DataSheet.es | 2020 | Privacy Policy | Contacto | Buscar |