PIC16LF874A-I/PT Microchip Technology, PIC16LF874A-I/PT Datasheet - Page 21

IC, 8BIT MCU, PIC16LF, 20MHZ, TQFP-44

PIC16LF874A-I/PT

Manufacturer Part Number
PIC16LF874A-I/PT
Description
IC, 8BIT MCU, PIC16LF, 20MHZ, TQFP-44
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets

Specifications of PIC16LF874A-I/PT

Controller Family/series
PIC16LF
No. Of I/o's
33
Eeprom Memory Size
128Byte
Ram Memory Size
192Byte
Cpu Speed
20MHz
No. Of Timers
3
Core Size
8 Bit
Program Memory Size
4 Kwords
Core Processor
PIC
Speed
10MHz
Connectivity
I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
33
Program Memory Type
FLASH
Eeprom Size
128 x 8
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
2.2.2
The Special Function Registers are registers used by
the CPU and peripheral modules for controlling the
desired operation of the device. These registers are
implemented as static RAM. A list of these registers is
given in Table 2-1.
TABLE 2-1:
 2003 Microchip Technology Inc.
Address
00h
01h
02h
03h
04h
05h
06h
07h
08h
09h
0Ah
0Bh
0Ch
0Dh
0Eh
0Fh
10h
11h
12h
13h
14h
15h
16h
17h
18h
19h
1Ah
1Bh
1Ch
1Dh
1Eh
1Fh
Legend:
Note
Bank 0
(3)
(3)
(3)
(3)
(4)
(4)
(1,3)
(3)
1:
2:
3:
4:
5:
INDF
TMR0
PCL
STATUS
FSR
PORTA
PORTB
PORTC
PORTD
PORTE
PCLATH
INTCON
PIR1
PIR2
TMR1L
TMR1H
T1CON
TMR2
T2CON
SSPBUF
SSPCON
CCPR1L
CCPR1H
CCP1CON
RCSTA
TXREG
RCREG
CCPR2L
CCPR2H
CCP2CON
ADRESH
ADCON0
x = unknown, u = unchanged, q = value depends on condition, - = unimplemented, read as ‘0’, r = reserved.
Shaded locations are unimplemented, read as ‘0’.
The upper byte of the program counter is not directly accessible. PCLATH is a holding register for the PC<12:8>, whose
contents are transferred to the upper byte of the program counter.
Bits PSPIE and PSPIF are reserved on PIC16F873A/876A devices; always maintain these bits clear.
These registers can be addressed from any bank.
PORTD, PORTE, TRISD and TRISE are not implemented on PIC16F873A/876A devices, read as ‘0’.
Bit 4 of EEADRH implemented only on the PIC16F876A/877A devices.
SPECIAL FUNCTION REGISTERS
Name
SPECIAL FUNCTION REGISTER SUMMARY
Addressing this location uses contents of FSR to address data memory (not a physical register) 0000 0000 31, 150
Timer0 Module Register
Program Counter (PC) Least Significant Byte
Indirect Data Memory Address Pointer
PORTB Data Latch when written: PORTB pins when read
PORTC Data Latch when written: PORTC pins when read
PORTD Data Latch when written: PORTD pins when read
Holding Register for the Least Significant Byte of the 16-bit TMR1 Register
Holding Register for the Most Significant Byte of the 16-bit TMR1 Register
Timer2 Module Register
Synchronous Serial Port Receive Buffer/Transmit Register
Capture/Compare/PWM Register 1 (LSB)
Capture/Compare/PWM Register 1 (MSB)
USART Transmit Data Register
USART Receive Data Register
Capture/Compare/PWM Register 2 (LSB)
Capture/Compare/PWM Register 2 (MSB)
A/D Result Register High Byte
PSPIF
ADCS1
WCOL
SPEN
Bit 7
IRP
GIE
(3)
TOUTPS3 TOUTPS2 TOUTPS1 TOUTPS0
SSPOV
ADCS0
CMIF
PEIE
ADIF
Bit 6
RP1
RX9
PORTA Data Latch when written: PORTA pins when read
T1CKPS1 T1CKPS0 T1OSCEN
TMR0IE
SSPEN
CCP1X
CCP2X
SREN
CHS2
RCIF
Bit 5
RP0
Write Buffer for the upper 5 bits of the Program Counter
CCP1Y
CCP2Y
CREN
CHS1
INTE
Bit 4
TXIF
EEIF
CKP
TO
CCP1M3
CCP2M3
ADDEN
SSPM3
SSPIF
BCLIF
CHS0
RBIE
Bit 3
The Special Function Registers can be classified into
two sets: core (CPU) and peripheral. Those registers
associated with the core functions are described in
detail in this section. Those related to the operation of
the peripheral features are described in detail in the
peripheral features section.
PD
GO/DONE
TMR2ON T2CKPS1 T2CKPS0 -000 0000 61, 150
CCP1M2
CCP2M2
T1SYNC
TMR0IF
CCP1IF
SSPM2
FERR
Bit 2
RE2
Z
TMR1CS TMR1ON --00 0000 57, 150
CCP1M1 CCP1M0 --00 0000 64, 150
CCP2M1 CCP2M0 --00 0000 64, 150
TMR2IF
SSPM1
OERR
INTF
Bit 1
RE1
DC
PIC16F87XA
TMR1IF 0000 0000 26, 150
CCP2IF -0-0 0--0 28, 150
SSPM0
ADON
RX9D
Bit 0
RBIF
RE0
C
xxxx xxxx 55, 150
0000 0000 30, 150
0001 1xxx 22, 150
xxxx xxxx 31, 150
--0x 0000 43, 150
xxxx xxxx 45, 150
xxxx xxxx 47, 150
xxxx xxxx 48, 150
---- -xxx 49, 150
---0 0000 30, 150
0000 000x 24, 150
xxxx xxxx 60, 150
xxxx xxxx 60, 150
0000 0000 62, 150
xxxx xxxx 79, 150
0000 0000
xxxx xxxx 63, 150
xxxx xxxx 63, 150
0000 000x 112, 150
0000 0000 118, 150
0000 0000 118, 150
xxxx xxxx 63, 150
xxxx xxxx 63, 150
xxxx xxxx 133, 150
0000 00-0 127, 150
POR, BOR
DS39582B-page 19
Value on:
on page:
Details
82, 82,
150

Related parts for PIC16LF874A-I/PT