PIC18F8520-I/PT Microchip Technology Inc., PIC18F8520-I/PT Datasheet - Page 144

no-image

PIC18F8520-I/PT

Manufacturer Part Number
PIC18F8520-I/PT
Description
80 PIN, 32 KB FLASH, 2048 RAM, 68 I/O
Manufacturer
Microchip Technology Inc.
Datasheet

Specifications of PIC18F8520-I/PT

A/d Inputs
16-Channel, 10-Bit
Comparators
2
Cpu Speed
10 MIPS
Eeprom Memory
1024 Bytes
Input Output
68
Interface
I2C/SPI/UART/USART
Memory Type
Flash
Number Of Bits
8
Package Type
80-pin TQFP
Programmable Memory
32K Bytes
Ram Size
2K Bytes
Speed
40 MHz
Timers
2-8-bit, 3-16-bit
Voltage, Range
2-5.5 V
Lead Free Status / Rohs Status
RoHS Compliant part

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F8520-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC18F8520-I/PT
Manufacturer:
MICROCHIP-Pb
Quantity:
6 416
Part Number:
PIC18F8520-I/PT
Manufacturer:
MICROCHIP-Pb
Quantity:
3 827
Part Number:
PIC18F8520-I/PT
Manufacturer:
MICROCHIP-Pb
Quantity:
5 738
Part Number:
PIC18F8520-I/PT
Manufacturer:
MICRCOHI
Quantity:
20 000
PIC18F6520/8520/6620/8620/6720/8720
13.2
The Timer2 module has an 8-bit period register, PR2.
Timer2 increments from 00h until it matches PR2 and
then resets to 00h on the next increment cycle. PR2 is
a readable and writable register. The PR2 register is
initialized to FFh upon Reset.
FIGURE 13-1:
TABLE 13-1:
DS39609B-page 142
INTCON GIE/GIEH PEIE/GIEL
PIR1
PIE1
IPR1
TMR2
T2CON
PR2
Legend:
Name
Timer2 Interrupt
Timer2 Module Register
Timer2 Period Register
PSPIE
PSPIP
x = unknown, u = unchanged, – = unimplemented, read as ‘0’. Shaded cells are not used by the Timer2 module.
PSPIF
Bit 7
Note 1: TMR2 register output can be software selected by the SSP module as a baud clock.
F
OSC
REGISTERS ASSOCIATED WITH TIMER2 AS A TIMER/COUNTER
/4
T2OUTPS3 T2OUTPS2 T2OUTPS1 T2OUTPS0 TMR2ON T2CKPS1 T2CKPS0 -000 0000 -000 0000
TIMER2 BLOCK DIAGRAM
ADIE
ADIP
Bit 6
ADIF
T2CKPS1:T2CKPS0
1:1, 1:4, 1:16
TMR0IE
Prescaler
RCIF
RCIE
RCIP
Bit 5
2
INT0IE
TXIF
TXIE
TXIP
Bit 4
Comparator
TMR2
PR2
SSPIE
SSPIP
SSPIF
RBIE
Bit 3
13.3
The output of TMR2 (before the postscaler) is fed to the
synchronous serial port module, which optionally uses
it to generate the shift clock.
EQ
TMR0IF
CCP1IF
CCP1IE
CCP1IP
Reset
T2OUTPS3:T2OUTPS0
Bit 2
Postscaler
1:1 to 1:16
Output of TMR2
TMR2IE
TMR2IP
TMR2IF
INT0IF
Output
Bit 1
TMR2
4
(1)
TMR1IF 0000 0000 0000 0000
TMR1IE 0000 0000 0000 0000
TMR1IP 0111 1111 0111 1111
RBIF
 2004 Microchip Technology Inc.
Bit 0
0000 0000 0000 0000
0000 0000 0000 0000
1111 1111 1111 1111
POR, BOR
bit TMR2IF
Value on
Sets Flag
Value on
all other
Resets

Related parts for PIC18F8520-I/PT