SAMSUNG K9S3208V0A-SSB0

SmartMediaTM
K9S3208V0A-SSB0
Document Title
4M x 8 bit SmartMedia TM Card
Revision History
Revision No. History
Draft Date
Remark
0.0
Initial Issue
April 10th 1999
Final
0.1
1. Revised real-time map-out algorithm(refer to technical notes)
2. Changed voltage-density model marking method on SmartMedia
July 23th 1999
Final
0.2
Changed device name
- SMFV004A -> K9S3208V0A-SSB0
Sep. 15th 1999
Final
0.3
1. Changed invalid block(s) marking method prior to shipping
- Physical format standard specifies that block status is defined by the
6th byte in the spare area. Samsung makes sure that the first page of
every invalid block has 00h data at the column address of 517(4MB
SmartMedia and higher densities) or 261(2MB SmartMedia).
--> Physical format standard by SSFDC Forum specifies that for the
invalid blocks the 6th byte in the spare area (column address 517 for
4MB SmartMedia and higher densities, 261 for 2MB SmartMedia,
respectively) contains two or more "0" bits to indicate a invalid block.
July 17th 2000
Final
Note : For more detailed features and specifications including FAQ, please refer to Samsung’s Flash web site.
http://www.intl.samsungsemi.com/Memory/Flash/datasheets.html
The attached datasheets are prepared and approved by SAMSUNG Electronics. SAMSUNG Electronics CO., LTD. reserve the right
to change the specifications. SAMSUNG Electronics will evaluate and reply to your requests and questions about device. If you have
any questions, please contact the SAMSUNG branch office near you.
1
SmartMediaTM
K9S3208V0A-SSB0
4M x 8 Bit SmartMediaTM Card
FEATURES
GENERAL DESCRIPTION
• Single 3.3 volt Supply
• Organization
- Memory Cell Array : (4M + 128K)bit x 8bit
- Data Register
: (512 + 16)bit x8bit
• Automatic Program and Erase
- Page Program : (512 + 16)Byte
- Block Erase : (8K + 256)Byte
- Status Register
• 528-Byte Page Read Operation
- Random Access
: 10µs(Max.)
- Serial Page Access : 50ns(Min.)
• Fast Write Cycle Time
- Program Time
: 250µs(Typ.)
- Block Erase Time : 2ms(Typ.)
• Command/Address/Data Multiplexed I/O port
• Hardware Data Protection
- Program/Erase Lockout During Power Transitions
• Reliable CMOS Floating-Gate Technology
- Endurance : 1Million Program/Erase Cycles
- Data Retention : 10 years
• Command Register Operation
The K9S3208V0A is a 4M(4,194,304)x8bit NAND Flash Memory with a spare 128K(131,072)x8bit. Its NAND cell provides
the most cost-effective solution for the solid state mass storage
market. A program operation programs the 528-byte page in
typically 250µs and an erase operation can be performed in
typically 2ms on an 8K-byte block.
Data in the page can be read out at 50ns cycle time per byte.
The I/O pins serve as the ports for address and data input/output as well as command inputs. The on-chip write controller
automates all program and erase system functions, including
pulse repetition, where required, and internal verify and margining of data. Even the write-intensive systems can take advantage of the K9S3208V0A extended reliability of one million
program/erase cycles by providing ECC(Error Correction Code)
with real time mapping-out algorithm.
The K9S3208V0A is an optimum solution for large nonvolatile
storage application such as solid state storage, digital voice
recorder, digital still camera and other portable applications
requiring nonvolatility.
• 22 pad SmartMedia TM(SSFDC)
SmartMediaTM CARD(SSFDC)
PIN DESCRIPTION
Pin Name
12
22
I/O0 ~ I/O 7
Pin Function
Data Inputs/Outputs
1
VSS
21 CE
2
CLE
CLE
Command Latch Enable
20 RE
3
ALE
ALE
Address Latch Enable
19 R/B
4
WE
CE
Chip Enable
18 GND
5
WP
Read Enable
22 VCC
17 VCC
11
1
6
I/O0
RE
7
I/O1
WE
Write Enable
15 I/O6
8
I/O2
WP
Write Protect
14 I/O5
9
I/O3
13 I/O4
10 VSS
12 VCC
11 VSS
16 I/O7
3V 4MB
22 PAD SmartMedia TM
NOTE : Connect all VCC and VSS pins of each device to power supply outputs.
Do not leave VCC or V SS disconnected.
2
GND
Graund
R/B
Ready/Busy output
VCC
Power
VSS
Ground
N.C
No Connection
SmartMediaTM
K9S3208V0A-SSB0
Figure 1. FUNCTIONAL BLOCK DIAGRAM
VCC
VSS
Y-Gating
2nd half Page Register & S/A
X-Buffers
Latches
& Decoders
A9 - A21
32M + 1M Bit
NAND Flash
ARRAY
Y-Buffers
Latches
& Decoders
A 0 - A7
(512 + 16)Byte x 8192
1st half Page Register & S/A
A8
Y-Gating
Command
Command
Register
CE
RE
WE
VCC
VSS
I/O Buffers & Latches
Control Logic
& High Voltage
Generator
Output
Driver
Global Buffers
I/00
I/07
CLE ALE WP
Figure 2. ARRAY ORGANIZATION
1 Block =16 pages
= (8K + 256) Bytes
32M : 8K Pages
(=512 Blocks)
1st half Page Register
2nd half Page Register
(=256 Bytes)
(=256 Bytes)
1 Page = 528 Bytes
1 Block = 528 Bytes x 16 Pages
= (8K + 256) Bytes
1 Device = 528Bytes x 16Pages x 512 Blocks
= 33 Mbits
8 bit
512Bytes
16Bytes
Page Register
512Bytes
I/O0
I/O1
I/O2
I/O0~I/O7
16Bytes
I/O3
I/O4
I/O5
I/O6
I/O 7
1st Cycle
A0
A1
A2
A3
A4
A5
A6
A7
Column Address
2nd Cycle
A9
A10
A11
A12
A13
A14
A15
A16
Row Address
3rd Cycle
A17
A18
A19
A20
A21
*X
*X
*X
(Page Address)
NOTE : Column Address : Starting Address of the Register.
00h Command(Read) : Defines the starting Address of the 1st half of the Register.
01h Command(Read) : Defines the sarting Address of the 2nd half of the Register.
* A8 is set to "Low" or "High" by the 00h or 01h Command.
* X can be High or Low.
3
SmartMediaTM
K9S3208V0A-SSB0
PRODUCT INTRODUCTION
The K9S3208V0A is a 33Mbit(34,603,008 bit) memory organized as 8192 rows(pages) by 528 columns. Spare sixteen columns are
located from column address of 512 to 527. A 528-byte data register is connected to memory cell arrays accommodating data transfer between the I/O buffers and memory during page read and page program operations. The memory array is made up of 16 cells
that are serially connected to form a NAND structure. Each of the 16 cells resides in a different page. A block consists of the 16
pages formed by one NAND structures, totaling 4,224 NAND structures of 16 cells. The array organization is shown in Figure 2. The
program and read operations are executed on a page basis, while the erase operation is executed on block basis. The memory array
consists of 512 separately or grouped erasable 8K-byte blocks. It indicates that the bit by bit erase operation is prohibited on the
K9S3208V0A.
The K9S3208V0A has addresses multiplexed into 8 I/O′s. This scheme dramatically reduces pin counts and allows systems
upgrades to future densities by maintaining consistency in system board design. Command, address and data are all written through
I/O′s by bringing WE to low while CE is low. Data is latched on the rising edge of WE. Command Latch Enable(CLE) and Address
Latch Enable(ALE) are used to multiplex command and address respectively, via the I/O pins. All commands require one bus cycle
except for Block Erase command which requires two cycles : a cycle for erase-setup and another for erase-execution after block
address loading. The 4M byte physical space requires 22 addresses, thereby requiring three cycles for byte-level addressing: column
address, low row address and high row address, in that order. Page Read and Page Program need the same three address cycles
following the required command input. In Block Erase operation, however, only the two row address cycles are used.
Device operations are selected by writing specific commands into the command register. Table 1 defines the specific commands of
the K9S3208V0A.
Table 1. COMMAND SETS
Function
Read 1
1st. Cycle
2nd. Cycle
Acceptable Command during Busy
-
(1)
00h/01h
Read 2
50h
-
Read ID
90h
-
Reset
FFh
-
Page Program
80h
10h
Block Erase
60h
D0h
Read Status
70h
-
NOTE : 1. The 00h command defines starting address of the 1st half of registers.
The 01h command defines starting address of the 2nd half of registers.
After data access on the 2nd half of register by the 01h command, the status pointer is
automatically moved to the 1st half register(00h) on the next cycle.
4
O
O
SmartMediaTM
K9S3208V0A-SSB0
PIN DESCRIPTION
Command Latch Enable(CLE)
The CLE input controls the path activation for commands sent to the command register. When active high, commands are latched
into the command register through the I/O ports on the rising edge of the WE signal.
Address Latch Enable(ALE)
The ALE input controls the activating path for address to the internal address registers. Addresses are latched on the rising edge of
WE with ALE high.
Chip Enable(CE)
The CE input is the device selection control. When CE goes high during a read operation the device is returned to standby mode.
However, when the device is in the busy state during program or erase, CE high is ignored, and does not return the device to standby
mode.
Write Enable(WE)
The WE input controls writes to the I/O port. Commands, address and data are latched on the rising edge of the WE pulse.
Read Enable(RE)
The RE input is the serial data-out control, and when active drives the data onto the I/O bus. Data is valid tREA after the falling edge
of RE which also increments the internal column address counter by one.
I/O Port : I/O 0~I/O7
The I/O pins are used to input command, address and data, and to output data during read operations. The I/O pins float to high-z
when the chip is deselected or when the outputs are disabled.
Write Protect(WP)
The WP pin provides inadvertent write/erase protection during power transitions. The internal high voltage generator is reset when
the WP pin is active low.
Ready/Busy(R/B)
The R/B output indicates the status of the device operation. When low, it indicates that a program, erase or random read operation is
in process and returns to high state upon completion. It is an open drain output and does not float to high-z condition when the chip
is deselected or when outputs are disabled.
5
SmartMediaTM
K9S3208V0A-SSB0
ABSOLUTE MAXIMUM RATINGS
Parameter
Symbol
Rating
Unit
VIN
-0.6 to +4.6
V
Temperature Under Bias
TBIAS
-10 to +65
°C
Storage Temperature
TSTG
-20 to +65
°C
Voltage on any pin relative to V SS
NOTE :
1. Minimum DC voltage is -0.3V on input/output pins. During transitions, this level may undershoot to -2.0V for periods <30ns.
Maximum DC voltage on input/output pins is VCC+0.3V which, during transitions, may overshoot to V CC+2.0V for periods <20ns.
2. Permanent device damage may occur if ABSOLUTE MAXIMUM RATINGS are exceeded. Functional operation should be restricted to the conditions
as detailed in the operational sections of this data sheet. Exposure to absolute maximum rating conditions for extended periods may affect reliability.
RECOMMENDED OPERATING CONDITIONS
(Voltage reference to GND, TA=0 to 55°C)
Parameter
Symbol
Min
Typ.
Max
Unit
Supply Voltage
VCC
3.0
3.3
3.6
V
Supply Voltage
VSS
0
0
0
V
DC AND OPERATING CHARACTERISTICS(Recommended operating conditions otherwise noted.)
Parameter
Operating
Current
Sequential Read
Symbol
ICC1
Test Conditions
tRC=50ns, CE=VIL, IOUT=0mA
Min
Typ
Max
-
10
20
Program
ICC2
-
-
10
20
Erase
ICC3
-
-
10
20
Stand-by Current(TTL)
ISB1
CE=VIH, WP=0V/VCC
-
-
1
Stand-by Current(CMOS)
ISB2
CE=VCC-0.2, WP=0V/V CC
-
10
50
Input Leakage Current
ILI
VIN=0 to 3.6V
-
-
±10
Output Leakage Current
ILO
VOUT=0 to 3.6V
-
-
±10
Input High Voltage, All inputs
VIH
-
2.0
-
VCC+0.3
Input Low Voltage, All inputs
VIL
-
-0.3
-
0.8
Output High Voltage Level
VOH
IOH=-400µA
2.4
-
-
Output Low Voltage Level
VOL
IOL=2.1mA
-
-
0.4
Output Low Current(R/B)
IOL(R/B)
VOL=0.4V
8
10
-
6
Unit
mA
µA
V
mA
SmartMediaTM
K9S3208V0A-SSB0
VALID BLOCK
Parameter
Valid Block Number
Symbol
Min
Typ.
Max
Unit
NVB
502
508
511
Blocks
NOTE :
1. The K9S3208V0A may include invalid blocks when first shipped. Additional invalid blocks may develop while being used. The number of valid
blocks is presented with both cases of invalid blocks considered. Invalid blocks are defined as blocks that contain one or more bad bits. Do not try
to access these invalid blocks for program and erase. Refer to the attached technical notes for a appropriate management of invalid blocks.
AC TEST CONDITION
(TA=0 to 55°C, VCC=3.3V ±10% unless otherwise noted)
Parameter
Value
Input Pulse Levels
0.4V to 2.4V
Input Rise and Fall Times
5ns
Input and Output Timing Levels
0.8V and 2.0V
Output Load
1 TTL GATE and CL=100pF
CAPACITANCE(TA=25°C, V CC=3.3V, f=1.0MHz)
Symbol
Test Condition
Min
Max
Unit
Input/Output Capacitance
Item
CI/O
VIL=0V
-
10
pF
Input Capacitance
CIN
VIN=0V
-
10
pF
NOTE : Capacitance is periodically sampled and not 100% tested.
MODE SELECTION
CLE
ALE
CE
WE
RE
WP
H
L
L
H
H
L
L
L
L
L
L
L
H
Mode
L
H
X
L
H
X
L
L
H
H
H
L
H
H
H
H
Data Input
X
Sequential Read & Data Output
Command Input
Read Mode
Address Input(3clock)
Command Input
Write Mode
Address Input(3clock)
L
L
L
H
H
X
During Read(Busy)
X
X
X
X
X
H
During Program(Busy)
X
X
X
X
X
H
During Erase(Busy)
X
X(1)
X
X
X
L
Write Protect
X
X
H
X
X
0V/V
CC(2)
Stand-by
NOTE : 1. X can be VIL or VIH
2. WP should be biased to CMOS high or CMOS low for standby.
Program/Erase Characteristics
Parameter
Program Time
Symbol
Min
Typ
Max
Unit
tPROG
-
0.25
1.5
ms
Number of Partial Program Cycles in the Same Page
Nop
-
-
10
cycles
Block Erase Time
tBERS
-
2
10
ms
7
SmartMediaTM
K9S3208V0A-SSB0
AC Timing Characteristics for Command / Address / Data Input
Symbol
Min
Max
Unit
CLE Set-up Time
Parameter
tCLS
0
-
ns
CLE Hold Time
tCLH
10
-
ns
CE Setup Time
tCS
0
-
ns
CE Hold Time
tCH
10
-
ns
WE Pulse Width
tWP
25
-
ns
ALE Setup Time
tALS
0
-
ns
ALE Hold Time
tALH
10
-
ns
Data Setup Time
tDS
20
-
ns
Data Hold Time
tDH
10
-
ns
Write Cycle Time
tWC
50
-
ns
WE High Hold Time
tWH
15
-
ns
AC Characteristics for Operation
Parameter
Symbol
Min
Max
Unit
tR
-
10
µs
ALE to RE Delay(read ID)
tAR1
150
-
ns
Data Transfer from Cell to Register
ALE to RE Delay(Read cycle)
tAR2
50
-
ns
CE to RE Delay(ID read)
tCR
100
-
ns
Ready to RE Low
tRR
20
-
ns
RE Pulse Width
tRP
30
-
ns
WE High to Busy
tWB
-
100
ns
Read Cycle Time
tRC
50
-
ns
RE Access Time
tREA
-
35
ns
RE High to Output Hi-Z
tRHZ
15
30
ns
CE High to Output Hi-Z
tCHZ
-
20
ns
RE High Hold Time
tREH
15
-
ns
Output Hi-Z to RE Low
tIR
0
-
ns
Last RE High to Busy(at sequential read)
tRB
-
100
ns
CE High to Ready(in case of interception by CE at read)
tCRY
-
CE High Hold Time(at the last serial read)(2)
tCEH
100
-
ns
50 +tr(R/B)
(1)
ns
RE Low to Status Output
tRSTO
-
35
ns
CE Low to Status Output
tCSTO
-
45
ns
RE High to WE Low
tRHW
0
-
ns
WE High to RE Low
tWHR
60
-
ns
RE access time(Read ID)
tREADID
-
35
ns
tRST
-
5/10/500
µs
Device Resetting Time(Read/Program/Erase)
NOTE :
1. The time to Ready depends on the value of the pull-up resistor tied R/B pin.
2. To break the sequential read cycle, CE must be held high for longer time than tCEH.
8
SmartMediaTM
K9S3208V0A-SSB0
SmartMedia Technical Notes
Invalid Block(s)
Invalid blocks are defined as blocks that contain one or more invalid bits whose reliability is not guaranteed by Samsung. The information regarding the invalid block(s) is so called as the invalid block information. An invalid block(s) does not affect the performance
of valid block(s) because it is isolated from the bit line and the common source line by a select transistor. The system design must be
able to mask out the invalid block(s) via address mapping.
Identifying Invalid Block(s)
SSFDC Forum specifies the logical format and physical format to ensure compatibility of SmartMedia. Samsung pre-formats SmartMedia in the Forum-compliant format prior to shipping. Physical format standard by SSFDC Forum specifies that for the invalid
blocks the 6th byte in the spare area (column address 517 for 4MB SmartMedia and higher densities, 261 for 2MB SmartMedia,
respectively) contains two or more "0" bits to indicate a invalid block. Other than the blocks with format data and the invalid blocks
are erased(FFh). Since the invalid block information is also erasable in most cases, it is impossible to recover the information once it
has been erased. Therefore, the system must be able to recognize the invalid block(s) based on the original invalid block information
and create the invalid block table via the following suggested flow chart(Figure 1). Any intentional erasure of the original invalid block
information is prohibited.
Start
Set Block Address = 0
Increment Block Address
Create (or update)
Invalid Block(s) Table
No
*
Check "FFh" at the column address
517 of the first page in the block
Check "FFh" ?
Yes
No
Last Block ?
Yes
End
Figure 1. Flow chart to create invalid block table.
9
SmartMediaTM
K9S3208V0A-SSB0
SmartMedia Technical Notes (Continued)
Error in write or read operation
Over its life time, the additional invalid blocks may develop with NAND Flash memory. Refer to the qualification report for the actual
data.The following possible failure modes should be considered to implement a highly reliable system. In the case of status read failure after erase or program, block replacement should be done. To improve the efficiency of memory space, it is recommended that
the read or verification failure due to single bit error be reclaimed by ECC without any block replacement. The said additional block
failure rate does not include those reclaimed blocks.
Failure Mode
Write
Read
ECC
Detection and Countermeasure sequence
Erase Failure
Status Read after Erase --> Block Replacement
Program Failure
Status Read after Program --> Block Replacement
Read back ( Verify after Program) --> Block Replacement
or ECC Correction
Single Bit Failure
Verify ECC -> ECC Correction
: Error Correcting Code --> Hamming Code etc.
Example) 1bit correction & 2bit detection
Program Flow Chart
If ECC is used, this verification
operation is not needed.
Start
Write 00h
Write 80h
Write Address
Write Address
Wait for tR Time
Write Data
Write 10h
Verify Data
Read Status Registe
No
*
Program Error
Yes
Program Completed
I/O 6 = 1 ?
or R/B = 1 ?
*
Program Error
Yes
No
No
*
I/O 0 = 0 ?
Yes
10
: If program operation results in an error, map out
the block including the page in error and copy the
target data to another block.
SmartMediaTM
K9S3208V0A-SSB0
SmartMedia Technical Notes (Continued)
Erase Flow Chart
Read Flow Chart
Start
Start
Write 60h
Write 00h
Write Block Address
Write Address
Write D0h
Read Data
Read Status Register
ECC Generation
No
I/O 6 = 1 ?
or R/B = 1 ?
*
Erase Error
Reclaim the Error
Verify ECC
Yes
Yes
No
No
Page Read Completed
I/O 0 = 0 ?
Yes
Erase Completed
*
: If erase operation results in an error, map out
the failing block and replace it with another block.
Block Replacement
Buffer
memory
error occurs
Page a
Block A
Block B
11
When the error happens with page "a" of Block "A", try
to write the data into another Block "B" from an external buffer. Then, prevent further system access to
Block "A" (by creating a "invalid block" table or other
appropriate scheme.)
SmartMediaTM
K9S3208V0A-SSB0
Pointer Operation of K9S3208V0A
The K9S3208V0A has three modes to set the destination of the pointer. The pointer is set to "A" area by the "00h" command, to "B"
area by the "01h" command, and to "C" area by the "50h" command. Table 1 shows the destination of the pointer, and figure 2 shows
the block diagram of its operations.
Table 1. Destination of the pointer
Command
Pointer position
Area
00h
01h
50h
0 ~ 255 byte
256 ~ 511 byte
512 ~ 527 byte
1st half array(A)
2nd half array(B)
spare array(C)
"A" area
(00h plane)
"B" area
(01h plane)
256 Byte
256 Byte
"A"
"B"
"C" area
(50h plane)
16 Byte
"C"
Internal
Page Register
Pointer select
commnad
(00h, 01h, 50h)
Pointer
Figure 2. Block Diagram of Pointer Operation
Example of Programming with Successive Pointer Operation
(1) "A" area program
Address / Data input
50h
00h
"C" area
80h
10h
"A" area
Address / Data input
80h
10h
"A" area program
"A" area program
(2) "B" area program
Address / Data input
00h
01h
"A" area
80h
10h
"B" area
Address / Data input
80h
10h
"B" area program
"A" area program
(3) "C" area program
Address / Data input
00h
50h
"A" area
80h
10h
"C" area
Address / Data input
80h
"C" area program
Table 2. Pointer Status after each operation
Operation
Program
Pointer status after operation
With previous 00h, Device is set to 00h Plane
With previous 01h, Device is set to 00h Plane*
With previous 50h, Device is set to 50h Plane
Reset
"00h" Plane("A" area)
Power up
"00h" Plane("A" area)
* 01H command is valid just one time when it is used as a pointer for program/erase.
* Erase operation does not affect the pointer status. Previous pointer status is maintained.
12
10h
"C" area program
SmartMediaTM
K9S3208V0A-SSB0
System Interface Using CE don’t-care.
For a easier system interface, CE may be inactive during the data-loading or sequential data-reading as shown below. The internal
528byte page registers are utilized as seperate buffers for this operation and the system design gets more flexible. In addition, for
voice or audio applications which use slow cycle time on the order of u-seconds, de-activating CE during the data-loading and reading would provide significant savings in power consumption.
Figure 3. Program Operation with CE don’t-care.
CLE
CE don’t-care
≈
≈
CE
WE
ALE
I/O0~7
80h
Start Add.(3Cycle)
Data Input
Data Input
(Min. 10ns)
10h
(Max. 45ns)
tCS
tCH
tCEA
CE
CE
tREA
RE
tWP
WE
I/O0~7
Timing requirements : If CE is is exerted high during data-loading,
tCS must be minimum 10ns and tWC must be increased accordingly.
out
Timing requirements : If CE is is exerted high during sequential
data-reading, the falling edge of CE to valid data(tCEA) must
be kept greater than 45ns.
Figure 4. Read Operation with CE don’t-care.
CLE
CE don’t-care
Must be held
low during tR.
≈
CE
RE
ALE
tR
R/B
WE
I/O0~7
00h
Data Output(sequential)
Start Add.(3Cycle)
13
SmartMediaTM
K9S3208V0A-SSB0
* Command Latch Cycle
CLE
tCLS
tCLH
tCS
tCH
CE
tWP
WE
tALS
tALH
ALE
tDS
tDH
Command
I/O0~7
* Address Latch Cycle
tCLS
CLE
tCS
tWC
tWC
CE
tWP
tWP
tWP
WE
tWH
tWH
tALH
tALS
ALE
tDS
I/O0~7
tDH
A0~A 7
14
tDS
tDH
A9~A16
tDS
tDH
A17~A21
SmartMediaTM
K9S3208V0A-SSB0
* Input Data Latch Cycle
tCLH
CLE
tCH
CE
tALS
tWC
≈
ALE
tWP
tWP
tWP
WE
tDS
I/O0~7
tWH
tDH
tDS
tDH
tDS
DIN 511
DIN 1
DIN 0
tDH
* Sequential Out Cycle after Read(CLE=L, WE=H, ALE=L)
tRC
CE
tRP
tREA
tREH
tREA
tREA
tCHZ*
RE
tRHZ*
tRHZ
tRHZ*
Dout
I/O0~7
Dout
Dout
tRR
R/B
NOTES : Transition is measured ±200mV from steady state voltage with load.
This parameter is sampled and not 100% tested.
15
SmartMediaTM
K9S3208V0A-SSB0
* Status Read Cycle
tCLS
CLE
tCLH
tCLS
tCS
CE
tCH
tWP
WE
tCSTO
tCHZ
tWHR
RE
tDH
tDS
I/O 0~7
tIR
tRHZ
tRSTO
Status Output
70H
READ1 OPERATION (READ ONE PAGE)
CLE
tCEH
CE
tCHZ
tWC
WE
tWB
tAR2
tCRY
ALE
tR
tRHZ
tRC
≈
RE
I/O0~7
00h or 01h
A0 ~ A7
A9 ~ A16
Column
Address
R/B
Dout N
A17 ~ A21
Page(Row)
Address
Busy
16
Dout N+1
Dout N+2
Dout N+3
≈ ≈
tRR
Dout 527
tRB
SmartMediaTM
K9S3208V0A-SSB0
READ1 OPERATION (INTERCEPTED BY CE)
CLE
CE
WE
tWB
tCHZ
tAR2
ALE
tR
tRC
RE
tRR
I/O0~7
00h or 01h A0 ~ A7
A9 ~ A16
Column
Address
Dout N
A17 ~ A21
Dout N+1
Dout N+2
Dout N+3
Page(Row)
Address
Busy
R/B
READ2 OPERATION (READ ONE PAGE)
CLE
CE
WE
tR
tWB
tAR2
ALE
≈
tRR
RE
50h
A0 ~ A 7
Dout
511+M
A9 ~ A16 A17 ~ A21
R/B
M Address
Dout
511+M+1
≈
I/O0~7
Dout 527
Selected
Row
A0 ~ A3 :Valid Address
A4 ~ A7 :Don't care
512
16
Start
address M
17
SmartMediaTM
K9S3208V0A-SSB0
SEQUENTIAL ROW READ OPERATION
CLE
CE
WE
Dout
N+2
Busy
R/B
Dout
527
≈
Dout
0
Dout
1
Busy
M
≈
Dout
N+1
Dout
2
Dout
527
≈
Dout
N
A0 ~ A7 A9 ~ A16 A17 ~ A21
≈
≈
00h
≈
RE
I/O0~7
≈
ALE
M+1
Output
Output
N
PAGE PROGRAM OPERATION
CLE
CE
tWC
tWC
tWC
WE
tWB
tPROG
ALE
I/O0~7
80h
A0 ~ A7 A9 ~ A16 A17 ~ A21
Sequential Data Column
Input Command Address
Page(Row)
Address
≈≈
RE
Din
Din
Din
10h
527
N
N+1
1 up to 528 Byte Data
Program
Sequential Input
Command
≈
R/B
70h
18
I/O0
Read Status
Command
I/O0=0 Successful Program
I/O0=1 Error in Program
SmartMediaTM
K9S3208V0A-SSB0
BLOCK ERASE OPERATION (ERASE ONE BLOCK)
CLE
CE
tWC
tWC
WE
tWB
tBERS
ALE
RE
I/O0~7
60h
A9 ~ A16 A17 ~ A21
DOh
70h
I/O0
Busy
R/B
Auto Block Erase Setup Command
≈
Block
Address
Erase Command
Read Status
Command
MANUFACTURE & DEVICE ID READ OPERATION
CLE
CE
WE
ALE
RE
tREAID
I/O0~7
90h
00h
ECh
Read ID Command
Maker Code
19
E3h
Device Code
I/O0=0 Successful Erase
I/O0=1 Error in Erase
SmartMediaTM
K9S3208V0A-SSB0
DEVICE OPERATION
PAGE READ
Upon initial device power up, the device defaults to Read1 mode. This operation is also initiated by writing 00h to the command register along with three address cycles. Once the command is latched, it does not need to be written for the following page read operation. Three types of operations are available : random read, serial page read and sequential read.
The random read mode is enabled when the page address is changed. The 528 bytes of data within the selected page are transferred to the data registers in less than 10µs(tR). The CPU can detect the completion of this data transfer(t R) by analyzing the output
of R/B pin. Once the data in a page is loaded into the registers, they may be read out in 50ns cycle time by sequentially pulsing RE
with CE staying low. High to low transitions of the RE clock output the data starting from the selected column address up to the last
column address.
After the data of last column address is clocked out, the next page is automatically selected for sequential read.
Waiting 10µs again allows for reading of the selected page. The sequential read operation is terminated by bringing CE high. The
way the Read1 and Read2 commands work is like a pointer set to either the main area or the spare area. The spare area of bytes
512 to 527 may be selectively accessed by writing the Read2 command. Addresses A0 to A3 set the starting address of the spare
area while addresses A4 to A7 are ignored. Unless the operation is aborted, the page address is automatically incremented for
sequential read as in Read1 operation and spare sixteen bytes of each page may be sequentially read. The Read1 command(00h/
01h) is needed to move the pointer back to the main area. Figures 3 thru 6 show typical sequence and timings for each read operation.
Figure 3. Read1 Operation
CLE
CE
WE
ALE
tR
R/B
RE
I/O0~7
00h
01h
Start Add.(3Cycle)
Data Output(Sequential)
A0 ~ A7 & A9 ~ A21
(00h Command)
1st half array
(01h Command)*
2nd half array
Data Field
Spare Field
1st half array
2nd half array
Data Field
Spare Field
* After data access on 2nd half array by 01H command, the start pointer is automatically moved to 1st half array (00h) at next cycle.
20
SmartMediaTM
K9S3208V0A-SSB0
Figure 4. Read2 Operation
CLE
CE
WE
ALE
tR
R/B
RE
50h
I/O 0~7
Start Add.(3Cycle)
Data Output(Sequential)
A0 ~ A3 & A9 ~ A21
Spare Field
(A4 ~ A7 :
Don't Care)
1st half array
2nd half array
Data Field
Spare Field
tR
tR
R/B
I/O0~7
00h
Start Add.(3Cycle)
Data Output
1st
01h
Data Output
Data Output
Nth
(528 Byte)
( 01h Command)
(00h Command)
1st half array
2nd half array
Data Field
tR
2nd
(528 Byte)
A0 ~ A7 & A9 ~ A21
1st half array
≈
Figure 5. Sequential Row Read1 Operation
2nd half array
1st
2nd
1st
2nd
Nth
Nth
Data Field
Spare Field
21
Spare Field
SmartMediaTM
K9S3208V0A-SSB0
tR
tR
R/B
I/O0~7
50h
≈
Figure 6. Sequential Read2 Operation
Start Add.(3Cycle)
Data Output
tR
Data Output
Data Output
2nd
(16 Byte)
1st
A0 ~ A3 & A9 ~ A21
Nth
(16 Byte)
(A4 ~ A7 :
Don't Care)
1st half array
2nd half array
1st
2nd
Nth
Data Field
Spare Field
PAGE PROGRAM
The device is programmed basically on a page basis, but it does allow multiple partial page programming of a byte or consecutive
bytes up to 528, in a single page program cycle. The number of consecutive partial page programming operation within the same
page without an intervening erase operation must not exceed ten. The addressing may be done in any random order in a block. A
page program cycle consists of a serial data loading period in which up to 528 bytes of data may be loaded into the page register, followed by a nonvolatile programming period where the loaded data is programmed into the appropriate cell. Serial data loading can
be started from 2nd half array. About the pointer operation, please refer to the attached technical notes.The serial data loading
period begins by inputting the Serial Data Input command(80h), followed by the three cycle address input and then serial data loading. The bytes other than those to be programmed do not need to be loaded.
The Page Program confirm command(10h) initiates the programming process. Writing 10h alone without perviously entering the
serial data will not initiate the programming process. The internal write controller automatically executes the algorithms and timings
necessary for program and verify, thereby freeing the CPU for other tasks. Once the program process starts, the Read Status Register command may be entered, with RE and CE low, to read the status register. The system controller can detect the completion of a
program cycle by monitoring the R/B output, or the Status bit(I/O6) of the Status Register. Only the Read Status command and Reset
command are valid while programming is in progress. When the Page Program is complete, the Write Status Bit(I/O0) may be
checked(Figure 7). The internal write verify detects only errors for "1"s that are not successfully programmed to "0"s. The command
register remains in Read Status command mode until another valid command is written to the command register.
Figure 7. Program & Read Status Operation
tPROG
R/B
I/O0~7
80h
Address & Data Input
10h
70h
A0 ~ A7 & A9 ~ A21
528 Byte Data
I/O 0
Fail
22
Pass
SmartMediaTM
K9S3208V0A-SSB0
BLOCK ERASE
The Erase operation can erase on a block(8K Byte) basis. Block address loading is accomplished in two cycles initiated by an Erase
Setup command(60H). Only address A13 to A21 is valid while A9 to A12 is ignored. The addresses of the block to be erased to FFH.
The Erase Confirm command(D0h) following the block address loading initiates the internal erasing process. This two-step sequence
of setup followed by execution ensures that memory contents are not accidentally erased due to external noise conditions.
At the rising edge of WE after the erase confirm command input, the internal write controller handles erase, erase-verify and pulse
repetition where required. If an erase operation error is detected, the internal verify is halted and erase operation is terminated. When
the erase operation is completed, the Write Status Bit(I/O0) may be checked.
Figure 8 details the sequence.
Figure 8. Block Erase Operation
tBERS
R/B
I/O0~7
60h
Address Input(2Cycle)
I/O 0
70h
D0h
Pass
Block Add. : A9 ~ A21
Fail
READ STATUS
The device contains a Status Register which may be read to find out whether program or erase operation is complete, and whether
the program or erase operation completed successfully. After writing 70h command to the command register, a read cycle outputs
the contents of the Status Register to the I/O pins on the falling edge of CE or RE, whichever occurs last. This two line control allows
the system to poll the progress of each device in multiple memory connections even when R/B pins are common-wired. RE or CE
does not need to be toggled for updated status. Refer to table 2 for specific Status Register definitions. The command register
remains in Status Read mode until further commands are issued to it. Therefore, if the status register is read during a random read
cycle, a read command(00h or 50h) should be given before sequential page read cycle.
Table2. Read Status Register Definition
I/O #
Status
Definition
I/O0
Program / Erase
"0" : Successful Program / Erase
"1" : Error in Program / Erase
"0"
I/O1
I/O2
I/O3
"0"
Reserved for Future
Use
I/O4
"0"
"0"
I/O5
"0"
I/O6
Device Operation
I/O7
Write Protect
23
"0" : Busy
"1" : Ready
"0" : Protected
"1" : Not Protected
SmartMediaTM
K9S3208V0A-SSB0
READ ID
The device contains a product identification mode, initiated by writing 90h to the command register, followed by an address input of
00h. Two read cycles sequentially output the manufacture code(ECh), and the device code (E3h) respectively. The command register
remains in Read ID mode until further commands are issued to it. Figure 9 shows the operation sequence.
Figure 9. Read ID Operation
CLE
tCR
CE
WE
tAR1
ALE
RE
I/O0~7
tREADID
90h
00h
ECh
Address. 1 cycle
Maker code
E3h
Device code
RESET
The device offers a reset feature, executed by writing FFH to the command register. When the device is in Busy state during random
read, program or erase modes, the reset operation will abort these operation. The contents of memory cells being altered are no
longer valid, as the data will be partially programmed or erased. Internal address registers are cleared to "0"s and data registers to
"1"s. The command register is cleared to wait for the next command, and the Status Register is cleared to value C0h when WP is
high. Refer to table 3 for device status after reset operation. If the device is already in reset state a new reset command will not be
accepted to by the command register. The R/B pin transitions to low for t RST after the Reset command is written. Reset command is
not necessary for normal operation. Refer to Figure 10 below.
Figure 10. RESET Operation
tRST
R/B
I/O0~7
FFH
Table3. Device Status
Operation Mode
After Power-up
After Reset
Read 1
Waiting for next command
24
SmartMediaTM
K9S3208V0A-SSB0
DATA PROTECTION
The device is designed to offer protection from any involuntary program/erase during power-transitions. An internal voltage detector
disables all functions whenever Vcc is below about 2V. WP pin provides hardware protection and is recommended to be kept at VIL
during power-up and power-down as shown in Figure 8. The two step command sequence for program/erase provides additional
software protection.
≈
Figure 8. AC Waveforms for Power Transition
~ 2.5V
~ 2.5V
High
≈
VCC
WP
READY/BUSY
The device has a R/ B output that provides a hardware method of indicating the completion of a page program, erase and random
read completion. The R/B pin is normally high but transitions to low after program or erase command is written to the command register or random read is begin after address loading. It returns to high when the internal controller has finished the operation. The pin
is an open-drain driver thereby allowing two or more R/B outputs to be Or-tied. An appropriate pull-up resister is required for proper
operation and the value may be calculated by following equation.
Rp
VCC
3.2V
VCC(Max.) - VOL(Max.)
Rp =
R/B
open drain output
IOL + ΣIL
=
8mA + ΣIL
where IL is the sum of the input currents of all devices tied to the
R/B pin.
GND
Device
25
SmartMediaTM
SmartMedia Dimensions
DIMENSIONS
Unit:mm
22 PAD SOLID STATE FLOPPY DISK CARD (3.3V)
SOLID STATE PRODUCT OUTLINE
37.0±0.1
0.15±0.05
5.0±0.2
Index Label Area
10.0±0.2
Write Protect Area
Contact Area
(+0.1mm package body surface)
33.0±0.2
22.1(Max)
27.5
45.0±0.1
4.5(Min)
0
5.
0.5mm Chamfer 4.2(Min)
(3.3V Card)
0.76±0.08
1.5±0.1
27.0
0.000
2.540
5.080
7.620
10.160
12.700
2.140 TYP
0.400 TYP
22
12
I/O5
I/O6
I/O7
vcc
GND
R/B
RE
CE
vcc
I/O3
I/O2
I/O1
I/O0
WP
WE
ALE
CLE
vSS
I/O4
vcc
8.650
7.900
6.500
0.000
vSS
6.500
7.900
8.650
1
11
12.700
10.160
7.620
5.080
2.540
0.000
26