PIC16LC923-04/L Microchip Technology, PIC16LC923-04/L Datasheet - Page 40
![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
5.7
PORTG is an digital input only port. Each pin is multi-
plexed with an LCD segment driver. These pins have
Schmitt Trigger input buffers.
EXAMPLE 5-7:
TABLE 5-13: PORTG FUNCTIONS
TABLE 5-14: SUMMARY OF REGISTERS ASSOCIATED WITH PORTG
DS30444E - page 40
Name
RG0/SEG20
Address Name
108h
188h
10Dh
Legend: Shaded cells are not used by PORTG.
RG1/SEG21
RG2/SEG22
RG3/SEG23
RG4/SEG24
RG5/SEG25
RG6/SEG26
RG7/SEG28
Legend: ST = Schmitt Trigger input
BCF STATUS,RP0
BSF STATUS,RP1
BCF LCDSE,SE27
BCF LCDSE,SE20
Note 1: On a Power-on Reset these pins are con-
Note 2: To configure the pins as a digital port, the
PORTG and TRISG Register
PORTG
TRISG
LCDSE
figured as LCD segment drivers.
corresponding bits in the LCDSE register
must be cleared. Any bit set in the LCDSE
register overrides any bit settings in the
corresponding TRIS register.
INITIALIZING PORTG
PORTG Data Direction Control Register
Bit#
bit0
bit1
bit2
bit3
bit4
bit5
bit6
bit7
SE29
Bit 7
RG7
;Select Bank2
;
;Make all PORTG
;and PORTE<7>
;digital inputs
Buffer Type
SE27
Bit 6
RG6
ST
ST
ST
ST
ST
ST
ST
ST
SE20
Bit 5
RG5
Digital input or Segment Driver20
Digital input or Segment Driver21
Digital input or Segment Driver22
Digital input or Segment Driver23
Digital input or Segment Driver24
Digital input or Segment Driver25
Digital input or Segment Driver26
Digital input or Segment Driver28 (not available on 64-pin devices)
SE16
Bit 4
RG4
SE12
Bit 3
RG3
FIGURE 5-10: PORTG BLOCK DIAGRAM
Data Bus
RD PORT
RD TRIS
Bit 2
RG2
SE9
LCD Common
Output Enable
LCD Segment
Output Enable
LCD
Common Data
LCDSE<n>
LCD
Segment Data
Bit 1
RG1
SE5
Function
Bit 0
RG0
SE0
V
DD
Q
1997 Microchip Technology Inc.
EN
0000 0000
1111 1111
1111 1111
Power-on
Value on
EN
D
Reset
Digital Input/
LCD Output pin
Schmitt
Trigger
input
buffer
other resets
Value on all
0000 0000
1111 1111
1111 1111