WO2002048854A1 - Carte à circuit imprimé, système de carte à circuit imprimé, et processeur de données - Google Patents

Carte à circuit imprimé, système de carte à circuit imprimé, et processeur de données Download PDF

Info

Publication number
WO2002048854A1
WO2002048854A1 PCT/JP2001/010839 JP0110839W WO0248854A1 WO 2002048854 A1 WO2002048854 A1 WO 2002048854A1 JP 0110839 W JP0110839 W JP 0110839W WO 0248854 A1 WO0248854 A1 WO 0248854A1
Authority
WO
WIPO (PCT)
Prior art keywords
card
signal
data processing
processing device
transmission method
Prior art date
Application number
PCT/JP2001/010839
Other languages
English (en)
French (fr)
Inventor
Jun Tashiro
Original Assignee
Sony Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corporation filed Critical Sony Corporation
Priority to DE60127709T priority Critical patent/DE60127709T2/de
Priority to EP01270825A priority patent/EP1343070B1/en
Priority to US10/182,963 priority patent/US6941402B2/en
Publication of WO2002048854A1 publication Critical patent/WO2002048854A1/ja

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
    • G06K7/0086Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers the connector comprising a circuit for steering the operations of the card connector
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/073Special arrangements for circuits, e.g. for protecting identification code in memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K19/00Record carriers for use with machines and with at least a part designed to carry digital markings
    • G06K19/06Record carriers for use with machines and with at least a part designed to carry digital markings characterised by the kind of the digital marking, e.g. shape, nature, code
    • G06K19/067Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components
    • G06K19/07Record carriers with conductive marks, printed circuits or semiconductor circuit elements, e.g. credit or identity cards also with resonating or responding marks without active components with integrated circuit chips
    • G06K19/077Constructional details, e.g. mounting of circuits in the carrier
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0008General problems related to the reading of electronic memory record carriers, independent of its reading method, e.g. power transfer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K7/00Methods or arrangements for sensing record carriers, e.g. for reading patterns
    • G06K7/0013Methods or arrangements for sensing record carriers, e.g. for reading patterns by galvanic contacts, e.g. card connectors for ISO-7816 compliant smart cards or memory cards, e.g. SD card readers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/08Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers from or to individual record carriers, e.g. punched card, memory card, integrated circuit [IC] card or smart card

