Features: • SAM87RI CPU core
Memory
• 208-byte general purpose register area (RAM)
• 4K/8K byte internal program memory (ROM)
Instruction Set
• 41 instructions
• The SAM87RI core provides all the SAM87 core instruction except the word-oriented instruction, multiplication, division, and some one-byte instruction
Instruction Execution Time
• 375 ns at 16 MHz fosc(minimum)
Interrupts
• 9 interrupt sources and 1 vector
• One interrupt level
General I/O
• Four I/O ports (total 24pins)
• Bit programmable ports
Serial I/O
• One synchronous serial I/O module
• Selectable transmit and receive rates
Multi-Master IIC-Bus
• Serial peripheral interface
Zero-Crossing Detection Circuit
• Zero crossing detection circuit that generates a digital signal in synchronism with an AC signal input
Built-in reset Circuit (LVD)
• Low voltage detector for safe reset
Timer/Counters
• One 8-bit basic timer for watchdog function
• One 8-bit timer/counter with three operating mode
• One 8-bit timer/counter
PWM module
• 12-bit PWM 2-ch (Max: 250KHz)
• 6-bit base + 6-bit extension frame
• One 8-bit timer/counter
A/D Converter
• 12 analog input pins
• 10-bit conversion resolution
Buzzer Frequency Range
• 200 Hz to 20 kHz signal can be generated
Oscillator Freqeuncy
• 1-MHz to 16-MHz external crystal oscillator
Maximum 16-MHz CPU clock
• RC: 4MHz(typ)
Operating Temperature Range
• 40 to + 85
Operating Voltage Range
• 3.0 V to 5.5 V (LVD)
• 1.8 V to 5.5 V (No LVD)
OTP Interface Protocol Spec
• Serial OTP
Package Types
• KS86C4204/C4208
32-pin SOP-450 (3V LVD)
30-pin SDIP-400 (3V LVD)
28-pin SOP-375PinoutSpecifications
Parameter |
Symbol |
Conditions |
Rating |
Unit |
Supply voltage |
VDD |
|
0.3 to + 6.5 |
V |
Input voltage |
VI |
All ports |
0.3 to VDD +0.3 |
V |
Output voltage |
VO |
All output ports |
0.3 to VDD + 0.3 |
V |
Output current High |
IOH |
One I/O pin active |
25 |
mA |
All I/O pins active |
80 |
Output current Low |
IOL |
One I/O pin active |
+30 |
mA
|
Total pin current for ports 1,2,3 |
+100 |
Total pin current for ports 0 |
+ 200 |
Operating temperature |
TA |
|
40 to + 85 |
|
Storage temperature |
TSTG |
|
65 to + 150 |
|
DescriptionThe KS86C4208 single-chip 8-bit microcontroller is fabricated using an advanced CMOS process. It is built around the powerful SAM87Ri CPU core. The KS86C4204is a versatile microcontroller, with its A/D converter, SIO, IIC and a zero-crossing detection capability it can be used in a wide range of general purpose applications.
Stop and Idle power-down modes were implemented to reduce power consumption. To increase on-chip register pace, the size of the internal register file was logically expanded. The KS86C4208 have 4-Kbyte or 8-Kbyte of program memory on-chip (ROM) and 208-bytes of general purpose register area RAM.
Using the SAM87Ri design approach, the following peripherals were integrated with the SAM87Ri core:
• Four configurable I/O ports (24 pins)
• Nine interrupt sources with one vector and one interrupt level
• Two 8-bit timer/counter with various operating modes
• Analog to digital converter with 12 input channels and 10-bit resolution
• One synchronous SIO module
• One IIC module
• Two 12-bit PWM output
The KS86C4208 microcontroller is ideal for use in a wide range of electronic applications requiring simple timer/counter, PWM, ADC, SIO, IIC, ZCD and capture functions. KS86C4208 is available in a 28/32-pin SOP and a 30-pin SDIP package.