-
CMOS single-chip 8-bit MCU
with 12-bit A/D converter
MC96F8208S
User’s manual
Main features
8-bit Microcontroller With High Speed 8051 CPU
Basic MCU Function
– 8Kbytes Flash Code Memory
– 512bytes SRAM
Built-in Analog Function
– Power-On Reset and Low Voltage Detect Reset
– Internal 16MHz RC Oscillator (±1.5%, T
A
= 0 ~ +50°C)
– Watchdog Timer RC Oscillator (5kHz)
Peripheral Features
– 12-bit Analog to Digital Converter (10 inputs)
– UART 8-bit x 1-ch
– SPI 8-bit x 1-ch
– I2C 8-bit x 1-ch
I/O and Packages
– Up to 18 Programmable I/O lines with 20 SOP
– 20 SOP, 20 PDIP, 20QFN, 16SOP
– Pb-free package
Operating Conditions
– 1.8V to 5.5V Wide Voltage Range
– -40°C to 85°C Temperature Range
Application
– Small Home Appliance
V 1.4
Revised 27 February, 2014
2
MC96F8208S
ABOV Semiconductor Co., Ltd.
Revision history
Version
Date
Revision list
0.0
2013.01.02
Published this book.
0.1
2013.01.24
Remove a Package Type “MC96F8208SV (16-DIP)”
0.2
2013.03.26
Add a Package Type “MC96F8208SU (20-QFN)”
1.0
2013.06.26
Add content related to “MC96F8208 EVA(MC96F8208OCD/OB/OU/OM)”
Add a Programmer Type “PGMplusLC Writer”
1.1
2013.07.15
Add a content of IOH/IOL in different table.
Remove a Package Type “MC96F8208SM (16-SOP)”
Remove content related to “MC96F8208OM(EVA)”
1.2
2014.02.27
Fix the byte count of instruction “DJNZ Rn,rel”
Add a current unit at DC Characteristics( IDD1,IDD2,IDD3,IDD4,IDD5)
Add a Package Type “MC96F8208SMN (16-SOP)”
1.3
2014.03.24
AVREF range changed from 1.8V~VDD to 2.7V~VDD.
1.4
2014.04.14
Revised this book.
AVREF range changed from 2.7V~VDD to 1.8V~VDD.
Add “Instructions on how to use the input port.” on appendix.
Version 1.4
Published by FAE team
2014 ABOV Semiconductor Co. Ltd. all rights reserved.
Additional information of this manual may be served by ABOV Semiconductor offices in Korea or distributors.
ABOV Semiconductor reserves the right to make changes to any information here in at any time without notice.
The information, diagrams and other data in this manual are correct and reliable;
however, ABOV Semiconductor is in no way responsible for any violations of patents or other rights of the third
party generated by the use of this manual.
3
MC96F8208S
ABOV Semiconductor Co., Ltd.
1 Overview
1.1. Description
The MC96F8208S is advanced CMOS 8-bit microcontroller with 16 Kbytes of FLASH. This is powerful microcontroller
which provides a highly flexible and cost effective solution to many embedded control applications. This provides the
following features : 8k bytes of FLASH, 256 bytes of IRAM, 256 bytes of XRAM , general purpose I/O, basic interval
timer, watchdog timer, 8/16-bit timer/counter, 16-bit PPG output, 8-bit PWM output, watch timer, buzzer driving port,
SPI, UART, I2C, 12-bit A/D converter, on-chip POR, LVR, LVI, on-chip oscillator and clock circuitry. The MC96F8208S
also supports power saving modes to reduce power consumption.
Device Name
EVA
FLASH
XRAM
IRAM
Package
MC96F8208SD
MC96F8208OCD
8 Kbytes FLASH
256 bytes
256 bytes
20 SOP
MC96F8208SB
MC96F8208OB
20 PDIP
MC96F8208SU
MC96F8208OU
20 QFN
MC96F8208SMN
MC96F8208OMN
16 SOP
Table 1.1 Ordering Information of MC96F8208S
4
MC96F8208S
ABOV Semiconductor Co., Ltd.
1.2 Features
CPU
– 8-bit CISC core (M8051, 2 clocks per cycle)
ROM (FLASH) Capacity
– 8 Kbytes Flash with self read/write capability
– In-System Programming(ISP)
– Endurance : 10,000 times(Sector 0~247 )
100,000 times(Sector 248~255)
256bytes IRAM
256bytes XRAM
General Purpose I/O (GPIO)
– Normal I/O : 18 Ports
(P0[3:0], P1[6:1], P2[5:4], P3[7:5/2:0])
Timer/Counter
– Basic Interval Timer (BIT) 8-bit× 1-ch
– Watch Dog Timer (WDT) 8-bit× 1-ch
– 5kHz internal RC oscillator
– 8-bit× 1-ch(T0), 16-bit× 2-ch (T1/T2)
Programmable Pulse Generation
– Pulse generation (by T1/T2)
– 8-Bit PWM (by T0)
Watch Timer (WT)
– 3.91ms/0.25s/0.5s/1s/1min interval at 4.194304MHz
Buzzer
– 8-bit× 1-ch
SPI 2
– 8-bit× 1-ch
UART
– 8-bit× 1-ch
I2C
– 8-bit× 1-ch
12-bit A/D Converter
– 10 Input channels
– Power down wake-up function
Power On Reset
– Reset release level (1.4V)
Low Voltage Reset
– 14 level detect (1.60/ 2.00/ 2.10/ 2.20/ 2.32/ 2.44/
2.59/ 2.75/ 2.93/ 3.14/ 3.38/ 3.67/ 4.00/ 4.40V)
Low Voltage Indicator
– 13 level detect (2.00 / 2.10/ 2.20/ 2.32/ 2.44/ 2.59/
2.75/ 2.93/ 3.14/ 3.38/ 3.67/ 4.00/ 4.40V)
Interrupt Sources
– External Interrupts
(EINT0~2, EINT5, EINT6, EINT10, EINT11, EINT12)
(6)
– Timer(0/1/2) (4)
– WDT (1)
– BIT (1)
– WT (1)
– SPI (1)
– UART (2)
– I2C (1)
– ADC (1)
– ADC Wake-up (1)
Internal RC Oscillator
– Internal RC frequency:
16MHz ±1.5% (T
A
= 0 ~ +50°C, V
DD
=2.0V ~ 5.5V)
Power Down Mode
– STOP, IDLE mode
Operating Voltage and Frequency
– 1.8V ~ 5.5V (@ 0.4 ~ 4.2MHz with X-tal)
– 2.7V ~ 5.5V (@ 0.4 ~ 10.0MHz with X-tal)
– 3.0V ~ 5.5V (@ 0.4 ~ 12.0MHz with X-tal)
– 1.8V ~ 5.5V (@ 0.5 ~ 8.0MHz with Internal RC)
– 2.0V ~ 5.5V (@ 0.5 ~ 16.0MHz with Internal RC)
– Voltage dropout converter included for core
Minimum Instruction Execution Time
– 125ns (@16MHz main clock)
Operating Temperature
– –40 ~ +85℃
Oscillator Type
– 0.4-12MHz Crystal or Ceramic for main clock
• Package Type
– 20 SOP
– 20 PDIP
– 20 QFN
– 16 SOP
– Pb-free package
5
MC96F8208S
ABOV Semiconductor Co., Ltd.
2
User VCC
1
3
4
5
6
7
8
10
9
User GND
DSCL
DSDA
1.3 Development tools
1.3.1 Compiler
We do not provide the compiler. Please contact the third parties.
The core of MC96F8208S is Mentor 8051. And, device ROM size is smaller than 64k bytes. Developer can use all
kinds of third party’s standard 8051 compiler.
1.3.2 OCD(On-chip debugger) emulator and debugger
The OCD (On Chip Debug) emulator supports ABOV Semiconductor’s 8051 series MCU emulation.
The OCD interface uses two-wire interfacing between PC and MCU which is attached to user’s system. The OCD can
read or change the value of MCU internal memory and I/O peripherals. And the OCD also controls MCU internal
debugging logic, it means OCD controls emulation, step run, monitoring, etc.
The OCD Debugger program works on Microsoft-Windows NT, 2000, XP, Vista (32bit) operating system.
If you want to see more details, please refer to OCD debugger manual. You can download debugger S/W and manual
from our web-site.
Connection:
− DSCL (MC96F8208 EVA P01 port)
− DSDA (MC96F8208 EVA P00 port)
NOTE)
1. MC96F8208S does not support the OCD function. MC96F8208 EVA should be used for debugging.
2. MC96F8208 EVA is MC96F8208OCD, MC96F8208OB, MC96F8208OMN and MC96F8208OU.
OCD connector diagram: Connect OCD with user system
Figure 1.1 debugger and pin description