KS88C01016 SAMSUNG | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 18
Technical content
KS88C01016/C01008/C01004/C01116/C01108/C01104 PRODUCT OVERV IEW 1- 1
1 PRODUCT OVERVIEW
Samsung's KS88 series of 8-bit single-chip CMOS microcontrollers offers a fast and efficient CPU, a wide range of integrated peripherals, and various mask-programmable ROM sizes. Important CPU features include: — Efficient regis ter-oriented architecture — Selectable CPU clock sources — Idle and Stop power-down mode release by interrupt — Built-in basic timer with watchdog function A sophisticated interrupt structure recognizes up to eight interrupt levels. Each level can have one or more interrupt sources and vectors. Fast interrupt processing (within a minimum six CPU clocks) can be assigned to specific interrupt levels. KS88C01016/C01008/C01004/C01116/C01108/C01104 MICROCONTROLLER The KS88C01016/C01008/C01004/C01116/C01108/C01104 single-chip CMOS microcontroller is fabricated using a highly advanced CMOS process and is based on Samsung's newest CPU architecture. The KS88C01016/C01008/C01004/C01116/C01108/C01104 is the microcontroller which has mask- programmable ROM. The KS88P01016/P01008/P01004/P01116/P01108/P01104 is the microcontroller which has one-time- programmable EPROM. Using a proven modular design approach, Samsung engineers developed the KS88C01016/C01008/C01004/C01116/C01108/C01104 by integrating the following peripheral modules with the powerful SAM87 RC core: — Three programmable I/O ports, including two 8 -bit ports and one 3-bit port, for a total of 19 pins. — Internal LVD circuit and eight bit-programmable pins for external interrupts. — One 8-bit basic timer for oscillation stabilization and watchdog functions (system reset). — One 8-bit timer/counter and one 16-bit timer/counter with selectable operating modes. — One 8-bit counter with auto-reload function and one-shot or repeat control. The KS88C01016/C01008/C01004/C01116/C01108/C01104 is a versatile general-purpose microcontroller which is especially suitable for use as remote transmitter controller. It is currently available in a 24-pin SOP and SDIP package
PRODUCT OVERVIEW K S88C01016/C01008/C01004/C01116/C01108/C01104 1- 2
FEATURES
- SAM87RC CPU core Memory
- Program memory (ROM) - KS88C01016/C01116: 15,872-byte (0000H-3E00H) - KS88C01008/C01108: 8-Kbyte (0000H-1FFFH) - KS88C01004/C01104: 4-Kbyte (0000H-0FFFH)
- Data memory: 256-byte RAM Instruction Set
- 78 instructions
- IDLE and STOP instructions added for power- down modes Instruction Execution Time
- 500 ns at 8-MHz f OSC (minimum) Interrupts
- 13 interrupt sources with 10 vector.
- 5 level, 10 vector interrupt structure I/O Ports
- Two 8-bit I/O ports (P0-P1) and one 3-bit port (P2) for a total of 19 bit-programmable pins
- Eight input pins for external interrupts Carrier Frequency Generator
- One 8-bit counter with auto-reload function and one-shot or repeat control (Counter A) Back-up mode
- When V DD is lower than V LVD , the chip enters Back-up mode to block oscillation and reduce the current consumption. Timers and Timer/Counters
- One programmable 8-bit basic timer (BT) for oscillation stabilization control or watchdog timer function
- One 8-bit timer/counter (Timer 0) with two operating modes; Interval mode and PWM mode.
- One 16-bit timer/counter with one operating modes; Interval mode Low Voltage Detect Circuit
- Low voltage detect for reset or Back-up mode.
- Low level detect voltage – KS88C01016/C01008/C01004 : 2.20V ( Typ) ±± 200 mV – KS88C01116/C01108/C01104 : 1.90V ( Typ) ±± 200 mV Auto Reset Function
- Reset occurs when stop mode is released by P0.
- When a falling edge is detected at Port 0 during Stop mode, system reset occurs. Operating Temperature Range Operating Voltage Range
- 1.7 V to 3.6 V at 4 MHz f OSC
- 2.0 V to 3.6 V at 8 MHz f OSC Package Type
- 24-pin SOP/SDIP
KS88C01016/C01008/C01004/C01116/C01108/C01104 PRODUCT OVERV IEW 1- 3 BLOCK DIAGRAM 8-bit Basic Timer P0.0-P0.7/INT0-INT4 P1.0-P1.7 Port I/O and Interrupt Control SAM87RI CPU Internal BusX IN X OUT Port 0(INTR) Port 1 Main OSC P2.0/T0PWM 15-Kbyte ROM 256-Byte Register File 8-bit Timer/ Counter 16-bit Timer/ Counter Port 2 Carrier Generator (Counter A) P2.1/REM P2.2 LVD TEST Figure 1-1. Block Diagram
PRODUCT OVERVIEW K S88C01016/C01008/C01004/C01116/C01108/C01104 1- 4 PIN ASSIGNMENTS V SS X IN X OUT TEST P0.0/INT0/INTR P0.1/INT1/INTR RESET /P0.2/INT2/INTR P0.3/INT3/INTR P0.4/INT4/INTR P0.5/INT4/INTR P0.6/INT4/INTR P0.7/INT4/INTR KS88 C0 1016/C01008 /C01004/C01116 /C01108/C01104 24-S OP/SDIP (TOP VIEW) V DD P2.2 P2.1/REM/ SCLK P2.0/T0PWN/T0CK/ SDAT P1.7 P1.6 P1.5 P1.4 P1.3 P1.2 P1.1 P1.0 Figure 1-2. Pin Assignment Diagram (24-Pin SOP/SDIP Package)
KS88C01016/C01008/C01004/C01116/C01108/C01104 PRODUCT OVERV IEW 1- 5 PIN DESCRIPTIONS Table 1-1. Pin Descriptions Pin Names Pin Type Pin
Description
P0.0-P0.7 I/O I/O port with bit-programmable pins. Configurable to input or push-pull output mode. Pull-up resistors are assignable by software. Pins can be assigned individually as external interrupt inputs with noise filters, interrupt enable/ disable, and interrupt pending control. Interrupt with Reset(INTR) is assigned to Port 0. 1 5-12 INT0 – INT4/INTR P1.0-P1.7 I/O I/O port with bit-programmable pins. Configurable to input mode or output mode. Pin circuits are either push-pull or n- channel open-drain type. Pull-up resistors are assignable by software. 2 13-20 P2.0 P2.1 P2.2 I/O 3-bit I/O port with bit-programmable pins. Configurable to input mode, push-pull output mode, or n-channel open-drain output mode. Input mode with pull-up resistors are assignable by software. The two pins of port2 have high current drive capability. 21-23 REM/T0CK X IN , X OUT – System clock input and output pins – 2,3 – TEST I Test signal input pin (for factory use only; must be connected to V SS ). – 4 – V DD – Power supply input pin – 24 – V SS – Ground pin – 1 –
PRODUCT OVERVIEW K S88C01016/C01008/C01004/C01116/C01108/C01104 1- 6 PIN CIRCUITS V DD Pull-up Enable V DD Input/Output Pull-up Resistor Output Disable Data V SS Noise filter External Interrupt Stop INTR (Interrupt with RESET) Figure 1-3. Pin Circuit Type 1 (Port 0) NOTE Interrupt with reset (INTR) is assigned to port 0 of KS88C01016/C01008/C01004/C01116/C01108 /C01104. It is designed to release stop status with reset. When the falling/rising edge is detected at any pin of Port 0 during stop status, non vectored interrupt INTR signal occurs, after then system reset occurs automatically. It is designed for a application which are using “stop mode” like remote controller. If stop mode is not used, INTR do not operates and it can be discarded.
KS88C01016/C01008/C01004/C01116/C01108/C01104 PRODUCT OVERV IEW 1- 7 PIN CIRCUITS (Continued ) V DD Pull-up Enable V DD Input/Output Pull-up Resistor Output Disable Data V SS Noise filter Normal Input Open-drain Figure 1-4. Pin Circuit Type 2 (Port 1)
PRODUCT OVERVIEW K S88C01016/C01008/C01004/C01116/C01108/C01104 1- 8 PIN CIRCUITS ( Continued) V DD Pull-up Enable V DD P2.0/T0PWN Pull-up Resistor (Typical 21K Ω ) Open-drain Port 2.0 Data V SS M U X P2.0 Input Output Disable Data T0_PWN P2CON.0 Figure 1-5. Pin Circuit Type 3 (P2.0)
KS88C01016/C01008/C01004/C01116/C01108/C01104 PRODUCT OVERV IEW 1- 9 PIN CIRCUITS (Continued) V DD Pull-up Enable V DD P2.1/REM/T0CK Pull-up Resistor (Typical 21K Ω ) Open-Drain Port 2.1 Data V SS P2.1 Input M U X P2CON.1 Data Output Disable Noise filterT0CK CAOF(CACON.0) Carrier On/Off (P2.5) Figure 1-6. Pin Circuit Type 4 (P2.1)
PRODUCT OVERVIEW K S88C01016/C01008/C01004/C01116/C01108/C01104 1- 10 PIN CIRCUITS (Continued) V DD Pull-up Enable V DD In/Out Pull-up Resistor (Typical 21K Ω ) Open-drain V SS Normal Input Output Disable Data Figure 1-7. Pin Circuit Type 5 (P2.2)
KS88C01016/C01018/C01004/C01116/C01108/C01104 ELECTRICAL DA TA 13- 1
13 ELECTRICAL DATA
In this section, KS88C01016/C01008/C01004/C01116/C01108/C01104 electrical characteristics are presented in tables and graphs. The information is arranged in the following order: — Absolute maximum ratings — D.C. electrical char acteristics — Data retention supply voltage in Stop mode — Stop mode release timing when initiated by a Reset — I/O capacitance — A.C. electrical characteristics — Input timing for external interrupts (port 0) — Oscillation characteristics — Oscillation stabilization time
ELECTRICAL DATA KS 88C01016/C01018/C01004/C01116/C01108/C01104 13- 2 Table 13-1. Absolute Maximum Ratings (T A = 25 °C) Parameter Symbol Conditions Rating Unit Supply voltage V DD – – 0.3 to + 6.5 V Input voltage V IN – – 0.3 to V DD + 0.3 V Output voltage V O All output pins – 0.3 to V DD + 0.3 V Output current High I OH One I/O pin active – 18 mA All I/O pins active – 60 Output current Low I OL One I/O pin active + 30 mA Total pin current for ports 0, 1, and 2 + 100 Total pin current for port 3 + 40 Operating temperature T A – – 40 to + 85 °C Storage temperature T STG – – 65 to + 150 °C Table 13-2. D.C. Electrical Characteristics (T A = – 40 °C to + 85 °C, V DD = 2.0 V to 3.6 V) Parameter Symbol Conditions Min Typ Max Unit Operating Voltage V DD fOSC = 8MHz (Instruction clock = 1.33 MHz) 2.0 – 3.6 V fOSC = 4MHz (Instruction clock = 0.67 MHz) 1.7 – 3.6 Input High voltage V IH1 All input pins except V IH2 and V IH3
0.8 V DD – V DD V
V IH2 X IN V DD – 0.3 V DD Input Low voltage V IL1 All input pins except V IL2 and V IL3 0 – 0.2 V DD V V IL2 X IN 0.3 Output High voltage V OH1 V DD = 2.4 V, I OH = – 6 mA Port 2.1 only, T A = 25 °C V DD – 0.7 V V OH2 V DD = 2.4 V, I OH = – 2.2mA Port 2.0, 2.2, T A = 25 °C V DD - 0.7 – – V OH3 V DD = 2.4 V, I OH = – 1 mA All output pins except Port2, T A = 25 °C V DD - 1.0 – –
KS88C01016/C01018/C01004/C01116/C01108/C01104 ELECTRICAL DA TA 13- 3 Table 13-2. D.C. Electrical Characteristics (Continued) (T A = – 40 °C to + 85 °C, V DD = 2.0 V to 3.6 V) Parameter Symbol Conditions Min Typ Max Unit Output Low voltage V OL1 V DD = 2.4 V, I OL = 12 mA, port 2.1 only, T A = 25 °C 0.4 0.5 V OL2 V DD = 2.4 V, I OL = 5 mA Port 2.0,2.2, T A = 25 °C - 0.4 0.5 V OL3 IOL = 1 mA Ports 0 and 1, T A = 25 °C 0.4 1.0 Input High leakage current ILIH1 V IN = V DD All input pins except X IN and X OUT – – 1 µA ILIH2 V IN = V DD , X IN and X OUT 20 Input Low leakage current ILIL1 V IN = 0 V All input pins except X IN , X OUT – – – 1 µA ILIL2 V IN = 0 V X IN and X OUT – 20 Output High leakage current ILOH V OUT = V DD All output pins – – 1 µA Output Low leakage current ILOL V OUT = 0 V All output pins – – – 1 µA Pull-up resistors R L1 V DD = 2.4V, V IN = 0 V; T A = 25 °C , Ports 0-2 44 55 95 K Ω Supply current (note) IDD1 V DD = 3.6 V ± 10% 8-MHz crystal - 5 9 mA 4-MHz crystal 2.6 5 IDD2 Idle mode; V DD = 3.6 V ± 10% 8-MHz crystal – 1.0 2.5 4-MHz crystal 0.7 2.0 IDD3 Stop mode; V DD = 3.6 V - 1 6 uA NOTE : Supply current does not include current drawn through internal pull-up resistors or external output current loads.
ELECTRICAL DATA KS 88C01016/C01018/C01004/C01116/C01108/C01104 13- 4 Table 13-3. Characteristics of Low Voltage Detect circuit Parameter Symbol Conditions Min Typ Max Unit Hysteresys Voltage of LVD (Slew Rate of LVD) ΔV – - 30 300 mV Low level detect voltage (KS88C01016/C01008/C01004) V LVD – 2.0 2.20 2.40 V Low level detect voltage (KS88C01116/C01108/C01104) V LVD – 1.70 1.90 2.1 V Table 13-4. Data Retention Supply Voltage in Stop Mode Parameter Symbol Conditions Min Typ Max Unit Data retention supply voltage V DDDR – 1.0 – 3.6 V Data retention supply current IDDDR V DDDR = 1.0 V Stop mode – – 1 µA Table 13-5. Input/Output Capacitance (T A = – 40 °C to + 85 °C, V DD = 0 V) Parameter Symbol Conditions Min Typ Max Unit Input capacitance C IN f = 1 MHz; unmeasured pins are connected to V SS — — 10 pF Output capacitance C OUT I/O capacitance C IO Table 13-6. A.C. Electrical Characteristics Parameter Symbol Conditions Min Typ Max Unit Interrupt input, High, Low width tINTH , tINTL P0.0–P0.7, V DD = 3.6 V 200 300 — ns
KS88C01016/C01018/C01004/C01116/C01108/C01104 ELECTRICAL DA TA 13- 5 tINTHtINTL
0.8 V DD
0.2 V DD
NOTE: The unit t CPU means one CPU clock period. Figure 13-1. Input Timing for External Interrupts (Port 0) Table 13-7. Oscillation Characteristics Oscillator Clock Circuit Conditions Min Typ Max Unit Crystal X OUT X IN C1 CPU clock oscillation frequency 1 – 8 MHz Ceramic XT OUT XT IN C1 CPU clock oscillation frequency 1 – 8 MHz External clock X OUT X INExternal Clock Open Pin X IN input frequency 1 – 8 MHz
ELECTRICAL DATA KS 88C01016/C01018/C01004/C01116/C01108/C01104 13- 6 Table 13-8. Oscillation Stabilization Time Oscillator Test Condition Min Typ Max Unit Main crystal fOSC > 400 kHz – – 20 ms Main ceramic Oscillation stabilization occurs when V DD is equal to the minimum oscillator voltage range. – – 10 ms External clock (main system) X IN input High and Low width (t XH , t XL ) 25 – 500 ns Oscillator stabilization wait time tWAIT when released by a reset (1) – 2 16 / fOSC – ms tWAIT when released by an interrupt (2) – – – ms NOTES : 1. fOSC is the oscillator frequency. 2. The duration of the oscillation stabilization time (t WAIT ) when it is released by an interrupt is determined by the setting in the basic timer control register, BTCON.
1.33 MHz
8.32 kHz 1 2 3 4 5 6 7 Supply Voltage (V) Instruction Clock = 1/6n x oscillator frequency (n = 1, 2, 8, 16) A 1.7 V: 4 MHz b 2.0 V: 8 MHz
1.00 MHz
A B 500 kHz 670 kHz Instruction Clock
8 MHz
6 MHz
Figure 13-2. Operating Voltage Range of KS88C01016/C01008/C01004/C01116/C01108/C01104
KS88C01016/C01018/C01004/C01116/C01108/C01104 MECHANICAL DA TA 14- 1
14 MECHANICAL DATA
The KS88C01016/C01008/C01004/C01116/C01108/C01104 microcontroller is currently available in a 24-pin SOP and SDIP package. NOTE : Dimensions are in millimeters. 24-SOP-375 10.30 ± 0 .30 #13#24 #1 #12
15.74 MAX
15.34 ± 0 .20 (0.69) 0-8 0.15 + 0.10 - 0.05 9.53 7.50 ± 0.20 0.85 ± 0.20 0.05 MIN 2.30 ± 0.10
2.50 MAX
0.38
0.10 MAX
+ 0.10 - 0.05 1.27 Figure 14-1. 24-Pin SOP Package Mechanical Data
MECHANICAL DATA KS88C01016 /C01018/C01004/C01116/C01108/C01104 14- 2 NOTE : Dimensions are in millimeters.
23.35 MAX
22.95 ± 0 .20 (1.70) 24-SDIP-300 6.40 ± 0 .20 #24 0.46 ± 0.10 0.89 ± 0.10 #13 #12 0-15 0.25 + 0.10- 0.05 7.623.25 ± 0.20
5.08 MAX
1.778
0.51 MIN
3.30 ± 0.30 Figure 14-2. 24-Pin SDIP Package Mechanical Data