参数资料
型号: DM300014
厂商: Microchip Technology
文件页数: 59/72页
文件大小: 0K
描述: BOARD DEMO DSPICDEM 1.1 GEN PURP
标准包装: 1
dsPICDEM? 1.1
DEVELOPMENT BOARD
USER ’S GUIDE
Appendix B. LCD Controller Specification
B.1
B.2
OVERVIEW
The LCD display on the dsPICDEM 1.1 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 PICmicro ? nomenclature, the LCD controller is set up as a slave
under Slave Select (SS) control with CKP = 0 and CKE = 0 .
The dsPIC 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 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 doesn’t have sufficient extra time to process the commands. With SPI
communications, the dsPIC 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 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
device, but given the speed of the controller and the size of the interrupt buffer, it is
unlikely the dsPIC device could overflow the controller ’s buffer under normal usage.
Thus, implementing flow control on the dsPIC device in all but the most unusual
circumstances would be an unnecessary complication.
? 2003 Microchip Technology Inc.
Advance Information
DS70099B-page 55
相关PDF资料
PDF描述
DM300016 BOARD DEMO DSPICDEM STARTER
DM300017 BOARD DEMO DSPICDEM STARTER
DM300020 BOARD DEV DSPICDEM MC1 MOTORCTRL
DM300021 MODULE PWR DSPICDEM MC1H HV 3PHS
DM300022 MODULE PWR DSPICDEM MC1L LV 3PHS
相关代理商/技术参数
参数描述
DM300015 功能描述:KIT DESIGN W/DM300014 RoHS:否 类别:编程器,开发系统 >> 过时/停产零件编号 系列:- 标准包装:1 系列:*
DM300016 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 28P Starter RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压:
DM300017 制造商:Microchip Technology Inc 功能描述:Microcontroller Development To
DM300018 功能描述:开发板和工具包 - PIC / DSPIC dsPICDEM 2 Demo Brd RoHS:否 制造商:Microchip Technology 产品:Starter Kits 工具用于评估:chipKIT 核心:Uno32 接口类型: 工作电源电压: