PIC16C925/CL Microchip Technology, PIC16C925/CL Datasheet - Page 36

no-image

PIC16C925/CL

Manufacturer Part Number
PIC16C925/CL
Description
IC MCU EPROM 4KX14 LCDDVR 68CLCC
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C925/CL

Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
25
Program Memory Size
7KB (4K x 14)
Program Memory Type
EPROM
Ram Size
176 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
0°C ~ 70°C
Package / Case
68-CLCC Window, 68-CERQUAD
For Use With
AC164308 - MODULE SKT FOR PM3 68PLCCDVA16XL680 - ADAPTER DEVICE FOR MPLAB-ICEAC164024 - ADAPTER PICSTART PLUS 68PLCCAC164022 - MODULE SKT PROMATEII 68PLCC
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
PIC16C925/926
4.4
PORTD is an 8-bit port with Schmitt Trigger input buff-
ers. The first five pins are configurable as general pur-
pose I/O pins or LCD segment drivers. Pins RD5, RD6
and RD7 can be digital inputs, or LCD segment, or
common drivers.
TRISD controls the direction of pins RD0 through RD4
when PORTD is configured as a digital port.
EXAMPLE 4-4:
FIGURE 4-6:
DS39544A-page 34
BCF
BSF
BCF
BCF
BSF
BCF
MOVLW 0xE0
MOVWF TRISD
Note 1: On a Power-on Reset, these pins are
LCD
LCD
Segment Data
LCD Segment
Output Enable
Data
Bus
WR
Port
WR
TRIS
RD
TRIS
RD
Port
SE<n>
PORTD and TRISD Registers
2: To configure the pins as a digital port, the
STATUS,RP0
STATUS,RP1
STATUS,RP0
STATUS,RP1
LCDSE, SE29
LCDSE, SE0
configured 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.
TRIS Latch
Data Latch
D
D
CK
CK
Q
Q
INITIALIZING PORTD
PORTD <4:0> BLOCK
DIAGRAM
Q
;Select Bank2
;
;Make RD<7:5> digital
;Make RD<4:0> digital
;Select Bank1
;
;Make RD<4:0> outputs
;Make RD<7:5> inputs
EN
EN
D
Schmitt
Trigger
Input
Buffer
I/O pin
Preliminary
FIGURE 4-7:
LCD
Segment Data
LCD Segment
Output Enable
LCD
Common Data
LCD Common
Output Enable
LCDSE<n>
Data Bus
RD Port
RD TRIS
V
PORTD<7:5> BLOCK
DIAGRAM
DD
Q
2001 Microchip Technology Inc.
EN
EN
D
LCD Output pin
Digital Input/
Schmitt
Trigger
Input
Buffer

Related parts for PIC16C925/CL