Definitions

  • the present invention relates to an IC card, an IC drive system, and a data processing device which realize a mixture of a single-ended signal and a differential signal when a removable IC card is used.
  • the single-ended signal is, for example, a TTL level (for example, 3.3 V)
  • the differential signal is, for example, a signal having a level of 20 OmV.
  • the number of signal transmission lines required is half that of differential signals, so single-ended signals are often used to avoid increasing the number of signal lines.
  • the signal level can be small, so that power consumption can be reduced.
  • the signal is a differential signal, there is an advantage that it is not affected by noise.
  • a single-ended signal is considered in consideration of compatibility with existing IC cards and data processing devices. It is desirable to be able to perform both transmission using differential signals and transmission using differential signals.
  • the levels of the single-ended signal and the differential signal are quite different, so it was usual to use separate signal lines for the single-ended signal interface and the differential signal interface.
  • the number of signal lines is limited in a limited size such as an IC card. It was not easily increased. Therefore, a configuration in which a single-ended signal is transmitted and received using only one side of the signal line for differential signal transmission is conceivable.
  • an object of the present invention is to provide a data processing device, an IC card, and an IC force system capable of maintaining the balanced state of the differential signal line and suppressing an increase in the number of components. Disclosure of the invention
  • the invention of claim 1 is based on an IC force that is removable with respect to a data processing device.
  • One of a first transmission method using a differential signal and a second transmission method using a single-ended signal can be selected as a signal transmission method between the data processing device,
  • the invention according to claim 4 is an IC card system including a data processing device and an IC card that is removable with respect to the data processing device.
  • Differential transmission method between data processing device and IC card One of a first transmission method using a signal and a second transmission method using a single-ended signal can be selected,
  • the invention of claim 6 relates to a data processing device using a removable IC card,
  • one of a first transmission method using a differential signal and a second transmission method using a single-ended signal can be selected.
  • the signal lines of the differential signal and the single-ended signal are shared, it is possible to prevent the number of signal lines from increasing.
  • the number of components can be reduced by using both the terminal resistance of the differential signal and the damping resistance of the single-ended signal.
  • FIG. 1 is a block diagram of a data processing device and an IC card according to an embodiment to which the present invention is applied.
  • FIG. 2 is a timing chart of data transmitted between the data processing device and the IC card.
  • FIG. 3 is a timing chart of the data transmission between the data processing device and the IC card, and
  • FIG. 4 is a perspective view showing an example of the shape of the IC card to which the present invention is applied.
  • Fig. 5 is a view of the IC force in Fig. 4 viewed from the direction H in the figure
  • Fig. 6 is a view of the IC force in Fig. 4 viewed from the direction I in the figure.
  • FIG. 5 is a view of the IC force in Fig. 4 viewed from the direction H in the figure
  • Fig. 6 is a view of the IC force in Fig. 4 viewed from the direction I in the figure.
  • FIG. 5 is a view of the IC force in Fig. 4 viewed from the direction H in the
  • FIG. 7 is a connection diagram showing a configuration of an embodiment of the present invention applied to an interface for one-way communication
  • FIG. 8 is an interface for two-way communication.
  • FIG. 9 is a connection diagram showing a configuration of another embodiment of the present invention applied to a face
  • FIG. 9 shows a configuration of still another embodiment of the present invention applied to an interface for two-way communication.
  • FIG. 10 is a connection diagram.
  • FIG. 10 is a flowchart showing an example of a method of detecting an interface method of an IC card.
  • FIG. 11 is a method of detecting an interface method of an IC card.
  • 9 is a flowchart showing another example of the embodiment.
  • FIG. 1 shows the configuration of a system including a data processing device 21 and an IC card 26.
  • the data processing unit 21 has a data processing unit 22 and a
  • card 26 is a card-like storage medium in appearance, connected to data processing device 21 and used as an external storage device.
  • IC card 26 has memory 27 and , Register 28, card-side serial interface circuit 29, card-side controller
  • the data processor 22 of the data processor 21 reads out the data stored in the IC card 26 and performs various data processing, and also performs various data processing to generate data to be written to the IC card 26. I do.
  • the data processing unit 22 is a data processing circuit of an audio visual device such as a computer operation using the IC card 26, a digital audio signal recording / reproducing device, and a camera device.
  • Register 23 is connected to data processing unit 22 and host-side serial interface. This is a buffer with chair 24.
  • the data processor 21 supplies data from the data processor 22 to the host serial interface circuit 24, the data processor 21 temporarily stores the data in the register 23 and then stores the data in the host serial interface circuit 24. Supply 2 to 4.
  • the data processing device 21 when supplying data from the host-side serial interface circuit 24 to the data processing unit 22, the data processing device 21 temporarily stores the data in the register 23 and then stores the data in the register 23. Supply to processing unit 22.
  • the host-side serial interface circuit 24 converts the data supplied from the data processing unit 22 via the register 23 and the command supplied from the host-side controller 25 into a serial signal and supplies the serial signal to the IC card 26. I do.
  • the host-side serial interface circuit 24 converts the serial signal data and command supplied from the IC card 26 into parallel signals and supplies them to the data processing unit 22 and the host-side controller 25. .
  • the host-side serial interface circuit 24 supplies various data and command synchronization signals (CLK) to the IC card 26. Further, the host-side serial interface circuit 24 obtains a status (STA TLS) signal supplied from the IC card 26 and indicating the operation state of the IC card 26.
  • CLK data and command synchronization signals
  • STA TLS status
  • the host-side controller 25 controls the data processing operation of the data processing unit 22 and the transmission operation of each data of the host-side serial interface circuit 24. In addition, the host-side controller 25 supplies a command to be a control instruction to the IC card 26 to the IC card 26 via the register 28.
  • the memory 27 of the IC card 26 is composed of, for example, a flash memory or the like, and stores the data supplied from the data processing unit 22.
  • the register 28 is a buffer between the memory 27 and the card-side serial interface circuit 29. That is, when the memory 27 writes the data from the data processing device 21, the data to be written is supplied to the memory 27 after the temporary data is stored in the register 23. Similarly, when the data processing device 21 reads data from the memory 27, it stores the temporary data in the register 23 and supplies the read data to the card-side serial interface circuit 29. That is, the register 28 is a circuit that performs the function of a so-called page buffer of the flash memory and the like.
  • the card-side serial interface circuit 29 converts the serial signal and the command supplied from the data processor 21 into a parallel signal, and sends the parallel signal to the memory 27 and the input-side controller 30. Supply.
  • the card-side serial interface circuit 29 obtains various data and command synchronization signals (CLK) from the data processing device 21.
  • CLK data and command synchronization signals
  • the card side serial interface circuit 29 supplies a status signal to the data processing device 21.
  • the card-side controller 30 controls the operation of storing, reading, and erasing data in the memory 27 based on a command or the like supplied from the data processing device 21.
  • the card-side controller 30 controls the data transmission operation of the input-side serial interface circuit 29.
  • the host-side controller 25 also transmits a status signal to the IC card 26. Is supplied to the IC card 26.
  • Data between the data processor 21 and the IC card 26 as described above Transmission is performed through a transmission line provided between the host side Shiriaruin evening over interface circuit 2 4 and the card side serial interface circuit 2 9.
  • Main data that is, data to be processed by the data processing unit 22 and written to the memory 27 and data to be read from the memory 27 to the data processing unit 22 are transmitted to the DT line 33.
  • a command serving as a control command supplied from the data processing device 21 to the IC card 26 and a command supplied from the IC card 26 to the data processing device 21 are transmitted. That is, main data and commands are bidirectionally transmitted to the DT line 33 by serial signals.
  • the DT line 33 is provided with a resistor 33a whose one end is grounded.
  • the resistor 33a is a so-called bull-down resistor, and signals are transmitted and received by the DT line 33 between the host-side serial interface circuit 24 and the card-side serial interface circuit 29.
  • the signal level of the DT line 33 becomes low level. In other words, when signals are not transmitted or received by the DT line 33.
  • the signal level of the DT line 33 is a constant level determined by the resistance of the resistor 33a.
  • a so-called pull-down resistor is adopted as the resistor 33a, so that the signal level of the DT line 33 becomes a low level when a signal is not transmitted and received through the DT line 33.
  • a so-called pull-up resistor is used as the resistor 33a, and the signal from the DT line 33 is When transmission / reception is not being performed, the signal level of the DT line 33 may be set to a high level.
  • the main data and command synchronization signals transmitted to the DT line 33 described above are transmitted to the IC card 26 from the data processing device 21 to the CLK line 31.
  • a control signal is transmitted from the data processing device 21 to the IC card 26 on the control line 32. While the control signal is being supplied, for example, during a high level period, the above-described main data and command are transmitted.
  • a STATUS signal indicating the operating state of the IC card 26 is supplied from the IC card 26 to the data processing device 21 on the DT line 33 described above. Is done.
  • the status signal from the IC card 26 is supplied during a period when main data and commands are not transmitted to the DT line 33, that is, during a period when the control signal is not supplied, for example, during a low level period. .
  • the status signal includes a busy (BUSY) signal indicating that the IC card 26 is performing processing. For example, when the IC card 26 is performing a write process and the access from the data processing device 21 is prohibited, this busy signal is supplied from the IC card 26 to the data processing device 21. Is done.
  • the status signal includes an interrupt signal (INTERRUPT) indicating an interrupt from the IC card 26 to the data processing device 21. For example, when the IC card 26 requests an interrupt command to the data processing device 21, this interrupt signal is supplied.
  • the busy signal and the interrupt signal are merely examples, and any signal may be used as the status signal as long as the signal indicates the operation state of the IC card 26.
  • FIG. 2 shows the timing for reading data from the IC card 26.
  • a clock synchronized with the data transmitted via the CLK line 31 is transmitted.
  • the control line 32 is at a low level. This is state 0 (initial state). Then, at the timing t31, the data processing device 21 changes the control line 32 to the high level, and the state becomes the state 1.
  • the IC card 26 detects that the state has changed from the state 0 to the state 1 when the control line 32 is switched to the high level.
  • a read command is transmitted from the data processing device 21 to the IC card 26 via the DT line 33, and the IC card 26 receives the read command.
  • This read command is a protocol command called TPC for the serial interface. As will be described later, the protocol command specifies the content of communication and the data length of subsequent data.
  • the control line 32 is switched from the high level to the mouth-to-mouth level. This causes a transition from state 1 to state 2.
  • state 2 the process specified by the command received by the IC card 26, specifically, the process of reading the data at the address specified by the read command from the memory 27 is performed. While this process is being performed, a busy signal is sent to the data processing device 21 via the DT line 33.
  • the data processing device 21 Upon receiving the ready signal from the IC card 26, the data processing device 21 knows that the process corresponding to the read command is ready, and switches the control line 32 to a high level at a timing t34. . That is, the state transits from state 2 to state 3.
  • the IC card 26 In the state 3, the IC card 26 outputs the data read to the register 28 in the state 2 to the data processing device 21 via the DT line 33. At the timing t35 when the transfer of the read data is completed, the data processing device 21 stops the supply of the clock transmitted through the CLK line 31 and switches the status line from the high level to the low level. . This causes a transition from state 3 to the initial state (state 0).
  • the IC card 26 When a change occurs in the internal state of the IC card 26 and it becomes necessary to perform some kind of interrupt processing, the IC card 26 outputs the interrupt signal indicating the interrupt in the state 0 as shown by the timing t36. Is supplied to the data processing device via the DT line 33.
  • the data processing device 21 is set so that, when a signal is supplied from the IC terminal 26 via the DT line 33 in the state 0, the data processing device 21 can recognize that the signal is an interrupt signal.
  • the data processing device 21 receives the interrupt signal, it performs necessary processing based on the interrupt signal.
  • FIG. 3 is a timing chart when data is written to the memory 27 of the IC card 26.
  • the initial state (state 0)
  • transmission of the CLK line 31 is not performed.
  • the data processing device 21 switches the control line 32 from low level to high level, and thereby transitions to state 1 in which a write command is transmitted via the DT line 33.
  • IC card 26 receives the command in state 1. Prepare to get.
  • a command is transmitted to the IC card 26 via the DT line 33, and the IC card 26 acquires this write command.
  • the data processor 21 switches the control line 32 from the high level to the low level. This causes a transition from state 1 to state 2.
  • state 2 the data processing device 21 transmits write data to the IC card 26 via the DT line 33.
  • the received writing data is stored in the register 28.
  • the control line 32 is switched from the low level to the high level, and the state changes from the state 2 to the state 3.
  • IC card 2 6 performs a process of writing the write data to the memory 2 7.
  • the IC card 26 transmits a busy signal (high level) to the data processing device 21 via the DT line 33. Since the data processing device 21 transmits the write command and the current status is the status 3, the data processing device 21 determines that the signal transmitted from the IC card 26 is the status signal.
  • the output of the busy signal is stopped at the completed timing t44, and the ready one signal (low level) is transmitted to the data processing device 21. .
  • the data processing device 21 determines that the write process corresponding to the write command has been completed, stops transmitting the clock signal, and sets the control line 32 from the high level to the low level at the timing t45. Switch to level. As a result, state 3 returns to state 0 (initial state).
  • the IC card 26 receives the DT line 33 from the IC card 26.
  • the data processor 21 recognizes this signal as an interrupt signal. Then, the data processing unit 21 performs necessary processing based on the received interrupt signal. For example, when the IC card 26 is removed from the data processing device 21, the IC card 26 generates an interrupt signal.
  • a command is transmitted in state 1 and data corresponding to the command is transmitted in state 2 thereafter.
  • FIG. 4 shows the appearance of the above-mentioned IC card.
  • FIG. 5 shows the IC card 41 viewed from the H direction in FIG. 4
  • FIG. 6 shows the IC card 41 viewed from the I direction in FIG.
  • This IC card 41 has a substantially rectangular planar shape.
  • notches 44a and 44b for mounting are formed at both ends of the first side surface 42 in the long side direction.
  • mounting notches 44c and 44d are formed on both side ends of the second side surface 43 parallel to the first side surface.
  • FIG. 7 shows a configuration of one embodiment of the present invention.
  • One embodiment is a circuit configuration for one-way communication of a single-ended signal and a differential signal applied to, for example, the control line 32 in FIG.
  • 1 is a transmitter for a single-ended signal
  • 2 is a receiver for a single-ended signal
  • 3 is a transmitter for a differential signal
  • 4 is a receiver for a differential signal.
  • R is a terminating resistor for differential signals, and is also used as a damping resistor to prevent overshoot Z undershoot of single-ended signals at high speed.
  • the signal When communicating with a single-ended signal, the signal is supplied from the single-ended signal transmitter 1 to the single-ended signal receiver 2 via the damping resistor R. Is done. At this time, the differential signal transmitter 3 and the differential signal receiver 4 are disabled to have high impedance with respect to the communication path.
  • a signal is supplied from the differential signal transmitter 3 to the differential signal receiver 4 via the terminating resistor R.
  • the transmitter 1 for single-ended signals and the receiver 2 for single-ended signals are disabled to have high impedance with respect to the communication path.
  • FIG. 8 shows a configuration of another embodiment of the present invention.
  • Another embodiment is a circuit configuration for bidirectional communication of a single-ended signal and a differential signal applied to, for example, the DT line 33 in FIG.
  • 5 and 8 are single-ended signal transmitters
  • 6 and 7 are single-ended signal receivers.
  • 9 and 12 are differential signal transmitters
  • 10 and 11 are differential signal receivers.
  • R l and R 2 are the terminating resistors for the differential signal.Two are used in parallel and used as the damping resistor R 1 // R 2 for single-ended signal.
  • the signal is supplied from the device 5 to the single-ended signal receiver 6 via the damping resistor R 1 // R 2.
  • a signal is supplied from the single-ended signal transmitter 8 to the single-ended signal receiver 7 via the damping resistor R 1 // R 2.
  • the differential signal transmitters 9 and 12 and the differential signal receivers 10 and 11 are disabled to have a high impedance with respect to the communication path.
  • FIG. 9 shows a configuration of still another embodiment of the present invention applicable to a circuit configuration for bidirectional communication.
  • 13 and 16 are single-ended signal transmitters
  • 14 and 15 are single-ended signal receivers
  • 17 and 20 are differential signal transmitters
  • 18 and 19 are differential signal receivers.
  • R 3 and R 4 are terminating resistors for differential signals, and two are used in parallel as damping resistors R 3 // R 4 for single-ended signals.
  • a signal is supplied from a single-ended signal transmitter 13 to a single-ended signal receiver 14 via a damping resistor R3 ⁇ R4.
  • a signal is supplied from the single-ended signal transmitter 16 to the single-ended signal receiver 15 via the damping resistor R3 ⁇ R4.
  • the differential signal transmitters 17 and 20 and the differential signal receivers 18 and 19 are disabled to have high impedance with respect to the communication path.
  • a signal is supplied from the differential signal transmitter 17 to the differential signal receiver 18 via the terminating resistor R3.
  • a signal is supplied from the differential signal transmitter 20 to the differential signal receiver 19 via the terminating resistor R4.
  • the single-ended signal transmitters 13 and 16 and the single-ended signal receivers 14 and 15 are disabled to have high impedance with respect to the communication path.
  • the IC card to which the present invention is applied can support both the first transmission method using a differential signal and the second transmission method using a single-ended signal.
  • Existing IC cards are equipped with only one interface, for example, an interface using single-ended signals.
  • An interface using a single-ended signal is referred to as a conventional interface.
  • an interface using differential signals is called a new interface.
  • Figures 10 and 11 show the conventional interface.
  • New data processing device that can be used for both new and new interfaces
  • FIG. 4 illustrates an example of a process for detecting a source and other examples.
  • the value of the interface mode is set in a nonvolatile memory such as a ferroelectric memory provided in a controller in the IC card.
  • the interface mode is a code for storing the interface mode, for example, a 1-bit flag. Processing starts when the power of the data processing device is turned on. In step S1, it operates with the conventional interface. This is because if the interface is a conventional interface, communication can be reliably performed regardless of whether the IC card is of the old or new type.
  • step S2 the data processing device reads the attribute data written in the boot area of the IC card, and in step S3, determines whether the input IC card is a new interface. Is determined, and if it corresponds to the conventional interface, in step S4, it operates with the conventional interface. The operation here includes a reset operation. If the IC card is removed or reinserted in step S5, the process returns to step S1 (operating with the conventional interface).
  • step S6 the value of the new interface is set in the nonvolatile memory in the controller of the IC card.
  • the operation is switched from the conventional interface to the new interface in step S8 by the reset command in step S7.
  • the new interface operation includes a reset operation.
  • step S9 the conventional interface is set in the nonvolatile memory.
  • step S5 the IC card If is removed or reinserted, the process returns to step S1 (operation of the conventional interface).
  • Steps S8 and S9 are the parts where the operation with the new interface is performed.
  • FIG. 11 is a flowchart showing another example of the interface detection processing of the IC card. Processing starts when the power of the data processing device is turned on. In step S11, the conventional interface operates. In step S12, the data processing device reads the attribute data written in the boot area of the IC card, and in step S13, determines whether the inserted IC card is a new interface. Is determined. If it is compatible with the conventional interface. In step S14, operation is performed using the conventional interface. The operation here includes a reset operation. If the IC card is removed or reinserted in step S15, the process returns to step S11 (operating with the conventional interface).
  • step S16 a reset command is transmitted from the data processing device to the IC card. With this reset command, the value written in the nonvolatile memory is changed from the conventional interface to the new interface. As a result, the operation is switched to the new interface (step S17). If the IC card is removed or reinserted in step S15, the process returns to step S11 (operating with the conventional interface).
  • the signal line for the differential signal and the signal line for the single-ended signal are shared.
  • an increase in the number of signal lines can be prevented.
  • the number of components can be reduced by using the terminating resistance of the differential signal and the damping resistance of the single-ended signal together.
  • the transmitter and receiver of the differential signal are disabled to provide high impedance to the communication path.
  • the transmitter of the single-ended signal is used.

