Motorola Solutions 89FT7601 Data Module User Manual

Motorola Solutions, Inc. Data Module

User Manual

CARD ACCEPTANCE DEVICE (CAD)Technical User's GuideCAD001-Beta 2Motorola Confidential ProprietaryPRELIMINARY
MOTOROLA READER WARRANTYWarranty: Motorola, Inc. (Motorola") warrants its Motorola manufactured smartcard reader or terminal (ProdĆuct") to the original purchaser (Buyer") as stated herein, except to the extent the terms herein may be modified by awritten SmartCard Systems Agreement between Motorola and Buyer. Smartcards are not covered by this warranty.Motorola warrants the Product against material defects in material and workmanship under normal use and servicefor a period of One (1) Year from the date of Product shipment. Motorola, at its option, will at no charge either repairthe Product (with new or reconditioned parts), replace it with the same or equivalent product (using new or recondiĆtioned parts), or refund the purchase price of the Product during the warranty period provided Buyer notifies MotoĆrola within the warranty period in accordance with the terms of this warranty. Repaired or replaced product is warĆranted for the balance of the original applicable warranty period. All replaced parts of the Product shall become theproperty of Motorola.Warranty Exclusions: This warranty does NOT cover:1. Defects, damage or malfunctions of the Product resulting from:(a) Use of the Product in other than its normal and customary manner.(b) Misuse, accident, neglect, environmental or site conditions not conforming to the Product specifications.(c) Alteration, modification, adjustment, repair or testing of the Product not approved by Motorola.(d) Equipment not approved by Motorola for use with the Product.(e) Excessive power conducted or radiated from equipment not approved by Motorola for use with the ProdĆuct.2. Product which has had the serial number removed or made illegible.3. Normal and customary wear and tear.4. Fraud, theft or loss resulting from unauthorized use of the Product.5. Loss of value or data stored in the Product or in other equipment used with the Product.6. Disclosure of personal or confidential information or data stored in or accessed by the Product.7. Loss or damage from Product or system downtime.8. Scratches or other cosmetic damage to Product surfaces that does not affect the operation of the Product.9. That the software in the Product will meet the purchaser's requirements or that the operation of the software willbe uninterrupted or error-free.General Provisions: This express warranty is extended by Motorola to the original Buyer purchasing the Product,and is not assignable or transferable to any other party. This is the complete warranty for the Product. Motorolaassumes no obligations or liability for additions or modifications to this warranty unless made in writing and signedby an officer of Motorola. Unless made in a separate written agreement(s) between Motorola and Buyer, Motoroladoes not warrant the maintenance or service of the Products other than stated herein.Motorola cannot be responsible in any way for any ancillary equipment not furnished by Motorola which is attachedto or used in connection with the Product, or for operation of the Product with any ancillary equipment, and all suchequipment is expressly excluded from this warranty. Because each system which may use the Product is unique,Motorola disclaims liability for read range, transaction time, or operation of the system as a whole under this warranĆty other than stated above.This warranty sets forth the full extent of Motorola's responsibilities regarding the Product. Replacement or refundof the purchase price, at Motorola's option, is the exclusive remedy. THIS WARRANTY IS GIVEN IN LIEU OF ALLOTHER EXPRESS WARRANTIES. MOTOROLA DISCLAIMS ALL OTHER WARRANTIES OR CONDITIONS, EXĆPRESS OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OR CONDITIONS OF MERCHANTABILITY ANDFITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MOTOROLA BE LIABLE FOR DAMAGES IN EXĆCESS OF THE PURCHASE PRICE OF THE PRODUCT, FOR ANY LOSS OF USE, LOSS OF TIME, INCONVEĆNIENCE, COMMERCIAL LOSS, LOST PROFITS OR SAVINGS OR OTHER INCIDENTAL, SPECIAL, INDIRECT ORCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE SUCH PRODUCT, TO THE FULLEXTENT SUCH MAY BE DISCLAIMED BY LAW.
Patent and Software Provisions: Motorola will defend, at its own expense, any suit brought against the Buyer tothe extent that it is based on a claim that the Product or its parts infringe a United States patent, and Motorola will paythose costs and damages finally awarded against the Buyer in any such suit which are attributable to any suchclaim, but such defense and payments are conditioned on the following:(a) that Motorola will be notified promptly in writing by Buyer of any notice of such claim;(b) that Motorola will have sole control of the defense of such suit and all negotiations for its settlement or comproĆmise; and(c) should the Product or its parts become, or in Motorola's opinion be likely to become, the subject of a claim ofinfringement of a United States patent, that Buyer will permit Motorola, at its option and expense, either toprocure for Buyer the right to continue using the Product or its parts or to replace or modify the same so that itbecomes non-infringing or to grant Buyer a credit for the Product or its parts as depreciated and accept itsreturn. The depreciation will be an equal amount per year over the lifetime of the Product or its parts as estabĆlished by Motorola.Motorola will have no liability with respect to any claim of patent infringement which is based upon the combinationof the Product or its parts furnished hereunder with software, apparatus or devices not furnished by Motorola, norwill Motorola have any liability for the use of ancillary equipment or software not furnished by Motorola which isattached to or used in connection with the Product. The foregoing states the entire liability of Motorola with respectto infringement of patents by the Product or any its parts thereof.Laws in the United States and other countries preserve for Motorola certain exclusive rights for copyrighted MotoroĆla software such as the exclusive rights to reproduce in copies and distribute copies of such Motorola software.Motorola software may be used in only the Product in which the software was originally embodied and such softĆware in such Product may not be replaced, copied, distributed, modified in any way, or used to produce any derivaĆtive thereof. No other use including, without limitation, alteration, modification, reproduction, distribution, or reĆverse engineering of such Motorola software or exercise of rights in such Motorola software is permitted. No licenseis granted by implication, estoppel or otherwise under Motorola patent rights or copyrights.FCC INTERFERENCE WARNINGThis device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) Thisdevice may not cause harmful interference, and (2) this device must accept any interference received, includinginterference that may cause undesired operation.CAUTION:ąChanges or modifications not expressly approved by Motorola could void the user's authority to operĆate the equipment.
EMotorola, Inc. 1999All Rights ReservedPrinted in U.S.A.CAD001-Beta 25/26/99Commercial Government andIndustrial Solutions Sector1301 E. Algonquin Road, Schaumburg, IL 60196Commercial Government andIndustrial Solutions Sector CARD ACCEPTANCE DEVICE(CAD)Table of ContentsForeword iii..........................................................................Performance Specifications iv..........................................................1DescriptionchapterProduct Overview page 2.....................................................................Simplified Block Diagram Theory page 4.......................................................2InstallationchapterUnpacking and Inspection page 2.............................................................Verifying Proper Operation page 4............................................................Tuning Procedure page 14....................................................................Installing CAD into Terminal page 20..........................................................Final Checkout Procedure page 22............................................................3chapterTroubleshootingFault Isolation Procedures page 2.............................................................Returning Faulty CADs to Motorola page 3.....................................................4chapterFunctional Theory of OperationFunctional Theory of Operation page 2........................................................
Table of Contents Motorola Confidential Proprietaryii 5/26/99CAD001-Beta 25chapterCAD Protocols and CommandsTerminalĆtoĆCAD Command Protocol page 2...................................................Answer to Reset (ATR) page 6................................................................CAD Management Commands page 8.........................................................Command Sequences page 28................................................................AppendixAppendix A Ċ Performing FLASH Upgrades page A-1....................................Appendix B Ċ CAD Connector PinĆOuts page B-1.......................................Appendix C Ċ Dimensions and Clearances page C-1....................................and MOTOROLA are trademarks of Motorola, Inc.IBM is a registered trademark of International Business Machines, Inc.
Table of ContentsMotorola Confidential Proprietaryiii5/26/99 CAD001-Beta 2FOREWORDProduct MaintenancePhilosophyDue to the high percentage of surfaceĆmount components and multiĆlayer circuit board design, the maintenance philosophy for this productis one of Field Replaceable Unit (FRU) substitution. Each ControlBoard and Antenna Board matched set is considered a FRU, and whendetermined to be faulty, may be quickly and easily replaced with aknown good set to bring the equipment back to normal operation. Thefaulty CAD set must then be shipped to the Motorola System SupportCenter for further troubleshooting and repair to the component level.Service andReplacement ModulesMotorola System Support Center1311 E. Algonquin RoadSchaumburg, IL 601961-800-221-7144FAX 847-576-2172Int'l 847-576-7300For complete information on ordering FRU replacement modules, orinstructions on how to return faulty modules for repair, contact theMotorola System Support Center (see sidebar).The CAD set (Control Board and Antenna Board) is considered a FRU.If the CAD is determined to be faulty, the entire CAD must be returnedand will be repaired or replaced with a new CAD.Scope of ManualThis manual is intended for use by experienced technicians familiarwith similar types of equipment. In keeping with the maintenance phiĆlosophy of Field Replaceable Units (FRU), this manual contains funcĆtional information sufficient to give service personnel an operationalunderstanding of all FRU modules, allowing faulty FRU modules to beidentified and replaced with known good FRU replacements.The information in this manual is current as of the printing date.Changes which occur after the printing date are incorporated by InĆstruction Manual Revisions (SMR). These SMRs are added to the manĆuals as the engineering changes are incorporated into the equipment.
Table of Contents Motorola Confidential Proprietaryiv 5/26/99CAD001-Beta 2PERFORMANCE SPECIFICATIONSElectricalRequired Supply Voltage 12 V dc +10% / -5%; ripple less than 50 mV PĆPRequired Supply Current 300 mAMaximum Input Power Requirements 4.0 WattsCAD PowerĆUp Time Less than 1.7 seconds after power appliedSpurious and Intentional Emissions Compliant with FCC Regulation Part 15.225Compliant with IĆETS 300 330 clause 7.2.1.3, 7.4.3.2, 7.4.4.2EnvironmentalOperating Temperature 0_Cto70_C; Compliant with IEC 68Ć2Ć2 Part 2 Test Bd and IEC 68Ć2Ć1 Part 2Test Ad, with duration of 16 hoursStorage Temperature -40_Cto85_C; Compliant with IEC 68Ć2Ć2 Part 2 Test Bb and IEC 68Ć2Ć1 Part2 Test Ab, with duration of 72 hoursHumidityOperating: 5% to 95% nonĆcondensingCompliant with IEC 68Ć2Ć3 Part 2 Test Ca, with duration of 4 days; high humiditytest onlyCold and Heat ShockCompliant with IEC 68Ć2Ć1 Part 2 Test Aa, with temperature -40_Canddurationof 2 hours, and IEC 68Ć2Ć2 Part 2 Test Ba, with temperature 85_C and durationof 2 hoursVibrationCompliant with IEC 68Ć2Ć6 with the following parameters:Frequency Range:ą10 Hz to 500 HzVibration Severity:ą3 gnSweep Rate:ą1 octave per minuteEndurance by Sweeping:ą20 sweep cycles for each X, Y, and Z axisCritical Frequency Duration:ą10 million cycles or 10 hours at the fundamentalresonant frequencyShock Compliant with IEC 68Ć2Ć27 Part 2 Test Ea; severity 60 gn; duration 11 msecBump Compliant with IEC68Ć2Ć29 Part 2 Test Eb; severity 40 gn; duration 6 msec; numĆber of bumps: 4000Electrostatic Discharge Compliant with IEC 801Ć2, Severity Level 4Electromagnetic Fields Compliant with ISO 10536Ć1, 4.2.8TransmitterFrequency 13.56 MHz .01%Maximum Output Coil Current 1.00 AppModulation Rise and Fall Time <2.0 msecASK Modulation 8% 14%ReceiverCarrier Frequency 13.56 MHzSubcarrier Frequency 847.5 kHzSubcarrier Data NRZĆL BPSK (ISO Type B)
Table of ContentsMotorola Confidential Proprietaryv5/26/99 CAD001-Beta 2OperationalCADĆtoĆTerminal Communication Rates115,200 bps (default)57,600 bps38,400 bps19,200 bps9,600 bpsCADĆtoĆCard Communication Rates 105.9375 KbpsCADĆtoĆCard Operating Radio Frequency 13.56 MHzISO Card Type Type B
Table of Contents Motorola Confidential Proprietaryvi 5/26/99CAD001-Beta 2Notes...
Chapter 1 "DescriptionCard Acceptance Device (CAD)Technical User's GuideCAD001-Beta 25/26/99chapter contentsProduct Overview 2Simplified Block Diagram Theory 4
Card Acceptance Device (CAD) Technical User's Guide1-2 CAD001-Beta 25/26/991PRODUCT OVERVIEWThe Motorola Card Acceptance Device (CAD) is an electronic module capable of communicating withISO 1443 Type BĆcompatible smart cards via an radio frequency (RF) interface. This section providesgeneral information about the application and physical properties of the CAD.Physical DescriptionOverviewThe CAD, which provides the communications interface between aterminal and customer smart cards, consists of a Control Board andan Antenna Board. These two boards are connected together by a100 mm multiĆconductor interconnect cable. The CAD is connectedto the terminal via a 10Ćpin connector located on the Control Board.Control BoardThe Control Board contains a microprocessor, nonĆvolatile memory,and radio frequency transmitting and receiving circuitry. This boardcommunicates with smart cards via an RF link (provided by theAntenna Board), and to the terminal via RS485 serial protocol.Antenna BoardThe Antenna Board consists of printed circuit board with coppertraces forming the transmit and receive antenna. The board isattached to a ferrite plate and a metal back plate that serves as aground plane.Typical ApplicationThe CAD described in this manual is specifically designed tooperate in AES Prodata Automated Fare Collection Terminals for thepurpose of allowing customers to electronically pay fares on masstransit vehicles.
Chapter 1ąDescription1-3CAD001-Beta 25/26/99CAD PrimaryComponentsANTENNA BOARDCONTROL BOARDINTERCONNECTCABLECONNECTS TOCABLE FROM TERMINAL(RS485 PROTOCOL)
Card Acceptance Device (CAD) Technical User's Guide1-4 CAD001-Beta 25/26/992SIMPLIFIED BLOCK DIAGRAM THEORYThe illustration on the facing page shows a simplified block diagram of the CAD. This section isintended to provide a basic understanding of the CAD circuitry and how it interacts with the terminaland smart cards. (Refer to Chapter 4 for a more detailed block diagram and circuit descriptions.)Overview of CADOperationThe CAD serves as the data communications link betweencustomer smart cards and the terminal in which the CAD isinstalled.For CADĆtoĆCard communications, the Control Board receives datasignals from the terminal. It then transmits these data signals via RFto a smart card held within reading distance of the CAD's AntennaBoard.For CardĆtoĆCAD communications, encrypted RF data signals fromthe smart card are received by the Control Board (via the AntennaBoard) where they are sent to the terminal via the RS485 connectorlocated on the board.
Chapter 1ąDescription1-5CAD001-Beta 25/26/99CAD Simplified BlockDiagramCARD ACCEPTANCE DEVICE (CAD)MICROPROCESSORTERMINALNONĆVOLATILEMEMORYANALOG(AFE)POWER SUPPLYCIRCUITRYFRONT ENDCONTROL BOARDANTENNA BOARDRS485DATA CABLE+5V+5V_A100 MM INTERCONNECT CABLESMART CARD
Card Acceptance Device (CAD) Technical User's Guide1-6 CAD001-Beta 25/26/99CAD DetailedComponentsThe Control Board contains components on both sides of the circuitboard. The Antenna Board contains no components, but ratherprinted circuit traces which form the antenna. Refer to the photoson the facing page for identification of the components on the twoboards.
Chapter 1ąDescription1-7CAD001-Beta 25/26/99CAD DetailedComponentsSRAMMEMORYFLASHMEMORYCONTROL BOARD ANTENNA BOARDRS485CONNECTORTO/FROMTERMINALTUNINGCAPACITORMICROPROCESSORMETAL BACK PLATE(GROUND PLANE)CONTROL BOARD ANTENNA BOARDINTERCONNECTCABLEANTENNA CIRCUIT BOARD(TRACES FORM ANTENNA)STATUSLED(GREEN)p/oANALOG FRONT END (AFE)p/oANALOGFRONT END(AFE)
Card Acceptance Device (CAD) Technical User's Guide1-8 CAD001-Beta 25/26/99Notes...
Chapter 2 "InstallationCard Acceptance Device (CAD)Technical User's GuideCAD001-Beta 25/26/99chapter contentsUnpacking and Inspection 2Verifying Proper Operation 4Tuning Procedure 14Installing CAD Into Terminal 20Final Checkout Procedure 22
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-2 CAD001-Beta 25/26/99UNPACKING AND INSPECTION1This section describes the procedures necessary to unpack and take inventory, run a Self Test utility toverify proper electrical operation, perform a tuning procedure, mechanically install the CAD set into anexternal terminal enclosure, and perform a final checkout procedure.Important!ąThe CAD Control Board contains CĆMOS and other staticĆsensitive components. Whenhandling the CAD, be sure to observe all precautions to prevent damage to the components from staticelectricity. These include the use of a grounded antiĆstatic wrist strap and antiĆstatic mats and worksurfaces.Unpacking andInspecting the CADSetsEach CAD set (consisting of a Control Board and an Antenna Board) istuned and tested at the factory prior to shipment. Each CAD set isshipped with a 10mm multiĆconductor interconnect cable connectedbetween the Control Board and the Antenna Board, ensuring that thematched set remains together.Remove each CAD set from the foam packing material and inspect forvisual damage. Report the extent of any damage to the transportationcompany. Be sure to keep the cable in place to ensure that eachmatched CAD sets remains together.
Chapter 2ąInstallationMotorola Confidential Proprietary2-3CAD001-Beta 25/26/99CAD Set Connected byCableANTENNABOARDCONTROL BOARDMULTIĆCONDUCTORINTERCONNECTCABLE
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-4 CAD001-Beta 25/26/99VERIFYING PROPER OPERATION2Although each CAD set is tested at the factory before shipment, it is recommended that the AutoĆTestutility be run on each CAD set prior to installation into a terminal. This ensures that the CAD set iselectrically functional and was not electrically damaged in transit or during unpacking.The AutoĆTest utility is part of the CADTools program included with the <KIT NUMBER> CAD InstallationKit (available from Motorola). The CADTools program is a Microsoft Windows compatible program thatincludes a suite of factory test utilities and a firmware download utility for updating the CAD operatingsoftware.Required EquipmentThe following hardware and software is required in order to run the SelfTest Utility on a CAD set.D<Kit Number> CAD Installation Kit (includes Test Cable withRS232ĆtoĆRS485 Adaptor, Power Supply, ISO Antenna Board, andCADTools Software.DIBM PCorIBMĆcompatible desktop or laptop computer (needexact specs, OS version, processor type and speed, etc.)Installing the CADToolsSoftwareThe CADTools software is provided on two 3½" high density diskettes.Install the software by performing the following procedure.1. Insert the diskette labeled Disk 1 into the floppy drive of the PC.2. Click on the Start button, then Programs ⇒Run. The followingscreen will be displayed. In the Open box, type a:setup and clickon OK.Ċ continued on next page Ċ
Chapter 2ąInstallationMotorola Confidential Proprietary2-5CAD001-Beta 25/26/99Installing the CADToolsSoftware (continued)3. The installation program will now install seven system filesrequired by the CADTools program. The following screendisplays which files are being installed.4. When the system files have been installed, the followingCADTools Setup screen will appear. Click on OK.Ċ continued on next page Ċ
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-6 CAD001-Beta 25/26/99Installing the CADToolsSoftware (continued)5. The following screen will appear to allow you to select a directoryin which to install the CADTools program. Click on the button (asindicated) to select the default directory:C:\Program Files\CADtools\Otherwise, click on the Change Directory button and navigateto the desired directory.6. The following screen will appear to allow you to enter a ProgramGroup name. The default name is CADTools. Click on Continue.Ċ continued on next page ĊClick on this buttonto select the defaultinstallationdirectory
Chapter 2ąInstallationMotorola Confidential Proprietary2-7CAD001-Beta 25/26/99Installing the CADToolsSoftware (continued)7. The CADTools program will now be installed. The followingscreen will appear to display the progress of the installation.8. The following screen will appear when the installation iscomplete. Click on OK.ząEnd of this Procedureąz
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-8 CAD001-Beta 25/26/99Launching theCADTools Software1. Before launching the CADTools program, the CAD must bepowered and connected to the PC, as shown below. Make theseconnections using the cables, adaptor, and power supplyprovided in the <MODEL> CAD Installation Kit.2. Click on the Start button, then select:Programs ⇒Motorola ⇒CADToolsĊ continued on next page Ċ+12 VPOWERSUPPLYRS232ĆTOĆRS485CONVERTERCAD SETTEST CABLECONNECTS TOCOMM 1 PORTON PC
Chapter 2ąInstallationMotorola Confidential Proprietary2-9CAD001-Beta 25/26/99Launching theCADTools Software(continued)3. The CADTools Main Screen will appear. Click in the Port Selectlist box and select COM1.4. The following screen will appear, prompting you to power cyclethe CAD. Disconnect, then reconnect the black DC powerconnector to power cycle the CAD. Then click on OK.Ċ continued on next page Ċ
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-10 CAD001-Beta 25/26/99Launching theCADTools Software(continued)5. The CADTools main screen will appear. It is from this screen thatyou can access the CAD Factory Test Tool (used to run selfĆtestdiagnostics and perform field tuning) and the FirmwareDownload utility (used to download CAD operating software fromthe PC into FLASH memory in the CAD Control Board).ząEnd of this Procedureąz
Chapter 2ąInstallationMotorola Confidential Proprietary2-11CAD001-Beta 25/26/99THIS PAGE INTENTIONALLY LEFT BLANK
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-12 CAD001-Beta 25/26/99Running the SelfĆTestUtility1. With the CAD connected to the PC and the CADTools programrunning (refer to Launching the CADTools Software on page 2-8),click on the Factory Test button.2. The following CAD Factory Test Tool main screen will appear.continued on next page1
Chapter 2ąInstallationMotorola Confidential Proprietary2-13CAD001-Beta 25/26/99Running the Self TestUtility(Continued)3. Click on the Reset CAD button to cause the CAD set to performa reboot process. When complete, Reset command sent will bedisplayed.4. Click on the AutoĆTest button to initiate the selfĆtest routine. Theresults will be displayed as shown below. Verify that all testresults are OK.ząEnd of this Procedureąz34
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-14 CAD001-Beta 25/26/99TUNING PROCEDURE3Although each CAD set is tuned at the factory, it is recommended that the tuning procedure be repeated beforeinstalling the CAD into the terminal. This ensures that the CAD's read range and reliability are optimized.NoteąTo perform the tuning procedure, you will use the CADTools program. This software applicationwas used previously to perform the SelfĆTest utility to verify that the CAD is electrically functional. Referto page 2-4 for instructions on installing this software application on your PC.Required EquipmentThe following hardware and software is required in order to run the SelfTest Utility on a CAD set.D<Kit Number> CAD Installation Kit (includes Test Cable, PowerSupply, RS232ĆtoĆRS485 Adaptor, ISO Antenna Board, andCADTools Software.DIBM PC or IBMĆcompatible desktop or laptop computer (needexact specs, OS version, processor type and speed, etc.)DOscilloscope (Tek TDS420A, or equivalent)DFrequency Counter (HP 53132A, or equivalent)
Chapter 2ąInstallationMotorola Confidential Proprietary2-15CAD001-Beta 25/26/99Tuning the CAD1. Connect the CAD, PC, and power supply as shown below. Notethat the CAD is mounted in the appropriate card reader panelfor the type of terminal in which the CAD will be used.continued on next page+12 VPOWERSUPPLYRS232ĆTOĆRS485CONVERTERCAD SET(INSTALLED UNDERPANEL)TEST CABLECONNECTS TOCOMM 1 PORTON PCTYPICALREADERPANEL
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-16 CAD001-Beta 25/26/99Tuning the CAD(continued)2. Attach the scope probe to the ISO antenna wires and positionthe antenna on the reader panel (over the CAD set). Whilemonitoring the waveform on the oscilloscope, move the antennaaround until you achieve the maximum Vpp reading(approximately 5 to 10 Vpp). Secure the ISO Antenna in placeusing electrical tape or equivalent.Ċ continued on next page ĊISO ANTENNA SCOPE PROBECONNECTED TOOSCILLOSCOPESECURE ANTENNAUSING TAPE
Chapter 2ąInstallationMotorola Confidential Proprietary2-17CAD001-Beta 25/26/99Tuning the CAD(continued)3. Launch the CADTool program (described on page 2-8) andclick on the Factory Test button to access the CAD Factory TestTool main screen. Click on the CAD Status button to retrieve thecurrent settings from the CAD, as shown below. Jot down thevalues in either the Active DPot or Default DPot column (thevalues at this point should be the same).4. Connect the Frequency Counter probe to the two wires on theISO Antenna. Click on the up/down arrows in the Frequencyadjustment box (to increment/decrement the value one step at attime) and note the frequency reading on the Frequency Counter.(Each time you click and release, the new value is sent to theCAD and the frequency reading will change.)5. Continue to adjust the Frequency value up or down as necessaryto obtain a reading of 13.56 MHz ±0.01%.6. Connect the Oscilloscope probe to the two wires on the ISOAntenna.Ċ continued on next page ĊJot Down Values inEither of TheseTwo Columns
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-18 CAD001-Beta 25/26/99Tuning the CAD(continued)7. Locate the tuning capacitor on the CAD Control Board andadjust it using a plastic tuning tool to achieve the maximum Vppreading on the oscilloscope.8. Click on the up/down arrows in the Antenna adjustment box (toincrement/decrement the value one step at at time) and note thewaveform on the oscilloscope. Continue to adjust the Antennavalue up or down as necessary to obtain the maximum Vppreading (not to exceed 10.9 Vpp).9. Click on the CAD Status button to obtain a new status report.Note the value for the Antenna in the Active DPot column.MaximizeVpp Reading Note This ValueTuning Capacitor
Chapter 2ąInstallationMotorola Confidential Proprietary2-19CAD001-Beta 25/26/99Tuning the CAD(continued)10. Look up the Antenna value in the V max column in the table below and note the corresponding value in the Vmin (10%)column.11. Click on the up/down arrows in the Modulation adjustment box(to increment/decrement the value one step at at time) to set tothe value noted in Step 3.12. Note the Vpp waveform on the oscilloscope. Continue to adjustthe Modulation value up or down as necessary to obtain the Vppvalue noted from the table above. If this value cannot be obtained, continue the process to obtain a value within the 8%and 12% range (as determined by the table above).1110.910.810.710.610.510.410.310.210.1109.99.89.79.69.59.49.39.29.198.98.88.78.68.58.48.38.28.189.3709.2859.2009.1159.0308.9448.8598.7748.6898.6048.5198.4338.3488.2638.1788.0938.0077.9227.8377.7527.6677.5817.4967.4117.3267.2417.1567.0706.9856.9006.8158.8208.7408.6598.5798.4998.4198.3398.2598.1788.0988.0187.9387.8587.7777.6977.6177.5377.4577.3777.2967.2167.1367.0566.9766.8956.8156.7356.6556.5756.4956.4148.2988.2238.1478.0727.9967.9217.8467.7707.6957.6197.5447.4687.3937.3187.2427.1677.0917.0166.9406.8656.7896.7146.6396.5636.4886.4126.3376.2616.1866.1116.035V max V min (8%) V min (11%) V min (14%)
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-20 CAD001-Beta 25/26/99Tuning the CAD(continued)13. Since the Modulation and Antenna adjustments areinterdependent (i.e., adjusting one affects the other), you mustnow repeat Step 8 to verify that the Antenna adjustmentproduces the same maximum Vpp voltage reading on theoscilloscope as it did in Step 8. Alternate between the Antennaadjustment and the Modulation adjustment until they both meetthe stated requirements.14. The RSSI setting determines the threshold signal level of theCAD's receiver circuitry. It is set to its optimal value at the factoryprior to shipment, and it is recommended that the value not bechanged. (Increasing or decreasing the RSSI value increases ordecreases the sensitivity of the receiver circuitry.)15. Click on the Set Defaults button to store the adjustmentsettings in FLASH memory on the CAD Control Board.16. As a final test, place an initialized compatible SmartCard withinthe reader's range (remove the ISO antenna first) and click onthe RF Loopback Test button. The following confirmation statusshould appear, verifying that the CAD and SmartCardcommunicated successfully.ząEnd of this ProcedureązRF Loopback Testcompletedsuccessfully
Chapter 2ąInstallationMotorola Confidential Proprietary2-21CAD001-Beta 25/26/99INSTALLING CAD INTO TERMINAL4The CAD described in this manual has been designed specifically to be installed into an AES ProdataModel TP4000 AFC Terminal. The specific details on how to mount the CAD in the terminal and make electrical connections are provided by AES Prodata. These details include the use of spacers and screwsto secure the CAD in the terminal and which terminal cable to connect to the CAD's RS485 connector.The information in this section is being provided to assist in adapting the CAD to other types ofcompatible enclosures, if desired.NoteąRefer to Appendix B for pinĆout details of the CAD RS485 connector, and Appendix C for physicaldimensions and clearances.Mounting MethodsIntroductionThe CAD may be mounted in one of two ways:DStacked (method used in the AES Prodata Model TP4000 AFCTerminal)DSeparatedEach of these mounting methods is described below.Stacked" Mounting MethodThe Control Board and the Antenna Board have been designed so thatthey may be stacked as shown on the facing page. The mounting holesline up with other, and may be used with screws and spacers to securethe CAD to the terminal chassis.Note that the two boards may be stacked so that the metal shields on the Control Board are either touching or not touching the metallic surface ofthe Antenna Board.Separated" Mounting MethodThe 100 mm cable allow the Control Board and the Antenna Board to be separated to accommodate various mounting scenarios, as shown onthe facing page.Other Things You Should KnowDThe Control Board contains a tuning capacitor which must be accessible after mounting the CAD in the terminal.DThe nonĆmetallic side of the Antenna Board must face towards thecard reading surface of the terminal.
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-22 CAD001-Beta 25/26/99Mounting MethodsANTENNA BOARD(METALLIC SIDE UP)CONTROL BOARD(CONNECTOR SIDE UP)TUNINGCAPACITORCONTROL BOARD(CONNECTOR SIDE UP)ANTENNA BOARD(NONĆMETALLIC SIDE FACES TOWARDCARD READING SURFACE)Separated" Mounting MethodStacked" Mounting Method
Chapter 2ąInstallationMotorola Confidential Proprietary2-23CAD001-Beta 25/26/99FINAL CHECKOUT PROCEDURE5Once the CAD has been tuned and installed into the terminal, a final checkout procedure must beperformed to ensure that the CAD can communicate with a compatible SmartCard. Once this finalcheckout has been performed, the terminal may be placed into service.Required EquipmentThe following hardware and software is required to perform the finalcheckout procedure:DCompatible SmartCard (Model MV4000D)DPowered terminal with CAD installedPerforming the FinalCheckout ProcedurePlace an active SmartCard (one that has been initialized andpersonalized for use with the particular terminal application) withinreading distance (typically 10 cm) and verify that the desired results areachieved. For example, for a transit application, the terminal shouldgenerate a receipt ticket.
Card Acceptance Device (CAD) Technical User's Guide Motorola Confidential Proprietary2-24 CAD001-Beta 25/26/99THIS PAGE INTENTIONALLY LEFT BLANK
Chapter 3 "TroubleshootingCard Acceptance Device (CAD)Technical User's GuideCAD001-Beta 25/26/99chapter contentsFault Isolation Procedures 2Returning Faulty CADs to Motorola 3
Card Acceptance Device (CAD) Technical User's Guide3-2 CAD001-Beta 25/26/991FAULT ISOLATION PROCEDURESThere are four basic techniques for isolating the CAD as the source of a faulty terminal:DVerify dc power from the terminal (+12 V dc)DObserve LED Indicator on the Control BoardDPerform the Self Test diagnostics checkout procedureDPerform the Tuning ProcedureVerify DC PowerWith the terminal turned on, the CAD should be receiving +12 Vdc on pin 3 of the RS485 connector located on the Control Board(use pin 2 as ground). Verify that the voltage is present using adigital voltmeter. If the dc voltage is not present:DMake sure the cable from the terminal is securely attachedto the 10Ćpin connector on the Control Board.DTroubleshoot the terminal to determine source of faulty+12 V dc.Verify LED IndicatorA green LED is provided on the Control Board to provide a visualindication that the Control board has received dc power and hassuccessfully performed its startup routine. If this LED is not litafter applying power:DVerify +12 V dc power from the terminal (see above)DReload the CAD operating software into FLASH memory(refer to Appendix A in this manual)Perform the Self TestCheckout ProcedureRun the Self Test Utility as described in Chapter 2.Perform the CAD TuningProcedurePerform the CAD tuning procedure as described in Chapter 2.
Chapter 3ąTroubleshooting3-3CAD001-Beta 25/26/992RETURNING FAULTY CADS TO MOTOROLAIf you have performed the troubleshooting procedures on page 2 and have determined that the CAD isfaulty, return the entire CAD (Control Board, Antenna Board, and interconnect cable) to the addresslisted below. The faulty CAD will be either repaired or replaced by Motorola service personnel.Return Faulty CADs to:WHERE DO WE HAVE DEFECTIVE CADS SENT ????xxx
Card Acceptance Device (CAD) Technical User's Guide3-4 CAD001-Beta 25/26/99Notes...
Chapter 4 "Functional Theory of OperationCard Acceptance Device (CAD)Technical User's GuideCAD001-Beta 25/26/99chapter contentsFunctional Theory of Operation 2
Card Acceptance Device (CAD) Technical User's Guide4-2 CAD001-Beta 25/26/99FUNCTIONAL THEORY OF OPERATION1The following theory of operation describes the operation of the CAD circuitry at a functional level. The informationis presented to give the service technician a basic understanding of the functions performed by the CAD in orderto facilitate fault isolation. Refer to NO TAG for a block diagram of the CAD.Microprocessor CircuitryOverviewThe CAD uses a Motorola ColdFire MCF5204 microprocessor (mP)which serves as the main controller for the CAD. The microprocessor,running at a clock speed of 18.432 MHz (generated by an externalclock circuit) controls the operation of the CAD as determined by theCAD software contained in the FLASH memory.Address and Data BusesThe mP is equipped with a 21Ćline address bus used to access thememory (FLASH and SRAM) and provide control (via memory mapĆping) for other circuitry in the CAD. A 16Ćline data bus is used to transferdata to/from the mP, memory, and the AFE.Terminal InterfaceData from the mP to the terminal (TXD) is sent via an internal UART porton the mP through an RS485 converter to the 10Ćpin connector P4.Data from the terminal to the mP (RXD) is sent via the 10Ćpin connectorP4. through a RS485 converter to an internal UART port on the mP.Reset CircuitA Low +5V Detect circuit monitors the level of the +5V supply voltageand generates a reset signal if it falls below a threshold level. The resetsignal is sent to the mP, the I/O Register, the AFE, and FLASH memory.NonĆVolatile Memory CircuitryFLASH MemoryThe CAD software resides in a 256k x 16 FLASH memory IC. TheFLASH memory is accessed by the  mP via the 21Ćline Address Bus andthe 16Ćline Data Bus.SRAM MemoryTo supplement the mP's internal 512 bytes of internal SRAM, a 32k x 8SRAM IC is provided.
Chapter 4ąFunctional Theory of Operation4-3CAD001-Beta 25/26/99AFE CircuitryThe Analog Front End (AFE) circuitry operates under control of the mPto provide a number of functions, as follows:DControls the power output to the antennaDModulates TX data and sends to card (via Antenna Board)DReceives (via Antenna Board) RX data from card and providesdemodulationSupply Voltages CircuitryThe CAD Control Board contains onĆboard regulators and filtering cirĆcuitry to generate the various voltages required by the CAD circuitry.+12 V from the terminal (via connector P4) is used as the source togenerate +5V and +5V_A supply voltages. Also, the variable PA_PWRsupply voltage is generated and fed to the Power Amplifier (p/o AFE)to control the RF output power of the CAD.Antenna BoardThe Antenna Board consists of a printed circuit board (with traces thatform the antenna), a ferrite plate (which magnetically shields the antenĆna from the Control Board), and a metal back plate (which electricallyshields the antenna from the Control Board). The Antenna Board isconnected to the Control Board by a 6Ćwire cable.
Card Acceptance Device (CAD) Technical User's Guide4-4 CAD001-Beta 25/26/99SRAM MEMORYMICROPROCESSORA1-A20FLASH256K X 16SRAM32KX8DATA BUSADDRESS BUSNON-VOLATILE MEMORYMICROPROCESSOR CIRCUITRYADDRESS BUSADDRESSDATAFigure 1. Card Access Device (CAD) Functional Block Diagram (1 of 2)18.432 MHzOSCILLATORCIRCUITRY CLK+5VA0-A14+5VD0-D15D0-D15A0-A20TXDRXDD8-D15P/O P4RS485CONVERTERTXATXBRS485CONVERTERRXARXBI/OREGISTERCS057654MATES WITHCABLE FROMTERMINAL+5VAFE_CONTROLSLOW +5VDETECT RESET+5VTO OTHERDEVICESRESET+5VD8-D13AFE_CONTROL FROMAFERESETRESET+5VABTOAFE
Chapter 4ąFunctional Theory of Operation4-5CAD001-Beta 25/26/99ANTENNABOARDP656ĆWIRECABLE63421ANALOGFRONT END(AFE)D8-D15A0-A3+5V_AAFE_CONTROL+5VAFESTATUSINDICATORAFE CIRCUITRYSUPPLY VOLTAGES CIRCUITRY+5VFILTERCIRCUITRY+5VREGULATOR3MATES WITHCABLE FROMTERMINALP/O P4+5V_A29TOmPRESETADJUSTABLEREGULATOR PA_PWRPA_PWRFILTERCIRCUITRYABAFE_CONTROLSFROMmPANTENNA_COILRECEIVE SIGNALFigure 1.ąCard Access Device (CAD) Functional Block Diagram (2 of 2)
Card Acceptance Device (CAD) Technical User's Guide4-6 CAD001-Beta 25/26/99THIS PAGE INTENTIONALLY LEFT BLANK
Chapter 5 "CAD Protocols and CommandsCard Acceptance Device (CAD)Technical User's GuideCAD001-Beta 25/26/99chapter contentsTerminalĆtoĆCAD Command Protocol 2Answer to Reset (ATR) 6CAD Management Commands 8Command Sequences 28
Card Acceptance Device (CAD) Technical User's Guide5-2 CAD001-Beta 25/26/991TERMINALĆTOĆCAD COMMAND PROTOCOLThis section defines the structure of commands initiated by the terminal for transmission control andfor specific control in asynchronous halfĆduplex transmission protocols. Block protocol type T=1 isused.The command structure (shown below) consists of the following blocks:Dprologue fieldDinformation fieldDepilogue fieldThe prologue and epilogue fields are mandatory, and must be sent in every case. The information fieldis optional. The number of bytes of the information field is indicated by length (LEN) byte (part of theprologue field).Command StructurePrologue Field Information Field Epilogue FieldNAD PCB LEN Inf EDC1 Byte 1 Byte 1 Byte 0 to 254 Bytes 1 or 2 BytesPrologue FieldNADThe NAD byte in the Prologue field contains the block's target(DAD) and source (SAD) node addresses, as shown below.NAD Byte Structureb1 b2 b3 b4 b5 b6 b7 b8 Meaningx xx x ---- DAD (Destination Node Address)----xxxx SAD (Source Node Address)
Chapter 5ąCAD Protocols and Commands5-3CAD001-Beta 25/26/99Prologue Field(continued)PCBThe PCB byte in the Prologue field serves to control andsupervise the transmission protocol. The PCB byte encodes firstand foremost the block type, as well as supplementary dataneeded in this context. The PCB byte information for an IĆblock,an RĆblock, and an SĆblock are shown below.PCB Byte Information for an IĆBlockb1 b2 b3 b4 b5 b6 b7 b8 Meaning0 ------- Signals IĆblock0 N(S) - 0 0 0 0 0 Send sequence number0-x00000 Chaining (more data)PCB Byte Information for an RĆBlockb1 b2 b3 b4 b5 b6 b7 b8 Meaning1 00 ----- Signals RĆblock1 0 0 N(R) - - - - Sequence Number1 0 0 N(R) 0 0 0 0 No errors1 0 0 N(R) 0 0 0 1 EDC or parity error1 0 0 N(R) 0 0 1 0 Other errorsPCB Byte Information for an SĆBlockb1 b2 b3 b4 b5 b6 b7 b8 Meaning11------- Signals SĆblock1 1000000 RESYNCH req = C01 1100000 RESYNCH ans = E01 1000010 Abort request = C21 1100010 Abort response = E21 1000011 WTX request = C31 1100011 WTX response = E311xxxxxx RFU values used for the CAD manageĆment
Card Acceptance Device (CAD) Technical User's Guide5-4 CAD001-Beta 25/26/99Information Field (INF)The presence of INF is optional. When present, INF conveyseither application data in IĆblocks for cards, miscellaneous datafor the CAD or nonĆapplication control and status information inSĆblocks.In an SĆblock, this field is used for the management of the CAD.The CAD does not support the exhaustive list of SĆBlocks definedin ISO 7816-3 T=1. However, the CAD supports Motorolaproprietary definition of SĆBlocks as commands formanagement.RĆblocks do not contain an INF field.Epilogue FieldThis field contains the error detection code (EDC) of thetransmitted block. The protocol definition permits this to be eitheran LRC or a CRC. The LRC is calculated as the exclusive OR(XOR) of all the bytes starting with the NAD through the last byteof the information field, and is typically referred to simply as thechecksum. For CRC see ISO 3309. The CAD uses the CRC.
Chapter 5ąCAD Protocols and Commands5-5CAD001-Beta 25/26/99THIS PAGE INTENTIONALLY LEFT BLANK
Card Acceptance Device (CAD) Technical User's Guide5-6 CAD001-Beta 25/26/992ANSWER TO RESET (ATR)After cycling the power supply or software reboot, the CAD sends out an ATR at 9.6 KBPS on theserial link. Then the CAD switches to 115,2 KBPS for all other communications.The ATR is a data string, up to 33 bytes long, which contains various data relevant to the transmissionprotocol and to the card. The ATR's data string and data elements are defined and described in detailin ISO/IEC 7816-3. The structure of the ATR is the initial character TS followed by a variable numberof subsequent characters in the following order: the format character T0, optionally the interfacecharacters TAi, TBi, TCi, TDi and optionally the historical characters T1 T2 - TK and, conditionally, thecheck character TCK.ATR FormatThe basic ATR format consists of:DTS Ċ one byte, the initial character; specifies the conĆventions to code data bytes in all subsequent characĆters. There are two possible values of TS (ten consecĆutive bits from start to end and corresponding hexadeĆcimal value). The CAD uses direct convention:(Z)AZZAZZZAAZ(Z) where logic level ONE is Z (LSBis first). It equals to "3B" when decoded by direct conĆvention.DT0 Ċ one byte, the format character; serves to indiĆcate the subsequent "interface character" a bit field isused, from b5 to b8. It further contains the number ofsubsequent "historical characters," from b1 to b4.T0 Byte Informationb1 b2 b3 b4 b5 b6 b7 b8 Meaning--- 1 ---- TA1 is transmitted--1 ----- TB1 is transmitted- 1------ TC1 is transmitted1 ------- TD1 is transmitted----xxxx Number of historical characters
Chapter 5ąCAD Protocols and Commands5-7CAD001-Beta 25/26/99ATR Format (continued)The four least significant bits of any interface byte TDi indicatesa protocol type T, specifying rules to be used to processtransmission protocols. When TD1 is not transmitted, T=0 isused. TA1 TB1 TC1 and TB2 are the global interface bytes. Theseglobal interface bytes shall be interpreted in order to process anytransmission protocol correctly.The interface characters specify all transmission parameters ofthe current protocol. They are constructed from the bytes TAI,TBI, TCI, and TDi (i =1, 2, 3-). TA, TBi and TCi indicate theprotocol parameters. Their interpretation depends on theprotocol type indicated by T in TDi-1. TDi indicates the protocoltype T, as defined in [1] Section 6.1.4.3, and the presence ofsubsequent interface characters. The ATR transmission of thesebytes is optional and may be omitted if appropriate.TDi Byte Informationb1 b2 b3 b4 b5 b6 b7 b8 Meaning--- 1 ---- TAi+1 is transmitted--1 ----- TBi+1 is transmitted- 1------ TCi+1 is transmitted1 ------- TDi+1 is transmitted----xxxx Protocol type for subsequent transmisĆsionWhen TDi is not transmitted, the default value of TAi+1 TBi+1TCi+1 is null, indicating that no further interface charactersTAi+1 TBi+1 TCi+1 TDi+1 will be transmitted. TA1 to TC3convey information that shall be used during exchangesbetween the terminal and the CAD subsequent to the Answer toReset. They indicate the values of the transmission controlparameters F, D, I, P, and N, and the IFSC, block waiting timeinteger (BWI), and character waiting time integer (CWI)applicable to T=1 as defined in ISO/IEC 7816-3. Theinformation contained in TA1 to TC1 and TC2 shall apply to allsubsequent exchanges.The historical characters, T1 T2 -TK, maximum 15 characters.It designates general information, for example, the CAD firmwareversion.The value of check character TCK shall be such that theexclusive-ORing of all bytes from byte T0 to the last byte beforethe TCK.
Card Acceptance Device (CAD) Technical User's Guide5-8 CAD001-Beta 25/26/993CAD MANAGEMENT COMMANDSCommands in proprietary SĆBlocks supported by the CAD are:DRF POWER CONTROL: control of the RF field parametersDSLEEP: put the CAD in low power modeDDOWNLOADING: put the CAD in downloading modeDERROR REPORT: the CAD indicates an Hardware errorDPOLL: put the CAD in card registration modeDANSWER TO POLL: the CAD sends the parameters of a card detectedDDETECT CARD: put the CAD in card detection modeDCARD PRESENCE: the CAD sends to the terminal the result of the DETECT CARD comĆmand.DREBOOT: forces the CAD to resetNote that not all of these commands follow the request/response pair scheme.
Chapter 5ąCAD Protocols and Commands5-9CAD001-Beta 25/26/99THIS PAGE INTENTIONALLY LEFT BLANK
Card Acceptance Device (CAD) Technical User's Guide5-10 CAD001-Beta 25/26/99RF POWERCONTROLRF POWER CONTROL requestDescriptionThis command allows the terminal to control the RF field power. The four optionsof the PCON byte can turn on the 13.57MHz carrier, turn off the carrier, increasethe power of the RF field and to decrease the power of the RF field.DirectionTerminal to CADSize6 BytesFormatSee belowRF POWER CONTROL Request FormatNAD PCB LEN PCON CRC1 CRC20x11 0xC5 1 (see below) (see below) (see below)PCON Values Meaning CRC1 Values CRC2 Values0x00 Power On 0x3B 0x090x01 Power Off 0xB2 0x180x02 Decrease Power 0x29 0x2A0x03 Increase Power 0xA0 0x3BOther Values Forbidden Ċ Ċ
Chapter 5ąCAD Protocols and Commands5-11CAD001-Beta 25/26/99RF POWERCONTROL(continued)RF POWER CONTROL responseDescriptionThe response frame is an acknowledgement of the previous command,indicating that the command was properly received and has been executed.DirectionCAD to TerminalSize5 BytesFormatSee belowRF POWER CONTROL Response FormatNAD PCB LEN CRC1 CRC20x11 0xE5 0 0xA4 0x8E
Card Acceptance Device (CAD) Technical User's Guide5-12 CAD001-Beta 25/26/99SLEEPSLEEP requestDescriptionThis command switches the CAD board to a lowĆpower mode. It sequentiallyturns off the RF power, stops watchdog timer, unmask only the UART interruptand switches to the STOP mode of the ColdFire. While no interrupt from theUART is received (any frame from the terminal), the CAD stays in this mode. AnyUART interrupt wakes the CAD processor core, turns on the RF power andswitches to the state of frame reception.DirectionTerminal to CADSize5 BytesFormatSee belowSLEEP Request FormatNAD PCB LEN CRC1 CRC20x11 0xC8 0 0xEF 0x1DSLEEP responseDescriptionThe response frame is an acknowledgment of the previous command thatindicates that the command was properly received and is ready to be executed.This response is sent before the CAD switches to SLEEP state.DirectionCAD to TerminalSize5 BytesFormatSee belowSLEEP Response FormatNAD PCB LEN CRC1 CRC20x11 0xE8 0 0xDC 0x3E
Chapter 5ąCAD Protocols and Commands5-13CAD001-Beta 25/26/99THIS PAGE INTENTIONALLY LEFT BLANK
Card Acceptance Device (CAD) Technical User's Guide5-14 CAD001-Beta 25/26/99DOWNLOADINGDOWNLOADING requestDescriptionThis command makes the CAD switch to downloading mode. The code of theParameters 1 & 2, processor and FPGA can be downloaded by selecting theTARGET byte 0x00.This command must be sent both at the beginning and at the end of thedownloading sequence. At the end of the downloading sequence, thiscommand confirms that the downloading sequence is correctly complete andprovokes the reset of the CAD processor. The TARGET field of this last blockmust be identical to the TARGET field of the previous DOWNLOADINGcommand.DirectionTerminal to CADSize6 BytesFormatSee belowDOWNLOADING Request FormatNAD PCB LEN TARGET CRC1 CRC20x11 0xC6 1 (see below) (see below) (see below)TARGETValues Meaning CRC1 Values CRC2 Values0x00 Parameters 1Ć2, MCU, andFPGA Code0x5F 0x6E0x01 All FLASH Code (including BootBlock)0xD6 0xF7Other Values RFU RFU RFU
Chapter 5ąCAD Protocols and Commands5-15CAD001-Beta 25/26/99DOWNLOADING(continued)DOWNLOADING responseDescriptionThe response frame is an acknowledgment of the previous command thatindicates that the command was properly received and is ready to be executed.DirectionCAD to TerminalSize5 BytesFormatSee belowDOWNLOADING Response FormatNAD PCB LEN CRC1 CRC20x11 0xE6 0 0xCC 0xA4
Card Acceptance Device (CAD) Technical User's Guide5-16 CAD001-Beta 25/26/99ERROR REPORTERROR REPORT requestDescriptionThe CAD sends this command to the terminal if the CAD software has detectedan error during the test sequence at boot up. The tests executed by the CAD atboot-up are the verification of the processor code checksum, the verificationof the FPGA code and an UART test in loopback mode. If the CAD detects anyof these errors, it immediately sends this frame to the terminal after the ATRframe.DirectionCAD to TerminalSize6 BytesFormatSee belowERROR REPORT Request FormatNAD PCB LEN ERR CRC1 CRC20x11 0xC7 1 (see below) (see below) (see below)ERR Values Meaning CRC1 Values CRC2 Values0x00 No Error 0x83 0xBC0x01 Code Checksum Error 0x0A 0xAD0x02 FPGA Code Error 0x91 0x9F0x03 UART Initialization Error 0xA7 0xFA0x04 SRAM Error 0xCB 0x30Other Values RFU RFU RFUERROR REPORT responseThere is no response for the ERROR REPORT command.
Chapter 5ąCAD Protocols and Commands5-17CAD001-Beta 25/26/99THIS PAGE INTENTIONALLY LEFT BLANK
Card Acceptance Device (CAD) Technical User's Guide5-18 CAD001-Beta 25/26/99POLLPOLL requestDescriptionThis command makes the CAD switch to the card detection/anti-collisionsequence.The STRAT byte supports two options that order the CAD to detect all cards (LongPoll) or the first card (Quick Poll) in the RF field.As the CAD manages the attribution of the NAD for the cards detected in the field,it reserves NAD values that are already in use and gives free NAD values to a newcard that is detected. But the CAD has no information about the transactionsbetween the terminal and the card(s). Thus, when the terminal has completed allthe transactions with the card(s) registered, it may indicate to the CAD that the busyvalues can be freed or not by setting the appropriate value in the ERASE field.The TYPE byte of this command indicates to the CAD which type of applicationof contactless card in the field must be selected.DirectionTerminal to CADSize8 BytesFormatSee belowPOLL Request FormatNAD PCB LEN STRAT ERASE TYPE CRC1 CRC20x11 0xD0 3 (seebelow)(seebelow)(seebelow)xx xxSTRATValues Meaning ERASEValues Meaning0x00 Quick Poll 0x00 Do not erase NAD table0x01 Long Poll 0x01 Erase NAD tableOther Values RFU Other Values ForbiddenTYPEValues Meaning TYPEValues Meaning0x00 All 0x06 Multimedia0x01 Transport 0x07 Gaming0x02 Financial 0x08 Data Storage0x03 Identification 0x09-0x7E RFU0x04 Telecommunication 0x7F All previous0x05 Medical 0x80-0xFF Proprietary
Chapter 5ąCAD Protocols and Commands5-19CAD001-Beta 25/26/99POLL (continued)POLL responseDescriptionThe response frame is an acknowledgment of the previous command thatindicates that the command was properly received and is ready to be executed.DirectionCAD to TerminalSize5 BytesFormatSee belowPOLL Response FormatNAD PCB LEN CRC1 CRC20x11 0xF0 0 0x8D 0x65
Card Acceptance Device (CAD) Technical User's Guide5-20 CAD001-Beta 25/26/99ANSWER TOPOLLANSWER TO POLL requestDescriptionWhen a card is successfully registered in the CAD (the card answered correctly to theREQUEST SLOT MARKER and ATTRIB frames), the CAD sends this frame to theterminal to indicate that a new card is to be registered. The ATPoll request frametransports all necessary information about the card and the card-terminal link.The NEW NAD byte is the value of the NAD that will be used by the terminal and thecard during the transaction. This NAD is ISO 7816-3 T=1 compliant. The terminalmust use the value received in the ATPoll command to sent data to the card, withoutinverting the most significant and the least significant nibble of the byte.The four-byte PUPI field identifies formally the card. The terminal may use it todetect non-valid cards.The HB field may be n bytes long (0-15) and is the exact image of the HistoricalBytes field of the card ATQ frame.DirectionCAD to TerminalSize12+n BytesFormatSee belowANSWER TO POLL Request FormatNAD PCB LEN DATA from the ATQ CRC1 CRC20x11 0xD1 7 +n* NEW NAD PUPI TC2 TA3 HB xx xx* n = number of Historical Bytes (HB)DATA from ATQValues MeaningNEW NAD NAD chosen by the CAD for the new TerminalĆCard linkPUPI 4Ćbyte Card Identifier (Pseudo Unique PICC Identifier)TC2 POW (Minimum and Maximum Power LevelTA3 LEN (Maximum Block Length)HB Historical Bytes from the ATQ frameANSWER TO POLL responseThere is no response for the ANSWER TO POLL command.
Chapter 5ąCAD Protocols and Commands5-21CAD001-Beta 25/26/99THIS PAGE INTENTIONALLY LEFT BLANK
Card Acceptance Device (CAD) Technical User's Guide5-22 CAD001-Beta 25/26/99DETECT CARDDETECT CARD requestDescriptionAfter a Quick Poll command, the DETECT CARD command may be sent by theterminal to know if there are additional cards in non-application phase into the RFfield. After this command, the CAD sends a REQUEST command parametrizedwith 1 slot through the RF field. Consequently, if one or more additional cardsare present in the RF field, it must answer to the REQUEST command. The cardwhich is communicating with the Terminal will not answer to the REQUEST if ithas not received a DESELECT command (see ISO/IEC 14443-3).The TYPE byte of this command indicates to the CAD which type of applicationof contactless card in the field must be detected.Whatever is the result of the detection (nothing, a collision or a correct answer),the CAD uses the CARD PRESENCE command to indicate the result of thisdetection sequence.NoteąSince this command is to be sent after a Quick Poll command, do not try tosend this command under any other circumstances (like immediately after reboot).DirectionTerminal to CADSize6 BytesFormatSee belowDETECT CARD Request FormatNAD PCB LEN TYPE CRC1 CRC20x11 0xC7 1 (see below) (see below) (see below)TYPE Values Meaning CRC1 Values CRC2 Values0x00 All 0x77 0x5A0x01 Transport 0xFE 0x4B0x02 Financial 0x65 0x790x03 Identification 0xEC 0x680x04 Telecommunication 0x53 0x1C0x05 Medical 0xDA 0x0D0x06 Multimedia 0x41 0x3F0x07 Gaming 0xC8 0x2E0x08 Data Storage 0x3F 0xD60x09-0x7E RFU RFU RFU0x7F All Previous 0x07 0xD10x80-0xFF Proprietary Proprietary Proprietary
Chapter 5ąCAD Protocols and Commands 5-23CAD001-Beta 25/26/99DETECT CARD(continued)DETECT CARD responseThere is no response for the DETECT CARD command.
Card Acceptance Device (CAD) Technical User's Guide5-24 CAD001-Beta 25/26/99CARD PRESENCECARD PRESENCE requestDescriptionThe CAD sends this frame to the terminal as a result of the card detectionsequence initiated by the DETECT CARD command.The PRES byte of the command indicates if something new is detected or not.DirectionCAD to TerminalSize6 BytesFormatSee belowCARD PRESENCE Request FormatNAD PCB LEN PRES CRC1 CRC20x11 0xD4 1 (see below) (see below) (see below)PRES Values Meaning CRC1 Values CRC2 Values0x00 No Card 0x72 0xD60x01 Additional Card(s) Detected 0xFB 0xC7Other Values Forbidden Ċ ĊCARD PRESENCE responseThere is no response for the CARD PRESENCE command.
Chapter 5ąCAD Protocols and Commands5-25CAD001-Beta 25/26/99REBOOTREBOOT requestDescriptionThis command makes the CAD processor reset. After this command is executedthe CAD board is reset and any configuration different from the CAD defaultconfiguration is lost.DirectionTerminal to CADSize5 BytesFormatSee belowREBOOT Request FormatNAD PCB LEN CRC1 CRC20x11 0xD2 0 0x0E 0x75REBOOT responseDescriptionThe response frame is an acknowledgment of the previous command thatindicates that the command was properly received and is ready to be executed.DirectionCAD to TerminalSize5 BytesFormatSee belowREBOOT Response FormatNAD PCB LEN CRC1 CRC20x11 0xF2 0 0x3D 0x56
Card Acceptance Device (CAD) Technical User's Guide5-26 CAD001-Beta 25/26/99BREAKCHARACTERBREAK CHARACTER requestDescriptionA break character makes the CAD processor reset. After this character is sent,the CAD board is reset and any configuration different from the CAD defaultconfiguration is lost.DirectionTerminal to CADSize1 BytesFormatAll the bits are set to 0. The Stop Bit is included.BREAK CHARACTER responseDescriptionThere is no response to the BREAK CHARACTER command.
Chapter 5ąCAD Protocols and Commands5-27CAD001-Beta 25/26/99THIS PAGE INTENTIONALLY LEFT BLANK
Card Acceptance Device (CAD) Technical User's Guide5-28 CAD001-Beta 25/26/994COMMAND SEQUENCESThe illustrations on the next few pages show the command sequences between the Terminal, CAD,and Card for the following scenarios:DBoot SequenceDDownloading SequenceDQuick Poll SequenceDLong Poll SequenceDDetect Card SequenceDRF Power Control SequenceDSleep SequenceDReboot Sequence
Chapter 5ąCAD Protocols and Commands5-29CAD001-Beta 25/26/99Boot SequenceTERMINAL CADATRDąCPU registers configurationDąRun AutoĆTestsDąFPGA Code LoadingDąConfigure UART at 9600 BPSDąConfigure UART at 115200 BPSDąWait for first command from terminalNORMAL BOOT SEQUENCEBOOT SEQUENCE WITH HARDWARE ERRORTERMINAL CADATRDąCPU registers configurationDąAutoĆTest FailsDąConfigure UART at 115200 BPSDecodeCADParameters ContinuePower UpPowerUpPowerUpFinishPowerUpDecodeCADParametersError ReportDąSwitch to download processDąWait for the first I-Block of downloadingFinishPowerUpPrepareData toDownload
Card Acceptance Device (CAD) Technical User's Guide5-30 CAD001-Beta 25/26/99DownloadingSequenceTERMINAL CADDownloadingRequestDąWait for a command from the TerminalSUCCESSFUL DOWNLOADING SEQUENCEWaitModeDownloadingResponseI (0,1)R (1)I (1,1)R (0)I (0,0)R (xx,xx)DownloadingRequestDownloadingResponseATR at 9600 BPSDąSend new code to the CADin chained mode DąDecode frameDąWrite data in FLASH memoryCADResetsDąConfirm end of downloading
Chapter 5ąCAD Protocols and Commands5-31CAD001-Beta 25/26/99DownloadingSequence(continued)TERMINAL CADDownloadingRequestDąWait for a command from the TerminalINTERRUPTED DOWNLOADING SEQUENCEWaitModeDownloadingResponseI (0,1)R (1)I (1,1)R (0)RebootRequestRebootResponseATR at 9600 BPSDąSend new code to the CADin chained mode DąDecode frameDąWrite data in FLASH memoryCADResetsDąConfirm end of downloadingINTERRUPTION
Card Acceptance Device (CAD) Technical User's Guide5-32 CAD001-Beta 25/26/99Quick PollSequenceTERMINAL CADNORMAL QUICK POLL SEQUENCEQuick PollRequestQuick PollResponseDąWait for a command from the TerminalWaitModeCARDREQATQDąCard in field receivesREQ and returns ATQATTRIBDąCAD issues ATTRIB tocard containing Slot ID,etc.DąCard returns responseATP (NAD, PUPI, etc.)DąCard is registeredDąTerminal and cardcommunicate perapplication with CADserving as pipelineTERMINAL CADINTERRUPTED QUICK POLL SEQUENCEQuick PollRequestQuick PollResponseDąWait for a command from the TerminalWaitModeCARDDąWait for first cardregistrationAny FrameResponse tothe FrameDąWait for a command from the TerminalWaitModeDąREQs sent until ATQ isreturned or any frame issent from TerminalATTRIB RESP
Chapter 5ąCAD Protocols and Commands5-33CAD001-Beta 25/26/99Long PollSequenceTERMINAL CADDąProcess antiĆcollision algorithmDąLog the first detected cardDąSend an ATTRIB command to this cardLONG POLL SEQUENCELong PollRequestLong PollResponseDąWait for a command from the TerminalWaitModeCARDDąCard in field receivesREQ and returns ATQATP (NAD, PUPI, etc.)DąCard is registeredDąTerminal and cardcommunicate perapplication with CADserving as pipelineDąWait for first cardregistrationREQATQATTRIBDąCAD issues ATTRIB tocard containing Slot ID,etc.DąCard returns responseDąREQs sent until ATQ isreturned or any frame issent from TerminalATTRIB RESPThis sequence may be repeated upto four times (should four cardsbe presented at the same time).
Card Acceptance Device (CAD) Technical User's Guide5-34 CAD001-Beta 25/26/99Detect CardSequenceDETECT CARD SEQUENCETERMINAL CADDetect CardRequestDąWait for a command from the TerminalWaitModeCARDREQATQDąCard in field receivesREQ and ruturns ATQCard PresenceRequestDąWait for detectionresultDąWait for a command from the TerminalWaitMode
Chapter 5ąCAD Protocols and Commands5-35CAD001-Beta 25/26/99RF Power ControlSequenceTERMINAL CADTURN ON SEQUENCEWaitModeRF PowerRequestDąWait for a command from the TerminalRF PowerResponseDąSend RF Power Controlcommand (parameter 0x00)WaitModeDąWait for a command from the TerminalDąTurn on RF powerDąAcknowledge commandTERMINAL CADTURN OFF SEQUENCEWaitModeRF PowerRequestDąWait for a command from the TerminalRF PowerResponseDąSend RF Power Controlcommand (parameter 0x01)WaitModeDąWait for a command from the TerminalDąTurn off RF powerDąAcknowledge command
Card Acceptance Device (CAD) Technical User's Guide5-36 CAD001-Beta 25/26/99RF Power ControlSequence(continued)TERMINAL CADDECREASE POWER SEQUENCEWaitModeRF PowerRequestDąWait for a command from the TerminalRF PowerResponseDąSend RF Power Controlcommand (parameter 0x02)WaitModeDąWait for a command from the TerminalDąDecrease RF powerDąAcknowledge commandTERMINAL CADINCREASE POWER SEQUENCEWaitModeRF PowerRequestDąWait for a command from the TerminalRF PowerResponseDąSend RF Power Controlcommand (parameter 0x03)WaitModeDąWait for a command from the TerminalDąIncrease RF powerDąAcknowledge command
Chapter 5ąCAD Protocols and Commands5-37CAD001-Beta 25/26/99Sleep SequenceTERMINAL CADSLEEP SEQUENCEWaitModeSleep RequestDąWait for a command from the TerminalSleep ResponseDąSend Sleep CommandDąAcknowledge commandDąTurn off RF powerDąEnter STOP mode until a frame fromterminal is receivedAny FrameDąExit STOP modeDąTurn on RF powerDąReceive frame
Card Acceptance Device (CAD) Technical User's Guide5-38 CAD001-Beta 25/26/99RebootSequenceTERMINAL CADREBOOT SEQUENCEWaitModeReboot RequestDąWait for a command from the TerminalReboot ResponseDąSend Reboot CommandDąAcknowledge commandDąReset CPUATR at 9600 BPSWaitModeDąWait for a command from the Terminal
Appendix A "Performing FLASH UpgradesCard Acceptance Device (CAD)Technical User's GuideCAD001-Beta 25/26/99chapter contentsFLASH Upgrade Procedure 2
Card Acceptance Device (CAD) Technical User's GuideA-2 CAD001-Beta 25/26/991FLASH UPGRADE PROCEDUREOperating software for the CAD is stored in FLASH memory on the Control Board. The software maybe upgraded (or reinstalled) by using the Firmware Download utility included as part of the CADToolssoftware program (provided with the <MODEL> CAD Installation Kit).Preparing for UpgradeProcedureLocating CAD Operating SoftwareThe upgrade process installs CAD operating software (stored onthe PC hard disk or floppy diskette) into FLASH memory on theCAD Control Board. Before you begin the upgrade procedure,make sure you have available the desired version of CAD software.It is recommended that you copy this software into the followinglocation on the PC hard disk:C:\Program Files\CADTools(Since the Firmware Upgrade utility automatically looks in thisdirectory first for CAD operating software, locating the software herewill streamline the process as well as provide one central directoryin which to store all of your CAD operating software versions.)Setting Up the CAD and PCConnect the CAD to the PC and launch the CADTools program asdescribed in Launching the CADTools Software on page 2-8 of thismanual.
Appendix A Performing FLASH UpgradesA-3CAD001-Beta 25/26/99Performing FLASHUpgrade Procedure 1. With the CAD connected to the PC and the CADTools programrunning, click on the Firmware Download button. 2. The following CAD Downloader main screen will appear. Clickon the CAD Version button.continued on next page12
Card Acceptance Device (CAD) Technical User's GuideA-4 CAD001-Beta 25/26/99Performing FLASHUpgrade Procedure(continued)NoteąYou may have received theCAD operating software via disĆkette, CDĆROM, email, FTP, or otherfile transfer means. It is recomĆmended that you store all softwarefiles in the default directory (i.e.,C:\Program Files\CADtools)sothat they will appear in the Openscreen. Otherwise, you will have tonavigate to the file location to selectthe desired file. 3. The following screen will appear, displaying the version of CADoperating software currently in FLASH memory in the CAD. Clickon the File Open button. 4. The following Open screen will appear. You will use this screen tolocate the file containing the CAD operating software you wish todownload to the CAD. Select the desired file and click on Open.continued on next page3
Appendix A Performing FLASH UpgradesA-5CAD001-Beta 25/26/99Performing FLASHUpgrade Procedure(continued) 5. The following screen will appear, displaying the version of CADoperating software currently in FLASH memory in the CAD and theversion of the operating software contained in the file you selectedin the previous step. Verify that this is the version you wish todownload to the CAD, then click on the Download button. 6. The following screen will appear, displaying the progress of thedownload process.continued on next page5
Card Acceptance Device (CAD) Technical User's GuideA-6 CAD001-Beta 25/26/99Performing FLASHUpgrade Procedure(continued) 7. When the download process is complete, the following screenappears prompting you to power cycle the CAD. Recycle theCAD power by disconnecting, then reconnecting the black DCpower connector. Then click on OK. 8. The following screen appears. Click on Close. The CAD is nowrunning the operating software contained in the file you have justdownloaded.ząEnd of this Procedureąz
Appendix B "CAD Connector PinĆOutsCard Acceptance Device (CAD)Technical User's GuideCAD001-Beta 25/26/99CONTROL BOARD ANTENNA BOARDCONNECTOR P4 RS485 TERMINAL CONNECTORPin # Signal Input Output Function1 NC No Connection2 GND nGround (Power Supply -VE)3 +12V nPower Supply VE+ from Terminal4 RXB nRS485 Serial Data from Terminal to CAD (to be sent to Smart Card)5 RXA nRS485 Serial Data from Terminal to CAD (to be sent to Smart Card)6TXB nRS485 Serial Data from CAD to Terminal (received from Smart Card)7TXA nRS485 Serial Data from CAD to Terminal (received from Smart Card)8 N/C Future Use9 GND Ground (Power Supply Negative)10 N/C Future UsePin # Signal Input Output Function1 ANTENNA_RX Future Use2 GND nGround3 GND Ground4 GND Ground5 ANTENNA_COIL1 Connects to other end of antenna loop6 ANTENNA_COIL 1 Connects to other end of antenna loopCONNECTOR P6 CADĆtoĆANTENNA BOARD11061
Card Acceptance Device (CAD) Technical User's GuideB-2 CAD001-Beta 25/26/99Notes...
Appendix C "Dimensions and ClearancesCard Acceptance Device (CAD)Technical User's GuideCAD001-Beta 25/26/999610446725.15 2381126654TOP VIEW SIDE VIEW11213.6Control Board9610446716.65TOP VIEW SIDE VIEW1044.81Antenna Board6660All dimensions in millimetersAll dimensions in millimeters
Card Acceptance Device (CAD) Technical User's GuideC-2 CAD001-Beta 25/26/99SIDE VIEWStacked18.41112All dimensions in millimeters
IndexiCAD001-Beta 25/26/99INDEXAANSWER TO POLL, command, 5-20Answer to Reset, 5-6ATR, format, 5-6BBoot Sequence, 5-29BREAK CHARACTER, command, 5-26CCADmajor components, 1-2management commands, 5-8simplified block diagram, 1-4typical application, 1-2CADTools, softwareinstalling, 2-4launching, 2-8CARD PRESENCE, command, 5-24checkout, final, 2-23command, sequences, 5-28command protocol, TerminalĆtoĆCAD, 5-2command sequences, 5-28commands, CAD management, 5-8components, CADdetailed, 1-6primary, 1-3Ddc power, verifying, 3-2DETECT CARD, command, 5-22Detect Card Sequence, 5-34download, software, A-3DOWNLOADING, command, 5-14Downloading sequence, 5-30Eepilogue, field, 5-4equipment, requiredfor final checkout, 2-23for Self Test Utility, 2-4for Tuning, 2-14ERROR REPORT, command, 5-16Ffault isolation, procedures, 3-2, 3-3FLASH, upgrade, procedure, A-3Iinformation, field, 5-4inspectingCAD, 2-2CAD sets, 2-2installingCAD into terminal, 2-21CADTools software, 2-4Llaunching, CADTools software, 2-8LED indicator, verifying, 3-2Long Poll Sequence, 5-33Mmajor components, CAD, 1-2mounting, into terminal, 2-21Ooperation, verifying proper, 2-4overview, CAD product, 1-2PPOLL, command, 5-18
Card Acceptance Device (CAD) Technical User's Guideii CAD001-Beta 25/26/99prologue, field, 5-2QQuick Poll Sequence, 5-32RREBOOT, command, 5-25Reboot Sequence, 5-38RF POWER CONTROL, command, 5-10RF Power Control Sequence, 5-35running, Self Test Utility, 2-12SSelf Test Utility, running, 2-12SLEEP, command, 5-12Sleep Sequence, 5-37TTerminalĆtoĆCAD, command protocol, 5-2tuning, procedure, 2-14typical application, CAD, 1-2UunpackingCAD, 2-2CAD sets, 2-2

Navigation menu