S3C828B/F828B
/C8289/F8289
/C8285/F8285
8-BIT CMOS
MICROCONTROLLERS
USER'S MANUAL
Revision 1.3
Important Notice
The information in this publication has been carefully
checked and is believed to be entirely accurate at
the time of publication. Samsung assumes no
responsibility, however, for possible errors or
omissions, or for any consequences resulting from
the use of the information contained herein.
Samsung reserves the right to make changes in its
products or product specifications with the intent to
improve function or design at any time and without
notice and is not required to update this
documentation to reflect such changes.
This publication does not convey to a purchaser of
semiconductor devices described herein any license
under the patent rights of Samsung or others.
Samsung makes no warranty, representation, or
guarantee regarding the suitability of its products for
any particular purpose, nor does Samsung assume
any liability arising out of the application or use of
any product or circuit and specifically disclaims any
and all liability, including without limitation any
consequential or incidental damages.
"Typical" parameters can and do vary in different
applications. All operating parameters, including
"Typicals" must be validated for each customer
application by the customer's technical experts.
Samsung products are not designed, intended, or
authorized for use as components in systems
intended for surgical implant into the body, for other
applications intended to support or sustain life, or for
any other application in which the failure of the
Samsung product could create a situation where
personal injury or death may occur.
Should the Buyer purchase or use a Samsung
product for any such unintended or unauthorized
application, the Buyer shall indemnify and hold
Samsung and its officers, employees, subsidiaries,
affiliates, and distributors harmless against all
claims, costs, damages, expenses, and reasonable
attorney fees arising out of, either directly or
indirectly, any claim of personal injury or death that
may be associated with such unintended or
unauthorized use, even if such claim alleges that
Samsung was negligent regarding the design or
manufacture of said product.
S3C828B/F828B/C8289/F8289/C8285/F8285 8-Bit CMOS Microcontrollers
User's Manual, Revision 1.3
Publication Number: 21.3-S3-C828B/F828B/C8289/F8289/C8285/F8285-092005
© 2005 Samsung Electronics
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted in
any form or by any means, electric or mechanical, by photocopying, recording, or otherwise, without the prior
written consent of Samsung Electronics.
Samsung Electronics' microcontroller business has been awarded full ISO-14001
certification (BSI Certificate No. FM24653). All semiconductor products are
designed and manufactured in accordance with the highest quality standards and
objectives.
Samsung Electronics Co., Ltd.
San #24 Nongseo-Ri, Giheung- Eup
Yongin-City, Gyeonggi-Do, Korea
C.P.O. Box #37, Suwon 449-900
TEL: (82)-(031)-209-5238
FAX: (82)-(031)-209-6494
Home-Page URL: Http://www.samsungsemi.com
Printed in the Republic of Korea
NOTIFICATION OF REVISIONS
ORIGINATOR:
PRODUCT NAME:
DOCUMENT NAME:
DOCUMENT NUMBER:
EFFECTIVE DATE:
SUMMARY:
Samsung Electronics, LSI Development Group, Ki-Heung, South Korea
S3C828B/F828B/C8289/F8289/C8285/F8285 8-bit CMOS Microcontroller
S3C828B/F828B/C8289/F8289/C8285/F8285 User's Manual, Revision 1.3
21.3-S3-C828B/F828B/C8289/F8289/C8285/F8285-092005
September, 2005
As a result of additional product testing and evaluation, some specifications
published in S3C828B/F828B/C8289/F8289/C8285/F8285 User's Manual,
Revision 1.3, have been changed. These changes for in S3C828B/F828B/
C8289/F8289/C8285/F8285 microcontroller, which are described in detail in the
Revision Descriptions
section below, are related to the
followings:
—
Chapter 19. Embedded flash memory interface
—
Chapter 20. Electrical Data
DIRECTIONS:
Please note the changes in your copy (copies) of the S3C828B/F828B/C8289
/F8289/C8285/F8285 User’s Manual, Revision 1.3. Or, simply attach the
Revision
Descriptions
of the next page to S3C828B/F828B/C8289/F8289/C8285/F8285
User’s Manual, Revision 1.3.
REVISION HISTORY
Revision
0
1
1.1
1.2
1.3
April, 2005
June, 2005
July, 2005
September, 2005
Date
February, 2005
First edition.
Second edition.
Third edition.
Fourth edition.
Remark
Preliminary Spec for internal release only.
REVISION DESCRIPTIONS
1. CHAPTHER 20 ELECTRICAL DATA
Table 20-15. Internal Flash ROM Electrical Characteristics (page 20-15)
(T
A
= –25
°
C to + 85
°
C, V
DD
= 2.0 V to 3.6 V)
Parameter
Programming Time
(1)
Chip Erasing Time
(2)
Sector Erasing Time
(3)
Data Access Time
Number of Writing/Erasing
Symbol
Ftp
Ftp1
Ftp2
Ft
RS
FN
WE
–
Conditions
–
Min
30
50
10
–
–
Typ
–
–
–
25
–
Max
–
–
–
–
10,000
(4)
Unit
µs
ms
ms
ns
Times
NOTES:
1. The Programming time is the time during which one byte (8-bit) is programmed.
2. The Chip Erasing time is the time during which all 64K byte block is erased.
3. The Sector Erasing time is the time during which all 128 byte block is erased.
4. Maximum number of Writing/Erasing is 10,000 times for full-flash(S3F828B) and 100 times for half-flash
(S3F8289/F8285).
5. The Chip Erasing is available in Tool Program Mode only.
Table 20-6. A/D Converter Electrical Characteristics
(T
A
= –25
°C
to + 85
°C,
V
DD
= 2.7 V to 3.6 V, V
SS
= 0 V)
Parameter
Analog input voltage
Analog input
impedance
Analog reference
voltage
Symbol
V
IAN
R
AN
AV
REF
Conditions
–
–
–
Min
V
SS
2
2.0
Typ
–
1000
–
Max
AV
REF
–
V
DD
Unit
V
MΩ
V
2. CHAPTHER 19. EMBEDDED FLASH MEMORY INTERFACE
This chapter is modified for only S3F828B.
3. CHAPTHER 12. 16-BIT TIMER 0/1
The Figure12-2 condition ‘Match signal’ should be moved in the page 12-3.
Preface
The S3C828B/F828B/C8289/F8289/C8285/F8285
Microcontroller User's Manual
is designed for application
designers and programmers who are using the S3C828B/F828B/C8289/F8289/C8285/F8285 microcontroller for
application development. It is organized in two main parts:
Part I
Programming Model
Part II
Hardware Descriptions
Part I contains software-related information to familiarize you with the microcontroller's architecture, programming
model, instruction set, and interrupt structure. It has six chapters:
Chapter 1
Product Overview
Chapter 4
Control Registers
Chapter 2
Address Spaces
Chapter 5
Interrupt Structure
Chapter 3
Addressing Modes
Chapter 6
Instruction Set
Chapter 1, "Product Overview," is a high-level introduction to S3C828B/F828B/C8289/F8289/C8285/F8285 with
general product descriptions, as well as detailed information about individual pin characteristics and pin circuit
types.
Chapter 2, "Address Spaces," describes program and data memory spaces, the internal register file, and register
addressing. Chapter 2 also describes working register addressing, as well as system stack and user-defined
stack operations.
Chapter 3, "Addressing Modes," contains detailed descriptions of the addressing modes that are supported by the
S3C8-series CPU.
Chapter 4, "Control Registers," contains overview tables for all mapped system and peripheral control register
values, as well as detailed one-page descriptions in a standardized format. You can use these easy-to-read,
alphabetically organized, register descriptions as a quick-reference source when writing programs.
Chapter 5, "Interrupt Structure," describes the S3C828B/F828B/C8289/F8289/C8285/F8285 interrupt structure in
detail and further prepares you for additional information presented in the individual hardware module descriptions
in Part II.
Chapter 6, "Instruction Set," describes the features and conventions of the instruction set used for all S3C8-series
microcontrollers. Several summary tables are presented for orientation and reference. Detailed descriptions of
each instruction are presented in a standard format. Each instruction description includes one or more practical
examples of how to use the instruction when writing an application program.
A basic familiarity with the information in Part I will help you to understand the hardware module descriptions in
Part II. If you are not yet familiar with the S3C8-series microcontroller family and are reading this manual for the
first time, we recommend that you first read Chapters 1–3 carefully. Then, briefly look over the detailed
information in Chapters 4, 5, and 6. Later, you can reference the information in Part I as necessary.
Part II "hardware Descriptions," has detailed information about specific hardware components of the
S3C828B/F828B/C8289/F8289/C8285/F8285 microcontroller. Also included in Part II are electrical, mechanical,
Flash, and development tools data. It has 17 chapters:
Chapter 7
Clock Circuit
Chapter 16
Serial I/O Interface
Chapter 8
RESET and Power-Down
Chapter 17
UART
Chapter 9
I/O Ports
Chapter 18
Battery Level Detector
Chapter 10
Basic Timer
Chapter 19
Embedded Flash Memory
Chapter 11
8-bit Timer A/B
Chapter 20
Electrical Data
Chapter 12
16-bit Timer 0/1
Chapter 21
Mechanical Data
Chapter 22
S3F828B/F8289/F8285 Flash MCU
Chapter 13
Watch Timer
Chapter 23
Development Tools
Chapter 14
LCD Controller/Driver
Chapter 15
10-bit-to-Digital Converter
Two order forms are included at the back of this manual to facilitate customer order for S3C828B/F828B/C8289/
F8289/C8285/F8285 microcontrollers: the Mask ROM Order Form, and the Mask Option Selection Form. You can
photocopy these forms, fill them out, and then forward them to your local Samsung Sales Representative.
S3C828B/F828B/C8289/F8289/C8285/F8285 MICROCONTROLLER
iii