dsPICDEM? 1.1 PLUS
DEVELOPMENT BOARD
USER ’S GUIDE
Appendix B. LCD Controller Specification
B.1
B.2
OVERVIEW
The LCD display on the dsPICDEM? 1.1 Plus Development Board is a PG12232D-L
8-bit 122 x 32 dot-matrix LCD controlled by a PIC18F242 LCD controller with a custom
driver that supports a rich set of character and graphic commands. The 122 x 32 LCD
supports a standard SED1520 type controller, which is interfaced to the PIC18F242
over a parallel interface bus. A full set of ASCII characters are available for display on a
4 x 20 character grid. In Graphics mode, individual pixels and bit patterns are
supported. A line drawing facility is supported as part of the basic command set.
LCD CONTROLLER INTERFACE
The LCD controller (PIC18F242) is controlled via its Serial Peripheral Interface (SPI)
port. The LCD controller operates as a slave SPI with a maximum SPI clock of 2.4 MHz.
Using the standard PIC ? MCU nomenclature, the LCD controller is set up as a slave
under Slave Select (SS) control with CKP = 0 and CKE = 0 .
The dsPIC DSC SPI peripheral should be configured for:
?
?
?
?
SMP = 0
CKE = 0
CKP = 0
MODE16 = 0 and MSTEN = 1
The SPI master clock should not exceed 2.4 MHz. The SS control line should be used
to synchronize the interface at the byte level.
On power-up, the LCD controller requires approximately 100 mS to initialize its internal
buffers and clear the LCD display. It will not accept any input until it has completed its
initialization sequence.
The controller stores incoming bytes in an interrupt buffer that is 186 bytes deep so that
the dsPIC DSC device should not be able, under reasonable operation, to overrun the
controller with input data. The buffer is large enough to hold a complete screen of
characters plus several additional commands. The only way to overrun the buffer is to
continuously send commands at a bit rate that is close to the maximum so that the LCD
controller is completely occupied with receiving and storing the incoming commands
and does not have sufficient extra time to process the commands. With SPI
communications, the dsPIC DSC device gets a return byte with every byte sent to the
controller. The controller provides the current buffer count as the return byte for each
byte sent. The return byte enables the dsPIC DSC device to determine how many
unprocessed bytes are in the controller ’s buffer after the previous byte was received by
the controller. This number can never be less than the size of the proceeding command
sent since the controller will not remove a command from its receive buffer until the
entire command is received. This feature could be used for flow control by the dsPIC
DSC device, but given the speed of the controller and the size of the interrupt buffer, it
is unlikely the dsPIC DSC device could overflow the controller ’s buffer under normal
usage. Thus, implementing flow control on the dsPIC DSC device in all but the most
unusual circumstances would be an unnecessary complication.
? 2006 Microchip Technology Inc.
DS70099D-page 75
相关PDF资料
DM330012 KIT USB STARTER FOR DSPIC33E
DM330013 MICROSTICK DSPIC33F/PIC24H BOARD
DNET1 SURGE SUPPRESSOR ETHERNET RJ45
DR-8094 RACK DOUBLE 84"X20.25"X36" BLK
DR-IAC5E INPUT MODULE AC 5VDC
DRIDC24A INPUT MODULE DC 34MA 24VDC
DRODC24 OUTPUT MODULE DC 13MA 24VDC
DRR-40A MODULE REDUNDANCY 40A DIN RAIL
相关代理商/技术参数
DM300027 功能描述:开发板和工具包 - PIC / DSPIC 16-bit Starter Demo Board RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM-3-000-K 制造商:PacTec 功能描述:Case, Plastic; ABS; Black; 11.46 in.; 3.38 in.; 10.4 in.; UL 94-HB Rated 制造商:PacTec 功能描述:ENCLOSURE, DESKTOP, PLASTIC, BLACK; Enclosure Type:Desktop; Enclosure Material:Plastic; Body Color:Black; External Height - Imperial:3.38"; External Height - Metric:86mm; External Width - Imperial:10.4"; External Width - Metric:264mm;RoHS Compliant: Yes
DM-300-C 制造商:Greenlee Textron Inc 功能描述:DMM 1000V RMS
DM-301 制造商:Labfacility Limited 功能描述:SENSOR PT100 THIN FILM 2X2.3MM CL B 制造商:LABFACILITY 功能描述:SENSOR, PT100, THIN FILM, 2X2.3MM, CL B 制造商:LABFACILITY 功能描述:TEMPERATURE RTD SENSOR, -70C to +500C, 100 OHM; Sensing Temperature Min:-70C; Sensing Temperature Max:+500C; Resistance:100ohm; Sensor Terminals:Through Hole; Temperature Sensing Range:-70C to +500C ;RoHS Compliant: Yes
DM30103J 制造商:ELMCO 功能描述:
DM30113G 制造商:n/a 功能描述:DM30X311 S7C8B
DM30-113G 制造商:n/a 功能描述:DM30X311 S7C8B
DM30133J 制造商:n/a 功能描述:DM30X313 S7C8B