MA180025 Microchip Technology, MA180025 Datasheet - Page 208

MODULE PLUG-IN PIC18F87J90 PIM

MA180025

Manufacturer Part Number
MA180025
Description
MODULE PLUG-IN PIC18F87J90 PIM
Manufacturer
Microchip Technology
Series
PIC®r
Datasheets

Specifications of MA180025

Accessory Type
Plug-In Module (PIM) - PIC18F87J90
Product
Microcontroller Modules
Silicon Manufacturer
Microchip
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Core Number
PIC18F
Silicon Family Name
PIC18FxxJxx
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PICDEM LCD 2 Demonstration Board (DM163030)
For Use With
DM163030 - KIT DEV PICDEM LCD2
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MA180025
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
MA180025
Manufacturer:
MICROCHIP
Quantity:
12 000
PIC18F87J90 FAMILY
17.11 Configuring the LCD Module
The following is the sequence of steps to configure the
LCD module.
1.
2.
3.
4.
5.
DS39933D-page 208
Select the frame clock prescale using bits,
LP<3:0> (LCDPS<3:0>).
Configure the appropriate pins to function as
segment drivers using the LCDSEx registers.
Configure the appropriate pins as inputs using
the TRISx registers.
Configure the LCD module for the following
using the LCDCON register:
Write initial values to pixel data registers,
LCDDATA0 through LCDDATA23.
Multiplex and Bias mode (LMUX<1:0>)
Timing source (CS<1:0>)
Sleep mode (SLPEN)
6.
7.
8.
Configure the LCD regulator:
a)
b)
Clear LCD Interrupt Flag, LCDIF (PIR3<6>),
and if desired, enable the interrupt by setting the
LCDIE bit (PIE3<6>).
Enable the LCD module by setting the LCDEN
bit (LCDCON<7>).
If M2 or M3 bias configuration is to be used,
turn
CKSEL<1:0> (LCDREG<1:0>) to ‘00’. Set
or clear the CPEN bit (LCDREG<6>) to
select Mode 2 or Mode 3, as appropriate.
If M0 or M1 bias generation is to be used:
• Set the V
• Set or clear the CPEN bit to enable or
• Set
• Select a regulator clock source using the
bits (LCDREG<5:3>).
disable the charge pump.
(LCDREG<2>) to select the Bias mode.
CKSEL<1:0> bits.
off
or
BIAS
the
clear
 2010 Microchip Technology Inc.
level using the BIAS<2:0>
regulator
the
MODE13
by
setting
bit

Related parts for MA180025