Description

明 細 書
I Cカード、 I Cカードシステムおよびデータ処理装置 技術分野
この発明は、 リムーバブルが I Cカードを使用する場合に、 シングル エンド信号と差動信号の混在を実現するようにした I Cカード、 I C力 一ドシステムおよびデータ処理装置に関する。 背景技術
データ処理装置と I Cカードとの間のインターフェイスとして、 シン ダルェンド信号を用いる構成と、 小振幅の差動信号を用いる構成とが可 能である。 シングルエンド信号は、 例えば T T Lレベル (例えば 3 . 3 V ) であり、 差動信号は例えば土 2 0 O m Vのレベルの信号である。 シ ングルエンド信号の場合には、 差動信号と比して必要な信号伝送線の本 数が半分で済むので、 信号線を増加させないために、 シングルエンド信 号を使用することが多かった。 一方、 差動信号を使用すると、 信号レべ ルが小さくて良いので、 消費電力を少なくでき、 また、 差動信号である ために、 ノイズの影響を受けなくできる利点がある。
例えば既存の I Cカードのィンターフェ一スがシングルェンド信号の 場合に、 差動信号によるインターフェースを I Cカードに搭載しようと すると、 既存の I Cカードおよびデータ処理装置との互換性を考慮して, シングルエンド信号による伝送と、 差動信号による伝送との両方が可能 なことが望ましい。 通常は、 シングルエンド信号と差動信号のレベルが かなり異なるので、 シングルェンド信号のィン夕一フェースと差動信号 のィンタ一フェースとで、 別々の信号線を使用するのが普通であった。 しかしながら、 I Cカードなどの限られた大きさの中では信号線数を 容易に増加させられなかった。 そのため、 差動信号伝送用の信号線の片 側のみを用いてシングルエンド信号を送受信するような構成が考えられ る。 差動信号線の片側のみを用いて、 シングルエンド信号を送受信する ような構成をとつた場合、 シングルエンド信号の送信機や受信機のもつ 浮遊容量により差動信号線路が不平衡状態になることがあった。 また、 シングルエンド信号で高速通信を行う際に、 信号のオーバーシュートや アンダーシュートによる誤動作を防止するため、 信号線に直列なダンピ ング抵抗を設け、 差動信号の場合でも信号線に並列な終端抵抗を必要と した。 そのため両方式の信号を用いたィンターフェイスを構成する場合 に部品点数の増加が問題となった。
従って、 この発明の目的は差動信号線路の平衡状態を保ち、 部品点数 の増大を抑えることができるデータ処理装置、 I Cカードおよび I C力 一ドシステムを提供することにある。 発明の開示
以上の課題を解決するために、 請求の範囲 1の発明は、 データ処理装 置に対してリムーバブルな I C力一ドにおいて、
データ処理装置との間の信号伝送方法として、 差動信号による第 1の 伝送方法と、 シングルエンド信号による第 2の伝送方法との一方が選択 可能とされ、
第 1の伝送方法と第 2の伝送方法とで、 データ処理装置との間に設け られる信号線の一部を兼用するようにした I Cカードである。
請求の範囲 4の発明は、 データ処理装置と、 データ処理装置に対して リムーバブルな I Cカードとによって構成される I Cカードシステムに おいて、
データ処理装置および I Cカードとの間の信号伝送方法として、 差動 信号による第 1の伝送方法と、 シングルェンド信号による第 2の伝送方 法との一方が選択可能とされ、
第 1の伝送方法と第 2の伝送方法とで、 データ処理装置との間に設け られる信号線の一部を兼用するようにした I C力一ドシステムである。 請求の範囲 6の発明は、 リムーバブルな I Cカードを使用するデータ 処理装置において、
I Cカードとの間の信号伝送方法として、 差動信号による第 1の伝送 方法と、 シングルエンド信号による第 2の伝送方法との一方が選択可能 とされ、
第 1の伝送方法と第 2の伝送方法とで、 I Cカードとの間に設けられ る信号線の一部を兼用するようにしたデータ処理装置である。
この発明によれば、 差動信号とシングルエンド信号の信号線を兼用す るので、 信号線が増加することを防止できる。 また、 差動信号の終端抵 抗と、 シングルエンド信号のダンピング抵抗を兼用することにより、 部 品点数を減少することができる。 図面の簡単な説明
第 1図は、 この発明を適用した実施形態のデータ処理装置、 I Cカー ドのブロック構成図であり、 第 2図は、 データ処理装置と、 I Cカード の間を伝送するデータのタイミングチャートであり、 第 3図は、 データ 処理装置と、 I Cカードの間を伝送するデ一夕のタイミングチヤ一トで あり、 第 4図は、 この発明を適用した I Cカードの形状の一例を示す斜 視図であり、 第 5図は、 第 4図の I C力一ドを図中 H方向から見た図で あり、 第 6図は、 第 4図の I C力一ドを図中 I方向から見た図であり、 第 7図は、 片方向通信用のインタ一フェースに適用されるこの発明の一 実施形態の構成を示す接続図であり、 第 8図は、 双方向通信用のインタ —フェースに適用されるこの発明の他の実施形態の構成を示す接続図で あり、 第 9図は、 双方向通信用のインターフェースに適用されるこの発 明のさらに他の実施形態の構成を示す接続図であり、 第 1 0図は、 I C カードのィンタ一フェース方式を検出する方法の一例を示すフローチヤ ートであり、 第 1 1図は、 I Cカードのインタ一フェース方式を検出す る方法の他の例を示すフローチヤ一トである。 発明を実施するための最良の形態
以下、 この発明の一実施形態について図面を参照しながら説明する。 最初に、 この発明が適用することができる I Cカード (メモリ装置) の 一例について説明する。
第 1図は、 データ処理装置 2 1と I Cカード 2 6とからなるシステム の構成を示す。 データ処理装置 2 1は、 データ処理部 2 2と、 レジス夕
2 3と、 ホスト側シリアルインタ一フェイス回路 2 4と、 ホスト側コン トロ一ラ 2 5とを備えている。 また、 1 (:カ一ド 2 6は、 外観がカード 状の記憶媒体であり、 データ処理装置 2 1に接続されて外部記憶装置と して用いられる。 I Cカード 2 6は、 メモリ 2 7と、 レジスタ 2 8と、 カード側シリァルインターフェイス回路 2 9と、 カード側コントロ一ラ
3 0とを備えている。
データ処理装置 2 1のデータ処理部 2 2は、 I Cカード 2 6に記憶し たデータを読み出して各種データ処理を行い、 また、 各種デ一夕処理を して I Cカード 2 6に書き込むデータを生成する。 すなわち、 このデ一 夕処理部 2 2は、 I Cカード 2 6を用いる例えばコンピュータ操作や、 デジタルオーディォ信号の記録再生装置、 力メラ装置等のオーディオビ ジュアル機器のデータ処理回路となる。
レジスタ 2 3は、 データ処理部 2 2とホスト側シリァルインターフェ イス 2 4とのバッファである。 つまり、 データ処理装置 2 1は、 デ一夕 処理部 2 2からホスト側シリアルインターフェイス回路 2 4にデータを 供給する場合は、 デ一夕をこのレジスタ 2 3に一時格納した後にホスト 側シリアルインターフェイス回路 2 4に供給する。 同様に、 データ処理 装置 2 1は、 ホスト側シリアルインターフェイス回路 2 4からデ一夕処 理部 2 2にデ一夕を供給する場合は、 データを、 このレジスタ 2 3に一 時格納した後にデータ処理部 2 2に供給する。
ホスト側シリアルインターフェイス回路 2 4は、 データ処理部 2 2か らレジスタ 2 3を介して供給されたデータおよびホスト側コントローラ 2 5から供給されるコマンドをシリアル信号に変換して I Cカード 2 6 に供給する。 また、 ホスト側シリアルインターフェイス回路 2 4は、 I C力一ド 2 6から供給されたシリアル信号のデータおよびコマンドをパ ラレル信号に変換して、 データ処理部 2 2およびホスト側コントローラ 2 5に供給する。
また、 ホスト側シリアルインターフェイス回路 2 4は、 各種データお よびコマンドの同期信号 (C L K) 等を I Cカード 2 6に供給する。 ま たホスト側シリアルインターフェイス回路 2 4は、 I Cカード 2 6から 供給され、 この I Cカード 2 6の動作状態を示すステータス (S T A T U S ) 信号を取得する。
ホスト側コントローラ 2 5は、 データ処理部 2 2のデータ処理動作、 ホスト側シリァルインターフェイス回路 2 4の各データの伝送動作の制 御を行う。 また、 ホスト側コントローラ 2 5は、 I Cカード 2 6への制 御命令となるコマンドをレジス夕 2 8を介して I Cカード 2 6に供給す る。
一方、 I Cカード 2 6のメモリ 2 7は、 例えば、 フラッシュメモリ等 からなり、 データ処理部 2 2から供給されたデータを記憶する。 レジスタ 2 8は、 メモリ 2 7とカード側シリァルイン夕ーフェイス回 路 2 9とのバッファである。 つまり、 メモリ 2 7がデータ処理装置 2 1 からのデ一夕を書き込む場合は、 このレジスタ 2 3に一時データを格納 した後に書き込むデータをメモリ 2 7に供給する。 同様に、 デ一夕処理 装置 2 1がメモリ 2 7からデータを読み出す場合は、 このレジスタ 2 3 に一時データを格納した後に読み出すデータをカード側シリァルイン夕 —フェイス回路 2 9に供給する。 すなわち、 このレジスタ 2 8は、 フラ ッシュメモリのいわゆるページバッファの機能等を果たす回路である。 力—ド側シリアルインタ—フェイス回路 2 9は、 カード側コント口— ラ 3 0の制御に基づき、 メモリ 2 7から供給されるパラレル信号のデ一 夕およびカード側コントローラ 3 0から供給されるコマンドをシリアル 信号に変換してデータ処理装置 2 1に供給する。 また、 カード側シリア ルインターフェイス回路 2 9は、 データ処理装置 2 1から供給されるシ リアル信号のデ一夕およびコマンドをパラレル信号に変換して、 メモリ 2 7および力一ド側コントローラ 3 0に供給する。
また、 カード側シリアルインタ一フェイス回路 2 9は、 各種データお よびコマンドの同期信号 (C L K ) 等をデータ処理装置 2 1から取得す る。 また、 カード側シリアルインターフェイス回路 2 9は、 ステータス 信号をデータ処理装置 2 1に供給する。
カード側コントローラ 3 0は、 メモリ 2 7のデータの記憶動作、 読み 出し動作および消去動作等をデータ処理装置 2 1から供給されるコマン ド等に基づき制御する。 また、 カード側コントローラ 3 0は、 力一ド側 シリァルインタ一フェイス回路 2 9の各データの伝送動作の制御を行う また、 ホスト側コント口一ラ 2 5は、 I Cカード 2 6へのステータス信 号を I Cカード 2 6に供給する制御を行う。
以上のようなデータ処理装置 2 1および I Cカード 2 6の間のデータ の伝送は、 ホスト側シリァルイン夕ーフェイス回路 2 4とカード側シリ アルインターフェイス回路 2 9との間に設けられた伝送ラインを介して 行われる。
データ処理装置 2 1のホスト側シリアルインターフェイス回路 2 4と. I Cカード 2 6のカード側シリァルインターフェイス回路 2 9の間には, C L Kライン 3 1と、 コントロールライン 3 2と、 D Tライン 3 3との 3本の信号ラインが設けられている。
D Tライン 3 3には、 主データ、 すなわち、 データ処理部 2 2により データ処理をしてメモリ 2 7に書き込むデータおよびメモリ 2 7からデ —夕処理部 2 2に読み出すデータが伝送される。 また、 この D Tライン 3 3には、 データ処理装置 2 1から I Cカード 2 6に供給する制御命令 となるコマンドと、 I Cカード 2 6からデータ処理装置 2 1に供給され るコマンドが伝送される。 すなわち、 この D Tライン 3 3には、 主デー 夕およびコマンドが、 シリアル信号で双方向伝送される。
また、 D Tライン 3 3には、 一端が接地された抵抗 3 3 aが取り付け られている。 この抵抗 3 3 aは、 いわゆるブルダウン抵抗であり、 ホス ト側シリァルインタ一フェイス回路 2 4とカード側シリアルインタ一フ ェイス回路 2 9との間での、 D Tライン 3 3による信号の送受信がなさ れていないとき、 D Tライン 3 3の信号レベルは、 ローレベルとなる。 換言すれば、 D Tライン 3 3による信号の送受信がなされていないとき. D Tライン 3 3の信号レベルは、 抵抗 3 3 aの抵抗値等によって定まる 一定のレベルとなる。
なお、 ここでは、 抵抗 3 3 aとして、 いわゆるプルダウン抵抗を採用 し、 D Tライン 3 3による信号の送受信がなされていないとき、 D Tラ イン 3 3の信号レベルがローレベルとなるようにしたが、 抵抗 3 3 aと して、 いわゆるプルアップ抵抗を採用し、 D Tライン 3 3による信号の 送受信がなされていないとき、 DTライン 3 3の信号レベルがハイレべ ルとなるようにしてもよい。
C LKライン 3 1には、 上述した DTライン 3 3に伝送される主デー 夕およびコマンドの同期信号が、 データ処理装置 2 1から I Cカード 2 6に伝送される。
コントロールライン 3 2には、 コントロール信号がデータ処理装置 2 1から I Cカード 26に伝送される。 このコントロール信号が供給され ている期間、 例えばハイレベルとなっている期間、 上述した主データお よびコマンドが伝送される。
ここで、 上述した DTライン 3 3には、 主デ一夕およびコマンドに加 えて、 I Cカード 2 6の動作状態を示すステータス (STATUS) 信 号が I Cカード 2 6からデータ処理装置 2 1に供給される。 この I C力 ード 26からのステータス信号は、 DTライン 3 3に主データおよびコ マンドが伝送されていない期間、 すなわち、 コントロール信号が供給さ れていない期間例えば、 ローレベルの期間に供給される。
このステータス信号には、 I Cカード 2 6が処理を行っていることを 示すビジー (BUSY) 信号がある。 例えば、 I Cカード 26が書き込 み処理をおこなっている場合であって、 データ処理装置 2 1からのァク セスを禁止するときには、 このビジー信号が I Cカード 2 6からデータ 処理装置 2 1に供給される。 また、 このステータス信号には、 I Cカー ド 2 6からデータ処理装置 2 1に対しての割り込みを示すインタラプト ( I NTERRUPT) 信号がある。 例えば、 I Cカード 26からデー タ処理装置 2 1に対して割り込み命令を要求するときには、 このィン夕 ラプト信号が供給される。 なお、 このビジー信号やインタラプト信号は 一例であり、 ステータス信号として I Cカード 26の動作状態を示す信 号であればどんな信号であってもよい。 第 2図は、 I C力一ド 2 6からデ一夕を読み出す時のタイミングを示 す。 状態 0 (初期状態) 以外の状態において、 C L Kライン 3 1を介し て伝送されるデータと同期したクロックが伝送される。 データ処理装置 2 1と I Cカード 2 6との間で、 何等データの送受信がされていない状 態では、 コントロールライン 3 2がローレベルとなっている。 これが状 態 0 (初期状態) である。 そして、 タイミング t 3 1において、 データ 処理装置 2 1がコントロールライン 3 2をハイレベルとし、 状態 1とな る。
I Cカード 2 6はコントロールライン 3 2がハイレベルに切り替わつ たことによって、 状態 0から状態 1へ変化したことを検出する。 状態 1 では、 D Tライン 3 3を介してデータ処理装置 2 1から I Cカード 2 6 に対して読み出しコマンドが送信され、 I Cカード 2 6が読み出しコマ ンドを受信する。 この読み出しコマンドは、 シリアルインターフェイス 用の T P Cと称されるプロトコルコマンドである。 後述するように、 プ ロトコルコマンドによって、 通信の内容と後続するデータのデータ長が 特定される。
コマンドの送信が完了したタイミング t 3 2において、 コントロール ライン 3 2がハイレベルから口一レベルに切り替えられる。 それによつ て、 状態 1から状態 2へ遷移する。 状態 2では、 I Cカード 2 6が受信 したコマンドで指示される処理、 具体的には、 読み出しコマンドで指定 されたアドレスのデータをメモリ 2 7から読み出す処理を行う。 この処 理がなされている間、 D Tライン 3 3を介してビジー信号 ひ、ィレべ ル) がデータ処理装置 2 1に送信される。
そして、 メモリ 2 7からデータの読み出しが完了したタイミング t 3 3において、 ビジー信号の出力が停止され、 データ処理装置 2 1に対し て I Cカード 2 6からデータを送出する準備ができたことを示すレディ 一信号 (ローレベル) の出力が開始される。
データ処理装置 2 1は、 I Cカード 2 6からレディー信号を受信する ことによって、 読み出しコマンドに対応する処理が準備できたことを知 り、 タイミング t 3 4において、 コントロールライン 3 2をハイレベル に切り替える。 すなわち、 状態 2から状態 3へ遷移する。
状態 3になると、 I Cカード 2 6は、 状態 2においてレジスタ 2 8に 読み出したデータを D Tライン 3 3を介してデータ処理装置 2 1に対し て出力する。 読み出しデータの転送が完了したタイミング t 3 5におい て、 データ処理装置 2 1は、 C L Kライン 3 1を介して伝送されていた クロックの供給を停止すると共に、 ステータス線をハイレベルからロー レベルへ切り替える。 それによつて、 状態 3から初期状態 (状態 0 ) に 遷移する。
なお、 I Cカード 2 6の内部状態に変化が生じて何らかの割り込み処 理を行う必要が発生すると、 I Cカード 2 6は、 タイミング t 3 6で示 すように、 状態 0において、 割り込みを示すインタラプト信号を D Tラ イン 3 3を介してデータ処理装置に供給する。 データ処理装置 2 1は、 状態 0で I C力一ド 2 6から D Tライン 3 3を介して信号が供給された 場合、 その信号がィンタラブト信号であることを認識できるように設定 されている。 データ処理装置 2 1がインタラプト信号を受け取ると、 そ のィンタラブト信号に基づいて必要な処理を行う。
第 3図は、 I Cカード 2 6のメモリ 2 7に対してデ一夕を書き込む時 のタイミングチャートである。 初期状態 (状態 0 ) では、 C L Kライン 3 1の伝送がされない。 タイミング t 4 1において、 データ処理装置 2 1がコントロールライン 3 2をローレベルからハイレベルに切り替える, それによつて、 D Tライン 3 3を介して書き込みコマンドが伝送される 状態 1に遷移する。 I Cカード 2 6は、 状態 1において、 コマンドを取 得するように準備する。 タイミング t 4 1からコマンドが D Tライン 3 3を介して I Cカード 2 6に伝送され、 I Cカード 2 6.がこの書き込み コマンドを取得する。
書き込みコマンドの送信が完了したタイミング t 4 2において、 デー 夕処理装置 2 1がコントロ一ルライン 3 2をハイレベルからローレベル に切り替える。 それによつて、 状態 1から状態 2へ遷移する。 状態 2で は、 データ処理装置 2 1が書き込みデータを D Tライン 3 3を介して I Cカード 2 6に伝送する。 I Cカード 2 6では、 受け取った書き込みデ 一夕がレジス夕 2 8に蓄えられる。
書き込みデータの伝送が終了するタイミング t 4 3において、 コント ロールライン 3 2がローレベルからハイレベルへ切り替えられ、 状態 2 から状態 3へ遷移する。 状態 3において、 I Cカード 2 6は、 書き込み データをメモリ 2 7へ書き込む処理を行う。 状態 3において、 I Cカー ド 2 6は、 D Tライン 3 3を介してビジー信号 (ハイレベル) をデータ 処理装置 2 1に対して送信する。 データ処理装置 2 1は、 書き込みコマ ンドを送信し、 且つ現状の状態が状態 3であることから、 I Cカード 2 6から送信される信号がステータス信号であると判断する。
I Cカード 2 6において、 書き込みデータの書き込み処理が終了する と、 終了したタイミング t 4 4において、 ビジー信号の出力を停止し、 レディ一信号 (ローレベル) をデータ処理装置 2 1に対して送信する。 データ処理装置 2 1は、 レディー信号を受信すると、 書き込みコマンド に対応する書き込み処理が完了したものと判断し、 クロック信号の送信 を止めると共に、 タイミング t 4 5においてコントロールライン 3 2を ハイレベルからローレベルへ切り替える。 それによつて、 状態 3から状 態 0 (初期状態) に戻る。
さらに、 状態 0において、 I Cカード 2 6から D Tライン 3 3を介し てハイレベルの信号をデータ処理装置 2 1が受け取った場合には、 デー タ処理装置 2 1がこの信号をインタラプト信号と認識する。 そして、 デ 一夕処理装置 2 1は、 受信したインタラプト信号に基づいて必要な処理 を行う。 例えば I Cカード 2 6をデータ処理装置 2 1から取り外した時 に、 I Cカード 2 6がインタラプト信号を発生する。
上述した読み出し動作、 書き込み動作以外においても、 状態 1におい て、 コマンドが伝送され、 その後の状態 2において、 コマンドに対応す るデータが伝送される。
上述した I Cカードの外観を第 4図に示す。 また、 I Cカード 4 1を 第 4図中 H方向から見た図を第 5図に示し、 I Cカード 4 1を第 4図中 I方向から見た図を第 6図に示す。 この I Cカード 4 1は、 平面形状が 略長方形をしている。 また I Cカード 4 1は、 長辺方向の第 1の側面 4 2の両側端部に、 装着用の切欠部 4 4 a、 4 4 bが形成されている。 ま た、 第 5図に示すように、 第 1の側面と平行な第 2の側面 4 3の両側端 部にも、 装着用の切欠部 4 4 c、 4 4 dが形成されている。
この発明は、 上述したリム一バブルな I Cカードおよびデータ処理装 置間のインターフェイスに適用されるものである。 第 7図は、 この発明 の一実施形態の構成を示す。 一実施形態は、 例えば第 1図中のコント口 ールライン 3 2に対して適用される、 シングルェンド信号と差動信号の 片方向通信用の回路構成である。 第 7図において、 1はシングルエンド 信号の送信機、 2はシングルエンド信号の受信機であり、 3は差動信号 の送信機、 4は差動信号の受信機である。 また Rは差動信号の終端抵抗 であり、 シングルエンド信号の高速時におけるオーバーシユート Zアン ダ一シュ一トを防止するためのダンピング抵抗としても用いる。
シングルエンド信号での通信時はシングルエンド信号の送信機 1から ダンピング抵抗 Rを介してシングルエンド信号の受信機 2に信号が供給 される。 その際に、 差動信号の送信機 3、 差動信号の受信機 4をデイセ 一ブルにして通信路に対してハイインピ一ダンスにしておく。
差動信号での通信時は、 差動信号の送信機 3から終端抵抗 Rを介して 差動信号の受信機 4に信号が供給される。 その際に、 シングルエンド信 号の送信機 1、 シングルエンド信号の受信機 2をデイセ一ブルにして通 信路に対してハイインピーダンスにしておく。
第 8図は、 この発明の他の実施形態の構成を示す。 他の実施形態は、 例えば第 1図中の D Tライン 3 3に対して適用される、 シングルエンド 信号と差動信号の双方向通信用の回路構成である。 第 8図において 5、 8はシングルエンド信号の送信機であり、 6、 7はシングルエンド信号 の受信機である。 9、 1 2は差動信号の送信機であり、 1 0、 1 1は差 動信号の受信機である。 R l、 R 2は差動信号の終端抵抗であり、 2個 並列でシングルエンド信号のダンピング抵抗 R 1 //R 2としても用いる, シングルェンド信号での一方向の通信時では、 シングルェンド信号の 送信機 5から、 ダンピング抵抗 R 1 //R 2を介してシングルエンド信号 の受信機 6に信号が供給される。 他方向の通信時では、 シングルエンド 信号の送信機 8からダンピング抵抗 R 1 // R 2を介してシングルェンド 信号の受信機 7に、 信号が供給される。 その際に差動信号の送信機 9、 1 2、 差動信号の受信機 1 0、 1 1をデイセ一ブルにして通信路に対し てハイインピーダンスにしておく。
差動信号での一方向の通信時では、 差動信号の送信機 9から終端抵抗 R 1を介して差動信号の受信機 1 0に信号が供給される。 他方向の通信 時では、 差動信号の送信機 1 2から終端抵抗 R 2を介して、 差動信号の 受信機 1 1に信号が供給される。 その際にシングルエンド信号の送信機 5、 8、 シングルエンド信号の受信機 6、 7をディセーブルにして通信 路に対してハイインピーダンスにしておく。 第 9図は、 双方向通信用の回路構成に適用できるこの発明のさらに他 の実施形態の構成を示す。 第 9図において 1 3、 1 6はシングルエンド 信号の送信機であり、 1 4、 1 5シングルエンド信号の受信機である。 1 7、 2 0は差動信号の送信機であり、 1 8、 1 9は差動信号の受信機 である。 R 3、 R 4は差動信号の終端抵抗であり、 2個並列でシングル エンド信号のダンピング抵抗 R 3 //R 4としても用いる。
シングルエンド信号での一方向の通信時ではシングルエンド信号の送 信機 1 3から、 ダンピング抵抗 R 3〃R 4を介してシングルエンド信号 の受信機 1 4に信号が供給される。 他方向の通信時では、 シングルェン ド信号の送信機 1 6からダンピング抵抗 R 3〃R 4を介してシングルェ ンド信号の受信機 1 5に、 信号が供給される。 その際に差動信号の送信 機 1 7、 2 0、 差動信号の受信機 1 8、 1 9をディセーブルにして通信 路に対してハイインピーダンスにしておく。
差動信号での一方向の通信時では差動信号の送信機 1 7から終端抵抗 R 3を介して差動信号の受信機 1 8に信号が供給される。 他方向の通信 時では、 差動信号の送信機 2 0から終端抵抗 R 4を介して、 差動信号の 受信機 1 9に信号が供給される。 その際にシングルエンド信号の送信機 1 3、 1 6、 シングルエンド信号の受信機 1 4、 1 5をディセ一ブルに して通信路に対してハイィンピ一ダンスにしておく。
上述したように、 この発明が適用された I Cカードは、 差動信号によ る第 1の伝送方法とシングルェンド信号による第 2の伝送方法との両方 に対応することができる。 また、 既存の I Cカードは、 一方のインター フェース例えばシングルエンド信号によるインターフェースのみを搭載 している。 シングルエンド信号によるィンターフェースを従来ィンター フェースと称する。 一方、 差動信号によるインタ一フェースを新イン夕 一フェースと称する。 第 1 0図および第 1 1図は、 従来インタ一フエ一 スおよび新ィンターフェースの何れにも対応できる新型データ処理装置
( I Cカードを使用する機器) が挿入された I Cカードのインターフエ
—スを検出するための処理の一例および他の例を表している。
第 1 0図では、 I Cカード内のコントローラに設けた強誘電体メモリ 等の不揮発性メモリにイン夕一フエ一スモードの値がセットされる。 ィ ン夕一フェースモードは、 ィン夕一フェースモードを記憶するためのコ ―ド例えば 1ビットのフラグである。 データ処理装置の電源がオンされ ることで処理が開始する。 ステップ S 1において、 従来インターフエ一 スで動作する。 これは、 従来インタ一フェースであれば、 I Cカードが 新旧いずれのタイプであっても、 確実に通信を行なうことができるから である。
ステップ S 2において、 データ処理装置が、 I Cカードのブート領域 に書いてある属性データを読み込むことにより、 ステップ S 3において. 揷入された I C力一ドが新ィン夕一フェースであるか否かが決定される, 若し、 従来インタ一フェースに対応しているものであれば、 ステップ S 4において、 従来インターフエ一スで動作する。 ここでの動作には、 リ セット動作が含まれる。 ステップ S 5において、 I Cカードを除去もし くは、 再挿入した場合は、 ステップ S 1 (従来インターフェースで動 作) に戻る。
ステップ S 3において、 新インターフェースに対応と決定されると、 ステツプ 6において、 I Cカードのコントローラ内の不揮発性メモリに 新ィンタ一フェースの値をセットする。 ステップ S 7のリセットコマン ドにより、 ステップ S 8において、 従来インタ一フェースから新イン夕 一フェースへ動作が切り替わる。 新ィン夕ーフェース動作にはリセット 動作が含まれる。 ステップ S 9において、 不揮発性メモリに従来イン夕 一フェースをセットする。 そして、 ステップ S 5において、 I Cカード を除去もしくは、 再挿入した場合は、 ステップ S 1 (従来インターフエ ースの動作) に戻る。 ステップ S 8および S 9が新インターフェースで の動作がなされる部分である。
第 1 1図は、 I Cカードのィンターフェ一スの検出処理の他の例を示 すフローチャートである。 データ処理装置の電源がオンされることで処 理が開始する。 ステップ S 1 1において、 従来インターフェースで動作 する。 ステップ S 1 2において、 データ処理装置が、 I Cカードのブー ト領域に書いてある属性データを読み込むことにより、 ステップ S 1 3 において、 揷入された I Cカードが新ィンターフェ一スであるか否かが 決定される。 若し、 従来インターフェースに対応しているものであれば. ステップ S 1 4において、 従来インターフェースで動作する。 ここでの 動作には、 リセット動作が含まれる。 ステップ S 1 5において、 I C力 —ドを除去もしくは、 再挿入した場合は、 ステップ S 1 1 (従来インタ 一フェースで動作) に戻る。
ステップ S 1 3において、 新ィンタ一フェースに対応と決定されると. ステップ S 1 6において、 データ処理装置から I Cカードに対してリセ ットコマンドを送信する。 このリセットコマンドにより、 不揮発性メモ リに書かれている値が従来ィンターフェースから新ィンターフェースへ 変えられる。 それによつて動作が新ィンターフェースへ切り替えられる (ステップ S 1 7 ) 。 ステップ S 1 5において、 I Cカードを除去もし くは、 再挿入した場合は、 ステップ S 1 1 (従来インターフェースで動 作) に戻る。
この発明は、 上述したこの発明の一実施形態等に限定されるものでは 無く、 この発明の要旨を逸脱しない範囲内で様々な変形や応用が可能で める。
この発明によれば、 差動信号とシングルエンド信号の信号線を兼用す るとによって、 信号線の増加を防止することができる。 また、 差動信号 の終端抵抗と、 シングルェンド信号のダンピング抵抗を兼用することに より、 部品点数を減少することができる。
また、 シングルエンド信号での通信時は、 差動信号の送信機、 受信機 をデイセ一ブルにして通信路に対してハイインピーダンスし、 差動信号 での通信時は、 シングルエンド信号の送信機、 受信機をディセーブルに して通信路に対して八イインピ一ダンスにすることにより、 伝送路長が 短い場合などは、 差動信号の平衡状態が保つことができ、 伝送路長が長 く平衡状態を保っためにダミーの送信機/受信機に相当する容量を付加 しなくてはならない場合でも、 その大きさを小さくできる。

