PIC16F819-E/ML Microchip Technology, PIC16F819-E/ML Datasheet - Page 78
![IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,28PIN,PLASTIC](/photos/6/81/68120/150-28-qfn_sml.jpg)
PIC16F819-E/ML
Manufacturer Part Number
PIC16F819-E/ML
Description
IC,MICROCONTROLLER,8-BIT,PIC CPU,CMOS,LLCC,28PIN,PLASTIC
Manufacturer
Microchip Technology
Series
PIC® 16Fr
Datasheets
1.PIC16F616T-ISL.pdf
(8 pages)
2.PIC16F688T-ISL.pdf
(688 pages)
3.PIC16F818-ISO.pdf
(176 pages)
4.PIC16F818-ISO.pdf
(6 pages)
5.PIC16F818-ISO.pdf
(8 pages)
6.PIC16F818-ISO.pdf
(8 pages)
Specifications of PIC16F819-E/ML
Rohs Compliant
YES
Core Processor
PIC
Core Size
8-Bit
Speed
20MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
16
Program Memory Size
3.5KB (2K x 14)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4 V ~ 5.5 V
Data Converters
A/D 5x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Processor Series
PIC16F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Interface Type
I2C, SPI, SSP
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
16
Number Of Timers
1 x 16 bit
Operating Supply Voltage
2 V to 5.5 V
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE2000, DM163014
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
XLT28QFN3 - SOCKET TRAN ICE 18DIP/28QFNAC164033 - ADAPTER 28QFN TO 18DIPDV007003 - PROGRAMMER UNIVERSAL PROMATE II
Lead Free Status / Rohs Status
Details
PIC16F818/819
10.3
The SSP module in I
functions, except general call support and provides
interrupts on Start and Stop bits in hardware to facilitate
firmware implementations of the master functions. The
SSP
specifications, as well as 7-bit and 10-bit addressing.
Two pins are used for data transfer. These are the
RB4/SCK/SCL pin, which is the clock (SCL) and the
RB1/SDI/SDA pin, which is the data (SDA). The user
must configure these pins as inputs or outputs through
the TRISB<4,1> bits.
EXAMPLE 10-1:
The SSP module functions are enabled by setting SSP
Enable bit, SSPEN (SSPCON<5>).
FIGURE 10-5:
The SSP module has five registers for I
• SSP Control Register (SSPCON)
• SSP Status Register (SSPSTAT)
• Serial Receive/Transmit Buffer (SSPBUF)
• SSP Shift Register (SSPSR) – Not directly
• SSP Address Register (SSPADD)
DS39598E-page 76
RB4/SCK/
MOVF
IORLW
ANDLW
MOVWF
accessible
RB1/
SDI/
SDA
SCL
module
SSP I
TRISC, W
0x18
B’11111001’
TRISC
Read
2
Clock
Shift
implements
C Mode Operation
2
MSb
C mode fully implements all slave
SSP BLOCK DIAGRAM
(I
Stop Bit Detect
SSPBUF Reg
SSPADD Reg
Match Detect
2
SSPSR Reg
Start and
C™ MODE)
; Example for an 18-pin part such as the PIC16F818/819
; Ensures <4:3> bits are ‘11’
; Sets <2:1> as output, but will not alter other bits
; User can use their own logic here, such as IORLW, XORLW and ANDLW
the
LSb
Write
standard
(SSPSTAT Reg)
2
Data Bus
C operation:
Internal
Addr Match
Set, Reset
S, P Bits
mode
To ensure proper communication of the I
the TRIS bits (TRISx [SDA, SCL]) corresponding to the
I
of the port containing the I
are changed in software during I
using a Read-Modify-Write instruction (BSF, BCF), then
the I
communication may suspend. Do not change any of the
TRISx bits (TRIS bits of the port containing the I
using the instruction BSF or BCF during I
tion. If it is absolutely necessary to change the TRISx
bits during communication, the following method can be
used:
The SSPCON register allows control of the I
tion. Four mode selection bits (SSPCON<3:0>) allow
one of the following I
• I
• I
• I
• I
• I
Selection of any I
forces the SCL and SDA pins to be open-drain,
provided these pins are programmed to inputs by
setting the appropriate TRISB bits. Pull-up resistors
must be provided externally to the SCL and SDA pins
for proper operation of the I
Additional information on SSP I
found in the “PICmicro
Reference Manual” (DS33023).
2
C pins must be set to ‘1’. If any TRIS bits (TRISx<7:0>)
Stop bit interrupts enabled to support Firmware
Master mode
Stop bit interrupts enabled to support Firmware
Master mode
and Stop bit interrupts enabled, slave is Idle
2
2
2
2
2
C Slave mode (7-bit address)
C Slave mode (10-bit address)
C Slave mode (7-bit address) with Start and
C Slave mode (10-bit address) with Start and
C Firmware Controlled Master mode with Start
2
C mode may stop functioning properly and I
2
C mode, with the SSPEN bit set,
2
C modes to be selected:
2004 Microchip Technology Inc.
®
2
C pins (PORTx [SDA, SCL])
2
Mid-Range MCU Family
C module.
2
C operation may be
2
C communication
2
2
C Slave mode,
C communica-
2
C opera-
2
C pins)
2
C