Download Print this page
Digilent PmodCLP Reference Manual

Digilent PmodCLP Reference Manual

Advertisement

Quick Links

P
m
o
d
C
L
P
D
e
P
m
o
d
C
L
P
D
M
a
n
u
a
l
M
a
n
u
a
l
Revision: February 14, 2012
Introduction
The PmodCLP is a 16x2 character LCD module that uses two Pmod connectors to present a 3.3V, 8-bit
parallel data interface to system boards. It is based on a Sunlike LCD panel that uses a Samsung KS0066
(or equivalent) LCD controller. The module can be attached to any number of Digilent system boards to
create a character LCD subsystem. This document provides a demonstrational overview of the driver
library(ClpLib) included for operation of this module.
Required Hardware:
1. Cerebot 32Mx4cK or Cerebot 32Mx4
2. PmodCLP – J1 plugged into JA and J2 plugged into JB.
Note: Project was created using MPLAB v8.83
Overview
The module is capable of displaying any one of more than 200 predefined characters in each of the
32 display locations (organized as 16 characters on two rows). Most characters use ASCII codes (see
the Samsung KS0066 data sheet for a complete list of character codes). The module can also
execute a variety of instructions, such as erasing specific characters, setting different display modes,
scrolling, and displaying user-defined characters.
Library Operation
Library Interface
The header file ClpLib_config.h is a configuration file to setup the target platform for the specific
PMOD connections being used (default: JA and JB).
The header file ClpLib.h contains the declarations for the actual functions that are available to the
user for this module. Actual definitions for these functions are found within ClpLib.c.
For more information see PmodCLP Library Reference Manual.
Demo Documentation
The application implements (in a circular manner) a number of steps, each demonstrating the use of
some CLP functions. Buttons are used to trigger some actions and to move through the steps.
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
m
o
R
e
f
e
r
e
n
e
m
o
R
e
f
e
r
e
n
c
e
c
e
(509) 334 6306 Voice | (509) 334 6300 Fax
1300 NE Henley Court, Suite 3
Pullman, WA 99163
page 1 of 4
®

Advertisement

loading

Summary of Contents for Digilent PmodCLP

  • Page 1 (509) 334 6306 Voice | (509) 334 6300 Fax Introduction The PmodCLP is a 16x2 character LCD module that uses two Pmod connectors to present a 3.3V, 8-bit parallel data interface to system boards. It is based on a Sunlike LCD panel that uses a Samsung KS0066 (or equivalent) LCD controller.
  • Page 2 It was not modified for this application. stdtypes.h Digilent Standard Type Declarations. This is a standard www.digilentinc.com page 2 of 4 Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
  • Page 3 2 causes processing fFalse if the button 2 does not cause processing. www.digilentinc.com page 3 of 4 Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
  • Page 4 It configures TIMER5 and its interrupt using Plib macros. SFRs approach is also provided in the commented code. www.digilentinc.com page 4 of 4 Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.