Digilent PmodCLS Reference Manual

Serial lcd display module

Advertisement

Quick Links

P
m
o
d
C
L
S
P
m
o
d
C
L
S
S
e
r
i
a
l
L
C
D
S
e
r
i
a
l
L
C
D
R
e
f
e
r
e
n
c
e
M
R
e
f
e
r
e
n
c
e
M
Revision: December 14, 2007
Note: This document applies to REV D-E of the board.

Overview

The PmodCLS module can be used to display
important information during program
development or as a user interface after the
project has been completed. The module is
ideally suited for projects that include a Digilent
embedded-AVR board, but can also be used in
projects using a Digilent FPGA board.
The module is capable of executing a variety of
instructions, such as erasing specific
characters, setting different display modes,
scrolling, and displaying user-defined
characters. These instructions are specified
using escape sequences to send commands to
the board's embedded Atmel ATmega48
microcontroller. The display on the module is
driven by this AVR and controls all of the
features of the board.

Functional Description

Communication with the embedded AVR on
the PmodCLS is established using a UART,
SPI, or TWI (Phillips I²C compatible) serial
connection. Characters are written to the
display simply by sending characters over the
communication link. The characters appear on
the display at the current location of the
board's cursor.
You set the cursor location, and send other
instructions, by sending escape sequences. An
escape sequence is specified by first sending
the escape character followed by a left square
bracket '[', zero or more numeric parameters
separated by semicolons ';' followed by the
command character for the specific command..
All of the possible instructions are listed in the
"Instruction Set" section, below.
Doc: 502-092
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
D
i
s
p
l
a
y
M
o
D
i
s
p
l
a
y
M
o
a
n
u
a
l
a
n
u
a
l
d
u
l
e
d
u
l
e
JI
SPI/
ISP
4
4K Flash
(Internal)
(Internal)
512 SRAM
(Internal)
PmodCLS Block Diagram

Communication Options

You can set the board's communication
method by setting the mode jumpers MD0,
MD1, and MD2 on the board. Possible mode
jumper configurations are listed in the table
below. For Rev D boards, a missing jumper is
represented by 0 and a connected jumper is
represented by 1. For Rev E boards, a missing
ww w. d ig i l en t inc .c om
215 E Main Suite D | Pullman, WA 99163
(509) 334 6306 Voice and Fax
TWI
J2
TWI/
DAISY-
UART
CHAIN
2
4
ATmega48
8
3
DATA
CTL
LCD
DISPLAY
REGULATOR
®
7.3728MHz
Crystal
Internal
Oscillator
UART, SPI,
&TWI ports
5V
BOOST
page 1 of 4

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PmodCLS and is the answer not in the manual?

Questions and answers

Summary of Contents for Digilent PmodCLS

  • Page 1 0 and a connected jumper is represented by 1. For Rev E boards, a missing Doc: 502-092 page 1 of 4 Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners.
  • Page 2 <ps>m save communication Command characters are case sensitive. mode to EEPROM 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 <pn> values followed by the <ps> value Power supply (3.3V) that specifies the character being defined. 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 Power supply (3.3V) Connector J4 & J5 – TWI Daisy Chain Signal Description TWI clock TWI data 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.
  • Page 5 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Digilent 410-092...

Table of Contents