Power supply options, Instruction set – Digilent 410-092P User Manual
Page 2
PmodCLS Reference Manual
Digilent, Inc.
www.digilentinc.com
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.
jumper is represented by 1 and a connected
jumper is represented by 0.
MD2, MD1, MD0
Protocol
Details
0,0,0
UART
2400 baud
0,0,1
UART
4800 baud
0,1,0
UART
9600 baud
0,1,1
UART
baud rate in
EEPROM
1,0,0
TWI
address: 0x48
1,0,1
TWI
address in
EEPROM
1,1,0
SPI
1,1,1
specified
in
EEPROM
specified in
EEPROM
Connector J1 is used for SPI communication.
Connector J2 can either be used for UART or
TWI communication. Connectors J4 and J5
can be used to daisy chain other TWI devices.
Power Supply Options
The module is rated for external power ranging
from 2.7 to 5.5 volts DC. Using voltage outside
this range could damage the PmodCLS and
connected devices. The PmodCLS can be
powered thr
ough the board’s 6-pin headers J1
or J2, or through connectors J6 or J7.
When the module is connected to another
Digilent microcontroller or FPGA board, that
board can power the PmodCLS through a
Pmod connector. The host board should be
jumpered to provide 3.3V on the VCC pin of
the connector being used. The module is then
powered by the host board’s power supply.
Instruction Set
The PmodCLS is capable of executing many
different instructions. Instructions are sent
using escape sequences. An escape sequence
begins with the ESC character (character code
0x1B or decimal 27), followed by the left
square bracket
‘[‘ , followed by 0 or more
parameters separated by semicolons ‘;’ and
ending with the command character.
Command characters are case sensitive.
Instruction
Result
set cursor position to
s
save cursor position
u
restore saved cursor
position
j
clear display and home
cursor
erase within line
0 = current position to
end of line
1 = start of line to
current position
2 = entire line
erase field in current line
starting at current
position
scroll left
scroll right
columns
*
reset; equivalent to
cycling power of
PmodCLS
set display mode
0 = wrap line at 16
characters
1 = wrap line at 40
characters
set cursor mode
0 = cursor off
1 = cursor on, blink off
2 = cursor on, blink on
save TWI address in
EEPROM to
save baud rate value in
EEPROM to
program character table
into LCD
Instruction
Result
save RAM character
table to EEPROM
load EEPROM
character table to RAM
programmable character
save communication
mode to EEPROM