Claims

請 求 の 範 囲
1 . データ処理装置に対してリムーバブルな I Cカードにおいて、 データ処理装置との間の信号伝送方法として、 差動信号による第 1の 伝送方法と、 シングルエンド信号による第 2の伝送方法との一方が選択 可能とされ、
上記第 1の伝送方法と上記第 2の伝送方法とで、 データ処理装置との 間に設けられる信号線の一部を兼用するようにした I Cカード。
2 . 請求の範囲 1において、
上記第 1および第 2の伝送方法が選択可能なことが属性情報として記 憶されている I Cカード。
3 . 請求の範囲 1において、
上記第 1の伝送方法における差動信号の終端抵抗と、 上記第 2の伝送 方法におけるシングルエンド信号の高速時におけるオーバーシュートま たはアンダーシュートを防止するためのダンピング抵抗を兼用するよう にした I Cカード。
4 . データ処理装置と、 データ処理装置に対してリムーバブルな I C力 一ドとによって構成される I Cカードシステムにおいて、
データ処理装置および I C力一ドとの間の信号伝送方法として、 差動 信号による第 1の伝送方法と、 シングルエンド信号による第 2の伝送方 法との一方が選択可能とされ、
上記第 1の伝送方法と上記第 2の伝送方法とで、 データ処理装置との 間に設けられる信号線の一部を兼用するようにした I Cカードシステム,
5 . 請求の範囲 4において、
上記第 1の伝送方法における差動信号の終端抵抗と、 上記第 2の伝送 方法におけるシングルエンド信号の高速時におけるオーバ一シュートま たはアンダーシュートを防止するためのダンピング抵抗を兼用するよう にした I Cカードシステム。
6 . リムーバブルな I C力一ドを使用するデータ処理装置において、
I Cカードとの間の信号伝送方法として、 差動信号による第 1の伝送 方法と、 シングルエンド信号による第 2の伝送方法との一方が選択可能 とされ、
上記第 1の伝送方法と上記第 2の伝送方法とで、 I Cカードとの間に 設けられる信号線の一部を兼用するようにしたデータ処理装置。
7 . 請求の範囲 6において、
I Cカードが挿入された時に、 上記 I Cカードの属性情報を読み取る ことによって、 挿入された I Cカードが上記第 1および第 2の伝送方法 が選択可能とされたものであるか否かを識別し、 上記第 1および第 2の 伝送方法の内の識別された伝送方法でもって I Cカードとの通信を行な うようにしたデータ処理装置。
PCT/JP2001/010839 2000-12-12 2001-12-11 Carte à circuit imprimé, système de carte à circuit imprimé, et processeur de données WO2002048854A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE60127709T DE60127709T2 (de) 2000-12-12 2001-12-11 Ic-karte, ic-kartensystem und datenprozessor
EP01270825A EP1343070B1 (en) 2000-12-12 2001-12-11 Ic card, ic card system, and data processor
US10/182,963 US6941402B2 (en) 2000-12-12 2001-12-11 IC card, data processing apparatus, and system using common signal lines and common resistor for differential signals and single end signals

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2000377972A JP4517502B2 (ja) 2000-12-12 2000-12-12 Icカード、icカードシステムおよびデータ処理装置
JP2000-377972 2000-12-12

