
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. First, apply power to the board; the LCD should be blank.
Locate variable resistor R7 on the board (see Figure 2 above), and using a small screwdriver, adjust the
resistor until individual 5 x 7 dot blocks appear in the character positions of the display. Slowly adjust R7
until the blocks just disappear. This sets the contrast of the LCD so that the characters will be visible,
but spaces will not.
Follow steps 1 through 10 above (
Create the µVision Project
) to create a new project and executable
file. Use DS8007-2 for the project file name and DS8007-2.c for the C source-code file name. The
source code for this program is given below in
Appendix A
. If you prefer not to type in this information,
the files are included in a .ZIP file located at the FTP web site mentioned above.
Once the HEX file has been created, follow the steps above (
Loading the Executable File
) to load it into
the board's memory. After disconnecting from the loader, the LCD will display the two-line message.
Conclusion
The DS8007 EV kit provides a convenient, proven platform for evaluating the DS8007 Dual Smart Card
Page 8 of 11