PIC16F785-E/SS Microchip Technology, PIC16F785-E/SS Datasheet - Page 45

20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,

PIC16F785-E/SS

Manufacturer Part Number
PIC16F785-E/SS
Description
20 PIN, 3.5 KB STD FLASH, 128 RAM, 18 I/O PB FREE,
Manufacturer
Microchip Technology
Series
PIC® 16Fr

Specifications of PIC16F785-E/SS

Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
128 x 8
Voltage - Supply (vcc/vdd)
2 V ~ 5.5 V
Data Converters
A/D 14x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
20-SSOP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT20SS1-1 - SOCKET TRANSITION 20DIP 20SSOPAC162060 - HEADER INTRFC MPLAB ICD2 20PIN
Connectivity
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
4.3.1
Each PORTB pin is multiplexed with other functions.
The pins and their combined functions are briefly
described here. For specific information about individ-
ual functions such as the PWM, operational amplifier,
or the A/D, refer to the appropriate section in this Data
Sheet.
4.3.1.1
The RB4/AN10/OP2- pin is configurable to function as
one of the following:
• General purpose I/O
• Analog input to the A/D
• Analog input to Op Amp 2
4.3.1.2
The RB5/AN11/OP2+ pin is configurable to function as
one of the following:
• General purpose I/O
• Analog input to the A/D
• Analog input to Op Amp 2
FIGURE 4-7:
© 2008 Microchip Technology Inc.
PORTB
PORTB
Data Bus
TRISB
TRISB
WR
WR
RD
RD
D
D
To Op Amp 2
To A/D Converter
CK
CK
PORTB PIN DESCRIPTIONS AND
DIAGRAMS
RB4/AN10/OP2-
RB5/AN11/OP2+
Q
Q
Q
Q
BLOCK DIAGRAM OF RB4
AND RB5
Q
ANS10 (RB4)
ANS11 (RB5)
EN
D
V
V
DD
SS
I/O Pin
4.3.1.3
The RB6 pin is configurable to function as the following:
• Open drain general purpose I/O
FIGURE 4-8:
4.3.1.4
The RB7/SYNC pin is configurable to function as one
of the following:
• General purpose I/O
• PWM synchronization input and output
FIGURE 4-9:
PORTB
PORTB
PORTB
PORTB
TRISB
TRISB
TRISB
TRISB
Data Bus
PH1EN
PH2EN
PWM Master
Sync out
Data Bus
WR
WR
RD
WR
WR
RD
RD
RD
to PWM Sync Input
PIC16F785/HV785
D
D
D
D
CK
CK
CK
CK
RB6
RB7/SYNC
Q
Q
Q
Q
Q
Q
Q
Q
BLOCK DIAGRAM OF RB6
BLOCK DIAGRAM OF RB7
Q
Q
EN
EN
D
D
1
0
DS41249E-page 43
N
V
SS
V
V
V
SS
DD
SS
I/O Pin
I/O Pin

Related parts for PIC16F785-E/SS