PIC16LC923-04/L Microchip Technology, PIC16LC923-04/L Datasheet - Page 102
![IC MCU OTP 4KX14 LCD DVR 68PLCC](/photos/12/13/121323/c04-049_l_sml.jpg)
PIC16LC923-04/L
Manufacturer Part Number
PIC16LC923-04/L
Description
IC MCU OTP 4KX14 LCD DVR 68PLCC
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Datasheet
1.PIC16C923-04L.pdf
(189 pages)
Specifications of PIC16LC923-04/L
Core Processor
PIC
Core Size
8-Bit
Speed
4MHz
Connectivity
I²C, SPI
Peripherals
LCD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
7KB (4K x 14)
Program Memory Type
OTP
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 6 V
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
68-PLCC
Processor Series
PIC16LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
176 B
Interface Type
I2C, SPI
Maximum Clock Frequency
8 MHz
Number Of Programmable I/os
25
Number Of Timers
3
Operating Supply Voltage
2.5 V to 6 V
Maximum Operating Temperature
+ 70 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
0 C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16LC923-04/L
Manufacturer:
Microchip Technology
Quantity:
1 964
Company:
Part Number:
PIC16LC923-04/L
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16C9XX
13.6
The following is the sequence of steps to follow to con-
figure the LCD module.
1.
2.
3.
TABLE 13-4: SUMMARY OF REGISTERS ASSOCIATED WITH THE LCD MODULE
DS30444E - page 102
Address
0Bh, 8Bh,
10Bh, 18Bh
0Ch
8Ch
10h
10Dh
10Eh
10Fh
110h
111h
112h
113h
114h
115h
116h
117h
118h
119h
11Ah
11Bh
11Ch
11Dh
11Eh
11Fh
Legend:
Note
- Multiplex mode and Bias, bits
Select the frame clock prescale using bits
LP3:LP0 (LCDPS<3:0>).
Configure the appropriate pins to function as
segment drivers using the LCDSE register.
Configure the LCD module for the following
using the LCDCON register.
LMUX1:LMUX0
1: These bits are reserved on the PIC16C923, always maintain these bits clear.
2: These pixels do not display, but can be used as general purpose RAM.
Configuring the LCD Module
x = unknown, u = unchanged, - = unimplemented read as '0'. Shaded cells are not used by the LCD Module.
Name
INTCON
PIR1
PIE1
T1CON
LCDSE
LCDPS
LCDCON
LCDD00
LCDD01
LCDD02
LCDD03
LCDD04
LCDD05
LCDD06
LCDD07
LCDD08
LCDD09
LCDD10
LCDD11
LCDD12
LCDD13
LCDD14
LCDD15
COM1
COM2
COM3
LCDEN
SEG07
SEG15
SEG23
SEG31
SEG07
SEG15
SEG23
SEG31
SEG07
SEG15
SEG23
SEG31
SEG07
SEG15
SEG23
SEG31
LCDIF
LCDIE
COM0
COM0
COM0
COM0
COM1
COM1
COM1
COM2
COM2
COM2
COM3
COM3
COM3
Bit 7
SE29
GIE
—
—
(2)
(2)
(2)
COM2
COM3
ADIE
SLPEN
ADIF
SEG06
SEG14
SEG22
SEG30
SEG06
SEG14
SEG22
SEG30
SEG06
SEG14
SEG22
SEG30
SEG06
SEG14
SEG22
SEG30
COM0
COM0
COM0
COM0
COM1
COM1
COM1
COM1
COM2
COM2
COM2
COM3
COM3
COM3
Bit 6
SE27
PEIE
—
—
(1)
(1)
(2)
(2)
T1CKPS1
COM3
SEG05
SEG13
SEG21
SEG29
SEG05
SEG13
SEG21
SEG29
SEG05
SEG13
SEG21
SEG29
SEG05
SEG13
SEG21
SEG29
COM0
COM0
COM0
COM0
COM1
COM1
COM1
COM1
COM2
COM2
COM2
COM2
COM3
COM3
COM3
Bit 5
SE20
T0IE
—
—
—
—
(2)
T1CKPS0
SEG04
SEG12
SEG20
SEG28
SEG04
SEG12
SEG20
SEG28
SEG04
SEG12
SEG20
SEG28
SEG04
SEG12
SEG20
SEG28
COM0
COM0
COM0
COM0
COM1
COM1
COM1
COM1
COM2
COM2
COM2
COM2
COM3
COM3
COM3
COM3
VGEN
Bit 4
SE16
INTE
—
—
—
T1OSCEN
SEG03
SEG11
SEG19
SEG27
SEG03
SEG11
SEG19
SEG27
SEG03
SEG11
SEG19
SEG27
SEG03
SEG11
SEG19
SEG27
SSPIF
SSPIE
COM0
COM0
COM0
COM0
COM1
COM1
COM1
COM1
COM2
COM2
COM2
COM2
COM3
COM3
COM3
COM3
Bit 3
RBIE
SE12
CS1
LP3
4.
5.
6.
- Timing source, bits CS1:CS0
- Voltage generation, bit VGEN
- Sleep mode, bit SLPEN
Write initial values to pixel data registers,
LCDD00 through LCDD15.
Clear LCD interrupt flag, LCDIF (PIR1<7>), and
if desired, enable the interrupt by setting bit
LCDIE (PIE1<7>).
Enable the LCD module, by setting bit LCDEN
(LCDCON<7>).
T1SYNC TMR1CS TMR1ON --00 0000
CCP1IF
CCP1IE
SEG02
SEG10
SEG18
SEG26
SEG02
SEG10
SEG18
SEG26
SEG02
SEG10
SEG18
SEG26
SEG02
SEG10
SEG18
SEG26
COM0
COM0
COM0
COM0
COM1
COM1
COM1
COM1
COM2
COM2
COM2
COM2
COM3
COM3
COM3
COM3
Bit 2
T0IF
CS0
SE9
LP2
TMR2IF
TMR2IE
LMUX1
SEG01
SEG09
SEG17
SEG25
SEG25
SEG01
SEG09
SEG17
SEG25
SEG01
SEG09
SEG17
SEG25
SEG01
SEG09
SEG17
COM0
COM0
COM0
COM0
COM1
COM1
COM1
COM2
COM2
COM2
COM2
COM3
COM3
COM3
COM3
COM1
Bit 1
INTF
SE5
LP1
TMR1IF
TMR1IE
LMUX0
SEG00
SEG08
SEG16
SEG24
SEG00
SEG08
SEG16
SEG24
SEG00
SEG08
SEG16
SEG24
SEG00
SEG08
SEG16
SEG24
COM0
COM0
COM0
COM0
COM1
COM1
COM1
COM1
COM2
COM2
COM2
COM2
COM3
COM3
COM3
COM3
Bit 0
RBIF
SE0
LP0
1997 Microchip Technology Inc.
0000 000x
00-- 0000
00-- 0000
1111 1111
---- 0000
00-0 0000
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
xxxx xxxx
Power-on
Value on
Reset
0000 000u
00-- 0000
00-- 0000
--uu uuuu
1111 1111
---- 0000
00-0 0000
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
uuuu uuuu
Value on
all other
Resets