UIC UIC680 Programmer's Manual

Contactless smart card reader module-rs232 interface
Table of Contents

Advertisement

UIC680
Contactless Smart Card Reader Module
-RS232 Interface-
Programmer's Manual
Document #: PM063-U
Revision 4
Oct. 5, 2006

Advertisement

Table of Contents
loading

Summary of Contents for UIC UIC680

  • Page 1 UIC680 Contactless Smart Card Reader Module -RS232 Interface- Programmer’s Manual Document #: PM063-U Revision 4 Oct. 5, 2006...
  • Page 2 UIC680 Programmer’s Manual UDN PM063-U Rev. 4 NOTICE The issuer of this manual has made every effort to provide accurate information contained in this manual. The issuer shall not be held liable for any technical and editorial omissions or errors made herein; nor for incidental consequential damages resulting from the furnishing, performance or use of this material.
  • Page 3 For ease of installation and programming use, we have addressed everything from its attractive features to its various configurations. When designing the UIC680, we selected what we feel are the most useful features and functions. If in some cases you find that your specific needs differ from our existing products, we welcome your comments and suggestions.
  • Page 4: Table Of Contents

    1.2 Application ......................1-1 1.3 Part Number Description ................. 1-2 Section2 : Configurations ................. 2-1 2.1 Dimensions of UIC680 PCBA................2-1 2.2 Dimensions of Remote Antenna PCBA............2-1 2.3 Accessories of UIC680 ..................2-2 Section3 : Technical Specifications ............3-1 3.1 Functional Specifications ................
  • Page 5 UIC680 Programmer’s Manual UDN PM063-U Rev. 4   72 (3732H) or 92 (3932H) – Reader Model Number Report..........4-2   73 (3733H) or 93 (3933H) – Reader PCB Number Report ..........4-2   77 (3737H) or 97 (3937H) – Reader Configuration Data Report ......... 4-3  ...
  • Page 6 UIC680 Programmer’s Manual UDN PM063-U Rev. 4   z (7AH) – I/O to contactless card for block data exchange ..........4-15 4.4 Responses to the Host..................4-16 Section5 : Application Example..............5-1...
  • Page 7: Section1: General Description

    10 Firmware upgradeable 1.2 Application The contactless smart card reader module UIC680 is mainly to support the contactless payment systems. The small footprint size of the module makes it easily to integrate to the current transaction system such as Point-of-Sale terminal, kiosk, and vending machine station as the part of the system.
  • Page 8: Part Number Description

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 1.3 Part Number Description Description UIC680 Contactless IC Card Reader/Writer Module...
  • Page 9: Section2: Configurations

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 Section2: Configurations This section shows the dimensions and accessories of the UIC680. 2.1 Dimensions of UIC680 PCBA Figure 2-1 Dimensions of UIC680 2.2 Dimensions of Remote Antenna PCBA Figure 2-2 Dimensions of Remote Antenna PCBA...
  • Page 10: Accessories Of Uic680

    UDN PM063-U Rev. 4 2.3 Accessories of UIC680 The following accessories should be supplied along with UIC680. Make sure all the following accessories are contained in your package. 1. Interface cable - DB9 male connector 1.5M (or USB type A plug, optional) 2.
  • Page 11: Section3: Technical Specifications

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 Section3: Technical Specifications 3.1 Functional Specifications • Contactless communication at 13.56MHz • Proximity operation distance of up to 100mm • LED indication or 2 x 16 LCD display (support PayPass application) • Audio buzzer •...
  • Page 12: Electrical Specifications

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 3.3 Electrical Specifications • Power Required 5VDC • Power Consumption 100mA in idle mode; 250mA in operating mode • Communication Standard RS232 signal level Compatible with USB 1.1 specification (optional) TTL 5V signal level (optional) •...
  • Page 13: Pin Assignment

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 3.5 Pin Assignment Table 3-1. Interface J3 Pin Assignment Signal Direction PCB-J1 Signal TXD1 Serial data to host RXD1 Serial data from host Serial Pass-thru or TXD2 USB data (or USB D-) Serial Pass-thru or...
  • Page 14: Communication

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 3.6 Communication • RS232 Interface Data Output Synchronization The interface receives and transmits serial asynchronous data at voltage levels compatible with the RS232 specification. Baud Rate 9600 BPS default (optional: 1200/2400/4800/9600/19200/38400/56000/115.2K BPS) • RS232 Interface Pass Through...
  • Page 15: Self - Arm Mode

    In Self-ARM mode, the default setting of card data output doesn’t include the protocol envelope code. The user can turn on the envelope code by utilized the configuration command – SE, TO. (Please refer to the appendix section of UIC680 Configuration Guide)
  • Page 16 UIC680 Programmer’s Manual UDN PM063-U Rev. 4 Card output format (Self-ARM mode) Protocol Preamble Envelope Tk1 prefix Tk1 Data Tk1 suffix code Separator Tk2 prefix Tk2 Data Tk2 suffix Protocol Separator Tk3 prefix Tk3 Data Tk3 suffix Envelope Postamble code The preamble/postamble is only available in the card data output format under Self-ARM mode.
  • Page 17: Section4: Commands And Responses

    Enable Contactless smart card manual type Type A NOTE1: When “Contactless self-arm mode” turns on, UIC680 will automatic read the payment card in the reading zone for both type A and B cards. NOTE2: The contactless card operation commands are invalid when “Self-ARM mode” is enabled.
  • Page 18: Reader Command Description

    • 71 (3731H) or 91 (3931H) – Copyright Report COMMENT Transmit version and copyright information. Send this when you want to know the version and copyright of the Model UIC680 firmware currently loaded. The response is an ASCII string giving the firmware date (yymmdd), reader type and the firmware version number followed by the firmware copyright statement.
  • Page 19: 3737H) Or 97 (3937H) - Reader Configuration Data Report

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 • 77 (3737H) or 97 (3937H) – Reader Configuration Data Report COMMENT Transmit the reader configuration data. The data from the reader configuration area will be transmitted to the host as hex values with the command “77” [offset] [num]. The reader will return any or all the bytes from the reader configuration.
  • Page 20: Version Report

    • 9 (39H) – Version Report COMMENT Transmit version information. Send this when you want to know the version of UIC680 firmware currently loaded. The response is an ASCII string giving the firmware date (mmddyy), reader type and firmware version number.
  • Page 21: L (4Ch) - Led On

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 • L (4CH) – LED ON • l (6CH) – LED OFF • ( (28H) – LED Flash COMMENT 1.Turn first/second LED ON/OFF/Flash, as specified. 2.Transmits an acknowledgement "^" (5EH). NOTE 1.These commands are disabled in the self-arm mode.
  • Page 22: Dc2> (12H) - Rs232 Pass Through Enable

    RS232 pass through function. It is only valid in RS232 model. NOTE Once the pass through mode is enabled, UIC680 passes all data between COM1 and COM2 and do nothing. Power cycling (if the default of PT is disable) or send the string “<DC2>P<DC2>a<DC2>s<DC2>S”...
  • Page 23: P (70H) - Arm To Read (Used For Manufacturing Test Only)

    1.The payment card is decoded successful and the UIC680 is waiting the card to be removed from the reading zone. 2.The payment card is failed to decode and the UIC680 is waiting the card to be removed from the reading zone.
  • Page 24 UIC680 Programmer’s Manual UDN PM063-U Rev. 4 RESPONSE ‘^’ – Acknowledgement ‘*’ – Cannot execute ‘!’ – Bad parameter...
  • Page 25: Contactless Card Operation Command Description

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 4.3 Contactless Card Operation Command Description • G (47H) – ISO14443 type protocol select COMMENT Select ISO 14443 type A or B which manual command operated. G[Type, 1 byte] [Type] 0 (30h, ASCII Hex) - ISO14443 A 4 (30h, ASCII Hex) - ISO14443 B The default contactless smart card type is type A after power up.
  • Page 26: C (63H) - Anticollision(Type A)/Slot-Marker(Type B)

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 The request command code is ISO14443 type A. It can be either 26 (REQA) or 52 (WUPA) NOTE If the [Req command] field does not appear in the request command, reader will set the request mode to WUPA automatically.
  • Page 27: G (67H) - Mifare Classical Card Authentication (Support Mifare Classical Card Only)

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 RESPONSE If the command executed successfully, the reader returns ‘^’ + SAK( 1 byte) ‘^’ + MBLI/CID(1 byte) ‘*’ – No card response or No power on the antenna • g (67H) – Mifare classical card authentication (Support Mifare classical card only) COMMENT Mifare classical card authentication.
  • Page 28: I (69H) - Mifare Classical Card Write Block (Support Mifare Classical Card Only)

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 [Block number] There are two types of block format 000 to 255 (30h30h30h to 32h35h35h, ASCII Hex) B<00><00> to B<00><FF> (42h00h00h to 42h00hFFh, ASCII Hex) RESPONSE block data (16 bytes, Binary Hex) if command executed successfully ‘*’...
  • Page 29: Mifare Classical Card Activation

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 [Block number] There are two types of block number format 000 to 255 (30h30h30h to 32h35h35h, ASCII Hex) B<00><00> to B<00><FF> (42h00h00h to 42h00hFFh, ASCII Hex) [Operation mode] 0 (30h, ASCII Hex) – Decrement 1 (31h, ASCII Hex) –...
  • Page 30: J (4Ah) - Activate Picc Cpu Card

    UIC680 Programmer’s Manual UDN PM063-U Rev. 4 • J (4AH) – Activate PICC cpu card COMMENT Activate PICC cpu card command. The Antenna POWER ON command has to be sent first. RESPONSE ATS (type A) or PUPI (type B) if command executed successfully ‘*’...
  • Page 31 UIC680 Programmer’s Manual UDN PM063-U Rev. 4 If unsuccessful, reader transmits '*'. APDU Command Structure CLA INS Data Lc or Le (If Lc present) APDU Response Structure Data (optional) • z (7AH) – I/O to contactless card for block data exchange COMMENT The command is used to pass a block data to a card.
  • Page 32 UIC680 Programmer’s Manual UDN PM063-U Rev. 4 4.4 Responses to the Host ^ (5EH) Acknowledge. Acknowledges correct completion of most recent command. * (2AH) Command was received correctly. But could not be completed. + (2BH) No Magnetic Stripe Card Data. Command was received correctly.
  • Page 33 The default setting of UIC680 reader, Self-ARM mode, is mainly to simplify the process for the host that doesn’t need to communicate to each other. In this situation, the UIC680 acts like a general magnetic stripe card reader whenever it senses the card, it will try to decode the card data automatically and send the decoded data to the host if the process is successful.
  • Page 34 UDN PM063-U Rev. 4 Host Polled Application Example A. UIC680 setting changed In this example, it assumes UIC680 is in factory default and the user would like to change it to protocol USI2 and Self-ARM disable. Initial State 1. Send the configuration command to set UIC680 to protocol 2.
  • Page 35 Card data processing For next transaction After host issues the Arm-to-Read command, UIC680 will check if any payment card in the reading read zone or any magnetic stripe card swiped (the magnetic stripe reader is optional device). No matter the card is decoded succeed or failed, it will return ‘^’ to indicate...

Table of Contents