PIC16LC926-I/PT Microchip Technology, PIC16LC926-I/PT Datasheet - Page 31
![IC MCU CMOS 20MHZ 8K W/LCD64TQFP](/photos/6/81/68123/c04-066_pf_sml.jpg)
PIC16LC926-I/PT
Manufacturer Part Number
PIC16LC926-I/PT
Description
IC MCU CMOS 20MHZ 8K W/LCD64TQFP
Manufacturer
Microchip Technology
Series
PIC® 16Cr
Specifications of PIC16LC926-I/PT
Core Size
8-Bit
Program Memory Size
14KB (8K x 14)
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, LCD, POR, PWM, WDT
Number Of I /o
25
Program Memory Type
OTP
Ram Size
336 x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TFQFP
Controller Family/series
PIC16C
No. Of I/o's
25
Ram Memory Size
336Byte
Cpu Speed
20MHz
No. Of Timers
3
Interface
I2C, SPI
Embedded Interface Type
I2C, SPI
Rohs Compliant
Yes
Processor Series
PIC16LC
Core
PIC
Data Bus Width
8 bit
Data Ram Size
336 B
Interface Type
I2C, SPI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
25
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2.5 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / Rohs Status
Details
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
PIC16LC926-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16LC926-I/PT
Manufacturer:
MIC
Quantity:
20 000
4.0
Some pins for these ports are multiplexed with an alter-
nate function for the peripheral features on the device.
In general, when a peripheral is enabled, that pin may
not be used as a general purpose I/O pin.
4.1
The RA4/T0CKI pin is a Schmitt Trigger input and an
open drain output. All other RA port pins have TTL
input levels and full CMOS output drivers. All RA pins
have data direction bits (TRISA register), which can
configure these pins as output or input.
Setting a bit in the TRISA register puts the correspond-
ing output driver in a Hi-Impedance mode. Clearing a
bit in the TRISA register puts the contents of the output
latch on the selected pin.
Reading the PORTA register reads the status of the
pins, whereas writing to it will write to the port latch. All
write operations are read-modify-write operations.
Therefore, a write to a port implies that the port pins are
read, this value is modified, and then written to the port
data latch.
Pin RA4 is multiplexed with the Timer0 module clock
input to become the RA4/T0CKI pin. The other PORTA
pins are multiplexed with analog inputs and the analog
V
clearing/setting the control bits in the ADCON1 register
(A/D Control Register1).
The TRISA register controls the direction of the RA
pins, even when they are being used as analog inputs.
The user must ensure the bits in the TRISA register are
maintained set when using them as analog inputs.
EXAMPLE 4-1:
BCF
BCF
CLRF
BSF
MOVLW
MOVWF
REF
Note:
2001 Microchip Technology Inc.
input. The operation of each pin is selected by
I/O PORTS
PORTA and TRISA Register
STATUS, RP0
STATUS, RP1
PORTA
STATUS, RP0
0xCF
TRISA
On a Power-on Reset, these pins are con-
figured as analog inputs and read as ’0’.
INITIALIZING PORTA
; Select Bank0
; Initialize PORTA
; Select Bank1
; Value used to
; initialize data
; direction
; Set RA<3:0> as inputs
; RA<5:4> as outputs
; RA<7:6> are always
; read as ’0’.
Preliminary
FIGURE 4-1:
FIGURE 4-2:
Data
Bus
WR
Port
WR
TRIS
RD
TRIS
RD Port
To A/D Converter
Note 1: I/O pins have protection diodes to V
Note 1: I/O pin has protection diodes to V
TMR0 Clock Input
WR
TRIS
RD
TRIS
RD Port
Data
Bus
WR
Port
TRIS Latch
D
Data Latch
D
CK
CK
Data Latch
TRIS Latch
PIC16C925/926
D
D
CK
CK
Q
Q
Q
Q
Q
Q
Q
Q
BLOCK DIAGRAM OF
PINS RA3:RA0 AND RA5
BLOCK DIAGRAM OF
RA4/T0CKI PIN
Q
Q
Input Mode
Analog
EN
Schmitt
Trigger
Input
Buffer
EN
EN
D
D
DS39544A-page 29
V
N
SS
V
V
P
N
SS
DD
SS
DD
only.
I/O pin
TTL
Input
Buffer
and V
I/O pin
SS
(1)
(1)
.