Publications (1)

Publication Number Publication Date
WO2002048854A1 true WO2002048854A1 (fr) 2002-06-20

Family

ID=18846622

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2001/010839 WO2002048854A1 (fr) 2000-12-12 2001-12-11 Carte à circuit imprimé, système de carte à circuit imprimé, et processeur de données

Country Status (7)

Country Link
US (1) US6941402B2 (ja)
EP (1) EP1343070B1 (ja)
JP (1) JP4517502B2 (ja)
KR (1) KR100866444B1 (ja)
CN (1) CN1280703C (ja)
DE (1) DE60127709T2 (ja)
WO (1) WO2002048854A1 (ja)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100562505B1 (ko) * 2003-10-09 2006-03-21 삼성전자주식회사 중앙 처리 장치의 개입없이 널 바이트 정보를 자동적으로전송할 수 있는 집적회로 카드
US7673080B1 (en) * 2004-02-12 2010-03-02 Super Talent Electronics, Inc. Differential data transfer for flash memory card
KR101051703B1 (ko) 2004-08-09 2011-07-25 삼성전자주식회사 서스펜드/리쥼 기능을 갖는 집적 회로 카드 및 집적 회로카드 시스템
JP4433311B2 (ja) * 2005-09-12 2010-03-17 ソニー株式会社 半導体記憶装置、電子機器及びモード設定方法
WO2007049455A1 (ja) * 2005-10-28 2007-05-03 Matsushita Electric Industrial Co., Ltd. 半導体メモリカード
JP5240491B2 (ja) * 2007-06-26 2013-07-17 ソニー株式会社 送信装置および受信装置
JP5453449B2 (ja) 2009-11-13 2014-03-26 パナソニック株式会社 インターフェース回路、及びインターフェースシステム
WO2011058714A1 (ja) 2009-11-13 2011-05-19 パナソニック株式会社 ドライバ回路、レシーバ回路及びそれらを含む通信システムの制御方法
TWI401570B (zh) * 2010-03-30 2013-07-11 Imicro Technology Ltd 用於差分資料傳輸之快閃記憶卡
US8018250B1 (en) * 2010-10-19 2011-09-13 Xilinx, Inc. Input/output block and operation thereof
JP5659799B2 (ja) * 2011-01-06 2015-01-28 富士ゼロックス株式会社 送受信装置及び信号伝送装置
KR102423987B1 (ko) 2017-09-21 2022-07-22 삼성전자주식회사 터미네이션 회로 및 인터페이스 장치

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11234348A (ja) * 1998-02-10 1999-08-27 Matsushita Electric Ind Co Ltd データ伝送システム
JP2000163172A (ja) * 1998-10-29 2000-06-16 Samsung Electronics Co Ltd インタフェ―ス
JP2001307025A (ja) * 2000-04-21 2001-11-02 Toshiba Corp I/o装置および電子機器

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03255515A (ja) * 1990-03-05 1991-11-14 Nippon Purotetsuku Syst:Kk 信号変換器
JP3477781B2 (ja) * 1993-03-23 2003-12-10 セイコーエプソン株式会社 Icカード
JP3375669B2 (ja) * 1993-03-23 2003-02-10 富士通株式会社 I/oメモリカードのアクセス方法およびその運用方法
JPH08123583A (ja) * 1994-10-27 1996-05-17 Oki Electric Ind Co Ltd 内部状態確定装置
US5627416A (en) * 1995-07-21 1997-05-06 Itt Corporation Multi-voltage IC card host
JPH09326193A (ja) * 1996-06-04 1997-12-16 Citizen Watch Co Ltd Icメモリカード
JP3493096B2 (ja) * 1996-06-07 2004-02-03 株式会社東芝 半導体集積回路、icカード、及びicカードシステム
FI104920B (fi) * 1996-10-31 2000-04-28 Nokia Mobile Phones Ltd Elektroniikkalaite, korttiliitäntä ja laajennuskortti
JP3610424B2 (ja) * 1997-04-23 2005-01-12 カシオ計算機株式会社 電子機器及びインタフェース回路
FR2772535B1 (fr) * 1997-12-11 2000-12-15 Micropross Interface de communication avec une carte a puce synchrone et dispositif equipe d'une telle interface
JP3842609B2 (ja) * 2001-10-22 2006-11-08 株式会社東芝 Icカード用lsi,icカード及びicカードの動作方法

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11234348A (ja) * 1998-02-10 1999-08-27 Matsushita Electric Ind Co Ltd データ伝送システム
JP2000163172A (ja) * 1998-10-29 2000-06-16 Samsung Electronics Co Ltd インタフェ―ス
JP2001307025A (ja) * 2000-04-21 2001-11-02 Toshiba Corp I/o装置および電子機器

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1343070A4 *

