NCN6000
http://onsemi.com
19
Card Detection
The card detector circuit provides a 500 k pull up
resistor to bias the CRD_DET pin, yielding a logic High
when the pin is left open (assuming a NO switch). The
internal logic associated with pin 11 provides an automatic
selection of the slope card detection, depending upon the
polarity set by the external MPU. At start up, the CRD_DET
is preset to cope with Normally Open switch. When a
Normally Close switch is used in the card socket, it is
mandatory to program the NCN6000 chip during the
initialization sequence, otherwise the system will not start if
a card was previously inserted. Table 3 gives the
programming code for such a function. The next lines
provide a typical assembler source to handle this CRD_DET
Normally Close polarity:
Smart EQU $20
LDX #$1000
LDAA #$09
STAA smart, X
; NCN6000 Physical CS Address
; Offset
; I/O = H, A0 = A1 = L, RESET = H
; Set CRD_DET = Normally Closed
Switch
The CRD_DET polarity can be updated at any time,
during the Program Mode sequence (PGM = L), but,
generally speaking, is useless since the switch does not
change during the usage of the considered module. On the
other hand, the card detection switch shall be connected
across pin 11 and ground, for any polarity selected.
The transition presents pin 11, whatever be the polarity, is
filtered out by the internal digital filter circuit, avoiding false
interrupt. In addition to the minimum internal 50 s timing,
the MPU shall provide an additional delay to cope with the
mechanical stabilization of the card interface (typically
3 ms), prior to valid the CRD_VCC supply.
When a card is inserted, the detector circuit asserts
INT = Low as depicted before. When the NCN6000 detects
a card extraction, the power down sequence is activated,
regardless of the PWR_ON state, and the INT pin is asserted
Low. It is up to the external MPU to clear this interrupt by
forcing a chip select pulse as depicted in Figure 5.
The 75 s delay represent the digital filter built−in the
NCN6000 chip being used for the characterization. Any
pulse shorter than this delay does not generate an interrupt.
However, to guarantee an interrupt will be generated, the
CRD_DET signal must be longer than 150 s as defined by
the specification.
The Chip Select pulse is generated by the external
microcontroller, the minimum pulse width being 2 s to
make sure the card is detected.
The oscillogram, Figure 11, depicts the behavior for a
Normally Open switch, the delay existing between the
interrupt negative going state and the CS being Low comes
from the particular software latency existing in this
particular MPU.
Figure 11. Card Insertion Detection and Interrupt Signals
Digital Filter Delay
INTERRUPT
Chip Select Acknowledge or Clear Interrupt
NCN6000
http://onsemi.com
20
CRD_DET Input Voltage (card extracted)
Digital Filter Delay
INTERRUPT
Chip Select Acknowledge or Clear Interrupt
Figure 12. Card Extraction Detection and Interrupt Signals
When the card is extracted, the CRD_DET signal
generates an interrupt, assuming the positive pulse width is
longer than the digital filter. The oscillogram, Figure 12,
depicts the behavior for a Normally Open switch.
Note: since the internal pull up resistor is relatively high
(500 k typical), one must use a 10 M input impedance
probe to read this signal.
CRD_DET Input Voltage (card inserted)
INTERRUPT
Chip Select
Figure 13. Interrupt Acknowledgement During a Card Insertion Detection Sequence
The interrupt signal, provided pin 9, is cleared by a
positive going Chip Select signal as depicted by the
oscillogram, Figure 13. The CS pulse width is irrelevant, as
long as it is larger than 2.0 s, to activate a different
sequence. Leaving the interrupt signal Low has no influence
on the internal behavior of the NCN6000, but will be
automatically cleared when the DC−DC will be activated by
the MPU (CS=L, PWR_ON = Positive High transition)
NCN6000
http://onsemi.com
21
Power Management
The purpose of the power management is to activate the
circuit functions needed to run a given mode of operation,
yielding a minimum current consumption on the Vbat
supply. In the Standby mode (PWR_ON = L), the power
management provides energy to the card detection circuit
only. All the card interface pins are forced to ground
potential.
In the event of a power up request coming from the
external MPU (PWR_ON = H, CS = L), the power manager
starts the DC−DC converter.
When the CRD_VCC voltage reaches the programmed
value (3.0 V or 5.0 V), the circuit activates the card signals
according to the following sequence:
CRD_VCC
CRD_IO
CRD_CLK
CRD_RST
The logic level of the data lines are asserted High or Low,
depending upon the state forced by the external MPU, when
the start up sequence is completed. Under no situation the
NCN6000 shall launch automatically a smart card ATR
sequence. Assuming PWR_ON = H, the CRD_VCC voltage
is maintained whatever be the logic level presents on Chip
Select, pin 6.
At the end of the transaction, asserted by the MPU
(PWR_ON = L, CS = L), or under a card extraction, the
ISO7816−3 power down sequence takes place:
CRD_RST
CRD_CLK
CRD_IO
CRD_VCC
When CS = H, the bi−directional I/O line (pins 8 and 15)
is forced into the High impedance mode to avoid signal
collision with any data coming from the external MPU.
The CRD_VCC voltage is controlled by means of CS and
PWR_ON logic signal as depicted in Figure 14. The
PWR_ON logic level define the CRD_VCC voltage status,
the amplitude being the one pre programmed into the chip.
In order to avoid uncontrolled command applied to the
smart card, the NCN6000 internal logic circuit, together
with the Vbat monitoring, clamps the card outputs until the
CRD_VCC voltage reaches the minimum value. During the
CRD_VCC slope, all the card outputs are kept Low and no
spikes can be write to the smart card. The oscillogram on the
right hand side is a magnification of the curves given on the
opposite side.
CS
PWR_ON
CRD_VCC
CRD_VCC Rise Time
CRD_VCC No Change
CRD_VCC Power Down Fall Time
CRD_VCC No Change
250 s
2 ms
Figure 14. Card Power Supply Control
Figure 15. Smart Card Signals Sequence at Power On
CRD_VCC
CRD_CLK
CP = 15 pF
CRD_RST
CRD_IO
5.0 V
CRD_VCC
CRD_CLK
CRD_RST
CRD_IO
5.0 V
CP = 15 pF

NCN6000DTB

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
I/O Controller Interface IC 2.7V POS/ATM Smart
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet