PIC16F819 Microchip Technology Inc., PIC16F819 Datasheet - Page 73

no-image

PIC16F819

Manufacturer Part Number
PIC16F819
Description
18/20-pin Enhanced Flash Microcontrollers With Nanowatt Technology
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16F819
Manufacturer:
MIC
Quantity:
699
Part Number:
PIC16F819-1/P
Manufacturer:
MIC
Quantity:
20 000
Part Number:
PIC16F819-E/SO
Manufacturer:
ZETTLER
Quantity:
201
Part Number:
PIC16F819-E/SS
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16F819-E/SS
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16F819-I/P
Manufacturer:
MICROCHIP
Quantity:
1 000
Part Number:
PIC16F819-I/P
0
Part Number:
PIC16F819-I/SO
0
Part Number:
PIC16F819-I/SS
Manufacturer:
MICROCHIP
Quantity:
8 000
Part Number:
PIC16F819-I/SS
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
10.0
10.1
The Synchronous Serial Port (SSP) module is a serial
interface useful for communicating with other periph-
eral or microcontroller devices. These peripheral
devices may be serial EEPROMs, shift registers,
display drivers, A/D converters, etc. The SSP module
can operate in one of two modes:
• Serial Peripheral Interface (SPI)
• Inter-Integrated Circuit (I
An overview of I
tion on the SSP module can be found in the “PICmicro
Mid-Range
(DS33023).
Refer to Application Note AN578, “Use of the SSP
Module in the I
(DS00578).
 2004 Microchip Technology Inc.
SYNCHRONOUS SERIAL PORT
(SSP) MODULE
SSP Module Overview
MCU
2
C operations and additional informa-
2
C™ Multi-Master Environment”
Family
2
C)
Reference
Manual”
®
10.2
This
operational characteristics of the SPI module.
SPI mode allows 8 bits of data to be synchronously
transmitted
accomplish communication, typically three pins are
used:
• Serial Data Out (SDO)
• Serial Data In (SDI)
• Serial Clock (SCK)
Additionally, a fourth pin may be used when in a Slave
mode of operation:
• Slave Select (SS)
When initializing the SPI, several options need to be
specified. This is done by programming the appropriate
control bits in the SSPCON register (SSPCON<5:0>)
and the SSPSTAT register (SSPSTAT<7:6>). These
control bits allow the following to be specified:
• Master mode (SCK is the clock output)
• Slave mode (SCK is the clock input)
• Clock Polarity (Idle state of SCK)
• Clock Edge (output data on rising/falling
• Clock Rate (Master mode only)
• Slave Select mode (Slave mode only)
edge of SCK)
Note:
section
SPI Mode
Before enabling the module in SPI Slave
mode, the state of the clock line (SCK)
must match the polarity selected for the
Idle state. The clock line can be observed
by reading the SCK pin. The polarity of the
Idle state is determined by the CKP bit
(SSPCON<4>).
and
PIC16F818/819
contains
received
register
RB2/SDO/CCP1
RB1/SDI/SDA
RB4/SCK/SCL
RB5/SS
simultaneously.
DS39598E-page 71
definitions
and
To

Related parts for PIC16F819