Download Print this page

Maxim Integrated DS8007 Getting Started

Evaluation kit

Advertisement

Quick Links

Maxim
>
Design Support
>
Maxim
>
Design Support
>
Keywords:
DS8007,smart card,DS5002,DS5250,microcontroller,secure
microcontroller,uC,multiprotocol,ISO 7816,EMV,Integrated Circuit Card, IC card,POS terminal,banking
terminal,ATM,payment terminal,PIN pad,access control,pay tv,set top box,STB
APPLICATION NOTE 4036
Getting Started with the DS8007 Evaluation Kit
May 22, 2007
Abstract: This article describes the steps necessary to quickly begin using the evaluation (EV) kit for the
DS8007, dual smart card interface. The article explains how to install and configure the software,
configure the hardware, and create and load an application that can be executed by the on-board
DS5002FP microcontroller. A simple "Hello World" example is provided, as well as a number of functions
in C source code that will demonstrate use of the on-board LCD module.
Overview
The
DS8007 evaluation (EV) kit
smart card interface. The DS8007 is a mixed-signal peripheral that manages all the interface details
between a microcontroller and two, independent smart cards.
The DS8007 EV kit contains a DS8007 and a
to provide a complete smart card interface. It also contains two smart card sockets: one the size of a
standard credit/payment card and one the size of a Subscriber Identification Module (SIM) device. The
DS8007 kit board is shown in Figure 1. This article describes how to get started quickly using this EV
kit, and how to begin developing and running application code.
Figure 1. DS8007 EV kit board.
Technical Documents
>
Application Notes
Technical Documents
>
Application Notes
provides a convenient, proven platform for evaluating the
>
Interface Circuits
>
Microcontrollers
DS5002FP
secure microcontroller that can be programmed
> APP 4036
> APP 4036
DS8007
Page 1 of 11
dual

Advertisement

loading

Summary of Contents for Maxim Integrated DS8007

  • Page 1 Subscriber Identification Module (SIM) device. The DS8007 kit board is shown in Figure 1. This article describes how to get started quickly using this EV kit, and how to begin developing and running application code.
  • Page 2: Software Setup

    Installing the Microcontroller Tool Kit 1. Insert the DS8007 EV kit install CD into your computer's CD-ROM drive. The CD will autoboot and display the DS8007 EV kit welcome screen. If the CD-ROM does not autoboot, browse the CD root folder, and double-click on the index.html file.
  • Page 3 Installed DS8007's V connected to smart card socket 1, pin C1 Installed Board's AVDD connected to DS8007's analog supply, V Installed: Connect pins 1 Board's AVDD connected to smart card socket 1, pin S2 and 2 Installed: Connect pins 2...
  • Page 4 "Manage Components" option. Under the Project Components tab, click the "Add Files" button, and then enter the file name (DS8007-1.c) in the file name area. Click the "Add" button and then click the "Close" button. Click the "OK" button to close the Components window.
  • Page 5 You will see that this file has been added to Source Group 1. 7. Configure the project options by right clicking on Target 1 in the Project Workspace window, and select the "Options for Target 'Target 1'." Click on the Target tab, and type 14.7 into the Xtal box. Select "Small: variables in DATA"...
  • Page 6 Figure 4. Project options output tab settings. Loading the Executable File After following the above steps to configure the hardware, the DS8007 board will be connected to your PC's COM port. The processor should now be configured so that it understands how to access the available on-board memory.
  • Page 7 01. The DS8007 board is now ready to load the program file created with the Keil development tools. 1. Click "File" and then select "Load SRAM." Select the file DS8007-1.HEX and then click "OPEN."...
  • Page 8 Figure 6. DS5002FP boot loader banner. EV Kit LCD Module To demonstrate one of the DS8007 EV kit's very useful features, we will now create an application program that will display a message on the 2-line, 20-character Liquid Crystal Display (LCD). Before beginning, however, we must set the LCD contrast adjustment so that it displays the message appropriately when the program is executed.
  • Page 9: Appendix A. Lcd Demonstration Code

    Interface. This kit and the Keil C development tools will simplify the development of your smart-card applications. Appendix A. LCD Demonstration Code // file DS8007-2.c #include <REG5000.H> // special function register declarations // for the DS5000/5002 #include <string.h> #include "LCD_Funct.h"...
  • Page 10 LCD_WRChr(LCD_Str[i]) ; // Write first 20 characters i++; (LCD_Str[i] != '\0') LCD_WRCmd(Line2Ad); // Set CGRAM address to first char 2nd line while ((LCD_Str[i] != '\0') && (i < 40)) LCD_WRChr(LCD_Str[i]) ; i++; // Write a single character to the 2 x 20 LCD module void LCD_WRChr(uint8_t LCD_Chr) LCD_Busy();...
  • Page 11 For Technical Support: http://www.maximintegrated.com/support For Samples: http://www.maximintegrated.com/samples Other Questions and Comments: http://www.maximintegrated.com/contact Application Note 4036: http://www.maximintegrated.com/an4036 APPLICATION NOTE 4036, AN4036, AN 4036, APP4036, Appnote4036, Appnote 4036 © 2013 Maxim Integrated Products, Inc. Additional Legal Notices: http://www.maximintegrated.com/legal Page 11 of 11...