![](http://datasheet.mmic.net.cn/280000/HMS30C7202N_datasheet_16073790/HMS30C7202N_84.png)
HMS30C7202N
2004 MagnaChip Semiconductor Ltd. All Rights Reserved. Version 1.1
- 79 -
9.3
SMC Controller
This SmartMedia Card Controller is an Advanced Microcontroller Bus Architecture (AMBA) compliant
System-on-a-Chip peripheral providing an interface to industry-standard SmartMedia Flash Memory Card. A
channel has 8 control signal outputs and 8 bits of bi-directional data ports.
FEATURES
z
One 3.3V SmartMedia support
z
4MB to 128MB media (both Flash and Mask ROM type)
z
Interrupt mode support when erase/write operation is finished
z
Unique ID SmartMedia support
z
Multi-page DMA access
z
Marginal timing operation settable.
9.3.1
External Signals
Pin Name
SMD [7:0]
nSMWP
nSMWE
SMALE
SMCLE
nSMCD
nSMCE
nSMRE
nSMRB
Type
I/O
O
O
O
O
I
O
O
I
Description
Smart Media Card (SSFDC) 8bit data signals
Smart Media Card (SSFDC) write protect
Smart Media Card (SSFDC) write enable
Smart Media Card (SSFDC) address latch enable
Smart Media Card (SSFDC) command latch enable
Smart Media Card (SSFDC) card detection signal
Smart Media Card (SSFDC) chip enable
Smart Media Card (SSFDC) read enable
Smart Media Card (SSFDC) READY/nBUSY signal. This is open-drain output so
it requires a pull-up resistor.
9.3.2
Registers
Address
0x8001.6000
0x8001.6004
0x8001.6008
0x8001.600C
0x8001.6010
0x8001.6014
0x8001.601C
Table 9-16 SmartMedia Controller Register Summary
9.3.2.1
SMC Command Register (SMCCMD)
Name
SMCCMD
SMCADR
SMCDATW
SMCDATR
SMCCONF
SMCTIME
SMCSTAT
Width
32
27
32
32
8
20
32
Default
0x0
0x0
0x0
0x0
0x0
0x0
0x0
Description
SmartMedia Card Command register
SmartMedia Card Address register
Data written to SmartMedia Card
Data received from SmartMedia Card
SmartMedia Card controller configuration register
Timing parameter register
SmartMedia Card controller status register
0x8001.6000
17
16
31
Hidden Command 0
15
14
Main Command
30
29
28
27
26
25
24
23
Hidden Command 1
7
6
Second Command
22
21
20
19
18
13
12
11
10
9
8
5
4
3
2
1
0
Bits
31:24
Type
R/W
Function
Hidden Command 0. This Unique ID feature will be available to 128Mb NAND Flash and
upward density products to prevent illegal copy of music files. Unique ID is put into redundant
block of SmartMedia. Use this hidden command to access redundant block that cannot be
accessed with open command, This byte filed is ignored when user block is accessed. For
more information, refer to SmartMedia Maker’s datasheet.
Hidden Command 1. Read ID command returns whether the SmartMedia card supports
unique ID or not. Hidden 2 step command for Samsung is 30h-65h and for Toshiba is 5Ah-
23:16
R/W