Also Published As

Publication number Publication date
JP2002183691A (ja) 2002-06-28
DE60127709T2 (de) 2007-12-13
US20030089785A1 (en) 2003-05-15
JP4517502B2 (ja) 2010-08-04
US6941402B2 (en) 2005-09-06
EP1343070B1 (en) 2007-04-04
EP1343070A1 (en) 2003-09-10
KR20020081303A (ko) 2002-10-26
KR100866444B1 (ko) 2008-10-31
CN1280703C (zh) 2006-10-18
DE60127709D1 (de) 2007-05-16
CN1422401A (zh) 2003-06-04
EP1343070A4 (en) 2006-02-08

Similar Documents

Publication Publication Date Title
KR100893428B1 (ko) 인터페이스 장치
JP3813849B2 (ja) カード装置
US7711865B2 (en) Multi-standard protocol storage devices
US8055808B2 (en) Semiconductor memory device and control method for semiconductor memory device
JP4896450B2 (ja) 記憶装置
EP1788487B1 (en) Card identification compatibility
US20040049619A1 (en) One wire serial communication protocol method and circuit
US9104816B2 (en) Memory card having plurality of interface ports, memory card system, and data communication method for the memory card
US20050021895A1 (en) Removable memory cards including USB and other controllers, connectors, and methods of operating same
WO2002048854A1 (fr) Carte à circuit imprimé, système de carte à circuit imprimé, et processeur de données
KR101978981B1 (ko) 임베디드 멀티미디어 카드(eMMC), 상기 eMMC를 제어하는 호스트, 및 이들을 포함하는 시스템의 동작 방법
JP5364036B2 (ja) 接続バス、電子装置及びシステム
KR20080078977A (ko) Mmc 또는 sd 프로토콜을 사용하는 다수의 메모리장치들을 인터페이스하는 방법 및 시스템
JP2010267259A (ja) メモリデバイスおよびメモリデバイス制御装置
US7017810B2 (en) IC card and IC card system
WO2007032189A1 (ja) メモリカード用入出力装置及びその制御方法
US20070131767A1 (en) System and method for media card communication
KR20020036748A (ko) 마이크로컴퓨터
JP2018156506A (ja) ホスト装置、スレーブ装置及びリムーバブルシステム
JP4364211B2 (ja) カード装置
US20100169698A1 (en) Recording medium control element, recording medium control circuit board, and recording medium control device
ZA200704397B (en) Multimedia card interface method, computer program product and apparatus

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CN KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH CY DE DK ES FI FR GB GR IE IT LU MC NL PT SE TR

WWE Wipo information: entry into national phase

Ref document number: 2001270825

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 1020027010156

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 018077234

Country of ref document: CN

WWE Wipo information: entry into national phase

Ref document number: 10182963

Country of ref document: US

WWP Wipo information: published in national office

Ref document number: 1020027010156

Country of ref document: KR

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWP Wipo information: published in national office

Ref document number: 2001270825

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 2001270825

Country of ref document: EP