ChipFind - документация

Электронный компонент: ML69240

Скачать:  PDF   ZIP
1 of 13
Rev. 1.2, Aug. 2000
_____________________________________________________________________________________________
ML69240-C49
- Preliminary -
_____________________________________________________________________________________________
Intelligent Microcontroller Driven Dual Smartcard Reader IC
_____________________________________________________________________________________________
Designed and developed by Applied Card Technologies Ltd
in association with Taiko Electronics
_____________________________________________________________________________________________
General Description
The ML69240-C49 can control two sockets for ISO7816-3 IC-cards. It is based on an 80C51-
type microcontroller-core. Multiple asynchronous and synchronous protocols are supported.
In addition, other peripheral modules like keypad and LC-Display can be connected and
controlled by ML69240-C49. Interfacing with the host is done via simple commands that are
transferred over a RS232 serial port. Due to the simple structure of the command set and the
full support of the peripheral components, the software and hardware design for a card reader
system based on ML69240-C49 is easy to realise.
Features
Operating range
Supply voltage +4.5~5.5 V
Frequency
14.7456 MHz
Temperature
-40~+85C
Smartcard sockets
2
Jumper selectable `normally open', `normally closed' or `not
present' card detect switch
Socket parameters dependent on type of socket used
Smartcard supported
Asynchronous
T=0, T=1
Synchronous
7816-Sync., Eurochip, GPM 416/896, I
2
C
Serial Port
RS232
Speed
9600, 19200, 38400 (software selectable)
Flow Control
CTS controlled by reader
Hardware Reset
RTS controlled by host
LCD Interface
Intelligent LCD module
8x1, 8x2, 16x1, 16x2, etc.
e.g. RS 294-8774
Keypad
4x4 matrix scanning built in
Can use standard 4x4 passive matrix numeric keypad
e.g. RS 331-304
Digital I/O
4 software selectable TTL I/O ports
Package
44-pin TQFP (TQFP44-P-1010-0.80-K): ML69240-C49TB
ML69240-C49
2 of 13
Software Support
Windows 32bit DLL. Driver source code available (for other platforms)
Sample host source code
Trainer application (Windows based)
(Note: Software developed by Applied Card Technologies Ltd)
Notice:
The ML69240-C49 was designed to conform to ISO/IEC 7816-3 second edition 1997 with the
following limitations:
1) The ML69240-C49 operates under Class A (5V) only, hence the class indicator in the
ATR is received but not examined.
2) The asynchronous clock provided is fixed at 3.5795 MHz and Clock stop is not supported.
3) The supported ICC data rate is fixed at 9600 baud. It is recommended that the host to IFD
communication speed be kept at 19200 baud and above to avoid under or overruns.
4) The Vpp line is kept in the Pause state once the card is powered up under asynchronous
conditions, but does not supply any programming power.
5) The ML69240-C49 uses the host to buffer the data, hence it supports the maximum block
size, but requires the host to participate in error recovery and retransmission of T=1
blocks as well as the reception of blocks with the chaining flag set.
6) The NAD is fixed at 0.
As OKI cannot guarantee proper operation with any type of IC-card, we strongly recommend
to evaluate the functional and electrical characteristics in combination with the possible IC-
cards before design-in.
ML69240-C49
3 of 13
Block Diagram
*) pin has multiple functions, refer to pin description
44-pin plastic TQFP
ML69240-C49
4 of 13
PIN FUNCTIONS
Function
No
Name
LCD
Keyscan
Smartcard 1
Smartcard 2
Serial
Host IF
I/O
1
P1.5
D.DETECT1
2
P1.6
E
3
P1.7
ENABLE
ENABLE
4
RESET
5
RXD
RX
6
nc*
7
TXD
TX
8
P3.2
OUTPUT
OUTPUT
9
P3.3
DETECT
DETECT
10
P3.4
I/O1
11
P3.5
I/O2
12
P3.6
RTS
13
P3.7
CTS
14
XTAL2
15
XTAL1
16
VSS
17
VSS
18
A8
KC1
CARDVCC
CARDVCC
19
A9
KC2
RST
RST
20
A10
KC3
CLKGATE
CLKGATE
21
A11
KC4
CLK
CLK
22
A12
RS
INPUT
INPUT
23
A13
R/W
C4
C4
24
A14
C8
C8
25
A15
CARDVPP
CARDVPP
26
PSEN*
27
ALE*
28
nc*
29
EA
30
AD7
DB7
31
AD6
DB6
32
AD5
DB5
33
AD4
DB4
34
AD3
DB3
KR4
35
AD2
DB2
KR3
36
AD1
DB1
KR2
37
AD0
DB0
KR1
38
VCC
39
nc*
40
P1.0
I/O3
41
P1.1
I/O4
42
P1.2
D.DETECT2
43
P1.3
SELECT1
44
P1.4
SELECT2
*) leave open
ML69240-C49
5 of 13
PIN DESCRIPTIONS
General
No
Name
Description
4
RESET
Reset input. If "H" signal is applied for at least one machine cycle
(0.81s @ 14.7456 MHz) ML69240-C49 is reset. Power-on-reset
function is achieved by connecting a capacitor between this pin
and Vcc.
14, 15
XTAL2
XTAL1
Clock oscillator input/output. Connect 14.7456 MHz crystal.
16, 17
VSS
Power supply GND pin. Connect to 0V.
18 to 25
A8 to A15
I/O ports and higher 8 bits of external address bus.
29
EA/(VCC)
Connect to VCC (+5V).
30 to 37
AD7 to AD0
I/O ports and lower 8 bits of external address bus and 8 bit data
bus.
2, 3, 5,
7~13,
40, 41,
43, 44
Px.x
Control pins for connecting peripheral modules and general
purpose I/O pins.
38
VCC
Power supply pin. Connect to +5V
1, 6, 26,
27, 28,
39, 42
nc, PSEN,
ALE
Do not connect, leave open.
LCD
No
Name
Description
2
E
Enable output.
22
RS
Register Select output.
23
R/W
Register/Write select output.
30 to 37
DB7 to DB0
Display data output/input.
Keyscan
No
Name
Description
18 to 21
KC1 to KC4
Column output for 4x4 keypad.
34 to 37
KR4 to KR1
Row input for 4x4 keypad.
Smartcard1/2
No
Name
Description
1
D.DETECT1
Direct card detect input (without card slot selection)
3
ENABLE
Enable output.
8
OUTPUT
Serial data from smartcard.
9
DETECT
Card detect input. "0" = card present, "1" = no card inserted
18
CARDVCC
Enable signal output for smartcard power supply.
19
RST
Reset signal output for smartcard.
20
CLKGATE
Clock control output for smartcard.
21
CLK
Clock control output for smartcard.
22
INPUT
Serial data output to smartcard.
23
C4
(Contact 4.)
24
C8
(Contact 8.)
25
CARDVPP
(Programming voltage.)
42
D.DETECT2
Direct card detect input (without card slot selection)
43
SELECT1
Select output for card slot 1.
44
SELECT2
Select output for card slot 2.
ML69240-C49
6 of 13
Serial Interface
No
Name
Description
5
RX
Serial data input from host MCU.
7
TX
Serial data output to host MCU.
12
RTS
Reset request input.
13
CTS
Flow control output.
I/O Ports
No
Name
Description
10, 11,
40, 41
I/O1 to I/O4
General purpose TTL input/output ports.
ML69240-C49
7 of 13
ELECTRICAL CHARACTERISTICS
ABSOLUTE MAXIMUM RATINGS
Parameter
Symbol
Condition
Rating
Unit
Supply Voltage
V
CC
Ta = 25C
-0.5 to 7
V
Input Voltage
V
I
Ta = 25C
-0.5 to V
CC
+0.5
V
Storage Temperature
T
STG
-
-55 to +150
C
RECOMMENDED OPERATING CONDITIONS
Parameter
Symbol
Condition
Rating
Unit
Supply Voltage
V
CC
4.5 to 5.5
V
Oscillation Frequency
f
OSC
14.7456
MHz
Ambient Temperature
T
a
-40 to +85
C
ML69240-C49
8 of 13
ELECTRICAL CHARACTERISTICS
DC CHARACTERISTICS
(V
CC
=4.5 to 5.5V, V
SS
=0V, Clock = 14.7456MHz, T
a
=-40 to +85C)
Parameter
Symbol
Condition
Min.
Typ.
Max.
Unit
Input Low Voltage
V
IL
-
-0.5
-
0.2V
CC
-0.1
V
Input High Voltage
V
IH
Except XTAL1 and
RESET
0.2V
CC
+0.9
-
V
CC
+0.5
V
Input High Voltage
V
IH1
XTAL1 and RESET
0.7 V
CC
-
V
CC
+0.5
V
Output Low Voltage
*1
V
OL
I
OL
=1.6mA
-
-
0.45
V
Output Low Voltage
*2
V
OL1
I
OL
=3.2mA
-
-
0.45
V
I
OH
=-60A
2.4
-
-
V
I
OH
=-30A
0.75V
CC
-
-
V
Output High Voltage
*1
V
OH
I
OH
=-10A
0.9V
CC
-
-
V
I
OH
=-400A
V
CC
=5V10%
-2.4
-
-
V
I
OH
=-150A
0.75V
CC
-
-
V
Output High Voltage
*2
V
OH1
I
OH
=-40A
0.9V
CC
-
-
V
Logical 0 Input Current/
Logical 1 Output Current
*1
I
IL
/I
OH
V
I
=0.45V /
V
O
=0.45V
-5
-20
-80
A
Logical 1 to 0 Transistion
Output Current
*1
I
TL
V
I
=2.0V
-
-190
-500
A
Input Leakage Current
(AD0~7 floating)
I
LI
V
SS
< V
I
< V
CC
-
-
10
A
RESET Pull-down
Resistance
R
RST
-
20
40
125
k
Pin Capacitance (except
XTAL1)
C
IO
T
a
=25C, f=1MHz
-
-
10
pF
Power Supply Current
I
CC
f=14.7456MHz
-
-
25
mA
Power Down Current
I
PD
-
-
1
50
A
*1) E, ENABLE, TX, CTS, OUTPUT, I/O1~4, A8~15, SELECT1/2
*2) AD0~7
ML69240-C49
9 of 13
FUNCTIONAL DESCRIPTION OF INTERFACE SIGNALS
LCD
This interface can drive 8x1, 8x2, 16x1 or 16x2 (characters x lines) type LCD modules, e.g.
RS294-8774.
E
RS
R/W
Function
0
X
X
disabled
1
0
0
instruction register write
1
0
1
instruction register read
1
1
0
data register write
1
1
1
data register read
RS
R/W
E
DBx
Note:
*) typical value at 14.75 MHz
KEYSCAN
This interface can drive a 4x4 standard passive matrix numeric keypad, e.g. RS331-304.
KCn
Notes:
n = 1, 2, 3, 4
*) typical values at 14.75 MHz
KR4
KR3
KR2
KR1
KC1
KC2
KC3
KC4
Keypad
ML69240-C49
1ms*
1ms*
42s* 30s*
3.2s*
Read
Write
ML69240-C49
10 of 13
SERIAL I/O
This is a RS232 type serial interface for communication with the host MCU. Selectable
speeds are 9.6, 19.2 and 38.4 kbps. For a detailed description, please refer to the document
"OKI Dual Card Reader Interface Specification".
SMART CARD 1/2
This is the interface to the card slot modules 1 and 2 to provide the ISO7816-3 compliant
function. For more details, please refer to the application note in the appendix and to the
document "OKI Dual Card Reader Interface Specification".
I/O PORTS
These are 4 general-purpose I/O ports. For a detailed description, please refer to the
document "OKI Dual Card Reader Interface Specification".
ML69240-C49
11 of 13
AD0 AD1
AD2 AD3
AD4 AD5
AD6 AD7
A8 A9
A10 A11
A12 A13
A14 A15
CTS
RTS
TX RX
(VCC)
XTAL1
XTAL2
RESET
OUTPUT
DETECT
I/O1 I/O2
I/O3 I/O4
DIRECT DETECT2
DIRECT DETECT1 SELECT1
SELECT2
E ENABLE
37
36
35
34
33
32
31
30
18
19
20
21
22
23
24
25
13
12
7
5
29
15
14
4
8
9
10
11
40
41
42
1
43
44
2
3
RX
TX
RTS CTS
DB
[0...7]
RS,RW
E
KC[1...4]
KR[1...4]
A[8...15] 3.578MHz Clock
Reset Enable SELECT2
A[8...15]
3.578MHz Clock
Reset Enable
SELECT1
OUTPUT
DETECT
DIRECT
DETECT2
OUTPUT
DETECT
DIRECT
DETECT1
VCC
GND
1 2
3 4
10K
10K 10K
10K 10K 10K
10K 10K
VCC
VCC
I/O
ML69240-C49TS-K
SERIAL PORT
LCD
KEYSCAN
SMART CARD 2
SMART CARD 1
14.7456MHz
33pF
33pF
10uF
8.2K
POWER
74HC04
74HC04
74HC04
1M
3.579545MHz
33pF
33pF
AD[0...7]
A[8...15]
10K
VCC
Circuit developed by Applied Card Technologies
in association with Taiko Electronics (UK) Ltd.
Application Circuit
- Main Block -
ML69240-C49
12 of 13
D0
D1 D2
D3
D4 D5
D6
D7
OC
G
Q0
Q1 Q2
Q3
Q4 Q5
Q6
Q7
VCC RST
CLK
IO
C4 C8
VPP
D.LEVEL DETECT
GND
74HC373
3.578 MHz Clock
A[8...15]
Enable
Select1
(Select2)
Output
Detect
Card Connector 1 (2)
4.7K
4.7K
1M
100K
10
18K
100
BSS84
BC856B
74HC04
74HC132
74HC02
74HC02
74HC125
74HC125
74HC125
VCC
VCC
Circuit developed by Applied Card Technologies
in association with Taiko Electronics (UK) Ltd.
Application Circuit
- Card Connector -
Direct Detect
VCC
3
2
1
VCC
3
2
1
4.7K
0
0
0
0
VCC
Jumper SC Detect Level
Jumper
SC Detect Level
ML69240-C49
13 of 13
ADDRESSES & SEMICONDUCTOR WEB SITES
OKI Electric Industry Co., Ltd.,
Silicon Solutions Company
10-3, Shibaura, 4-chome
Minato-ku, Tokyo 108, Japan
Tel.: +81-(0)3-5445-6327
Fax.: +81-(0)3-5445-6328
http://www.oki.co.jp/semi/
OKI Electric Europe GmbH,
Head Office Europe
Hellersbergstrasse 2
D-41460 Neuss
Germany
Tel: +49-(0)2131-15960,
Fax: +49-(0)2131-103539
http://www.oki-europe.de/
Applied Card Technologies Ltd.
Langley Gate
Swindon Road
Kington Langley
Chippenham
Wiltshire
SN15 5SE
UK
Tel.: +44-(0)1249-751006
Fax.: +44-(0)1249-758110
http://www.card.co.uk/
Taiko Electronics (UK) Ltd.
4220 Nash Court
Oxford Business Park
Oxford
OX4 2RU
UK
Tel: +44-(0)1856-771717
Fax: +44-(0)1865-771714
http://www.taiko-denki.co.jp/
Note: This device is supported in Europe/Israel only.