欢迎访问ic37.com |
会员登录 免费注册
发布采购

PIC18F66J60-I/PT 参数 Datasheet PDF下载

PIC18F66J60-I/PT图片预览
型号: PIC18F66J60-I/PT
PDF下载: 下载PDF文件 查看货源
内容描述: 八十〇分之六十四/ 100-针,高性能, 1兆位闪存单片机的以太网 [64/80/100-Pin, High-Performance, 1 Mbit Flash Microcontrollers with Ethernet]
分类和应用: 闪存微控制器以太网
文件页数/大小: 480 页 / 8351 K
品牌: MICROCHIP [ MICROCHIP TECHNOLOGY ]
 浏览型号PIC18F66J60-I/PT的Datasheet PDF文件第255页浏览型号PIC18F66J60-I/PT的Datasheet PDF文件第256页浏览型号PIC18F66J60-I/PT的Datasheet PDF文件第257页浏览型号PIC18F66J60-I/PT的Datasheet PDF文件第258页浏览型号PIC18F66J60-I/PT的Datasheet PDF文件第260页浏览型号PIC18F66J60-I/PT的Datasheet PDF文件第261页浏览型号PIC18F66J60-I/PT的Datasheet PDF文件第262页浏览型号PIC18F66J60-I/PT的Datasheet PDF文件第263页  
PIC18F97J60 FAMILY
19.0
MASTER SYNCHRONOUS
SERIAL PORT (MSSP)
MODULE
Master SSP (MSSP) Module
Overview
19.3
SPI Mode
The SPI mode allows 8 bits of data to be synchronously
transmitted and received simultaneously. All four
modes of SPI are supported. To accomplish
communication, typically three pins are used:
• Serial Data Out (SDOx) – RC5/SDO1 (or
RD4/SDO2 for 100-pin devices)
• Serial Data In (SDIx) – RC4/SDI1/SDA1 (or
RD5/SDI2/SDA2 for 100-pin devices)
• Serial Clock (SCKx) – RC3/SCK1/SCL1 (or
RD6/SCK2/SCL2 for 100-pin devices)
Additionally, a fourth pin may be used when in a Slave
mode of operation:
• Slave Select (SSx) – RF7/SS1 (or RD7/SS2 for
100-pin devices)
module when operating in SPI mode.
19.1
The Master Synchronous Serial Port (MSSP) module is
a serial interface, useful for communicating with other
peripheral or microcontroller devices. These peripheral
devices may be serial EEPROMs, shift registers,
display drivers, A/D converters, etc. The MSSP module
can operate in one of two modes:
• Serial Peripheral Interface (SPI)
• Inter-Integrated Circuit (I
2
C™)
- Full Master mode
- Slave mode (with general address call)
The I
2
C interface supports the following modes in
hardware:
• Master mode
• Multi-Master mode
• Slave mode
The 64-pin and 80-pin devices of the PIC18F97J60
family have one MSSP module, designated as MSSP1.
The 100-pin devices have two MSSP modules, desig-
nated as MSSP1 and MSSP2. Each module operates
independently of the other.
Note:
Throughout this section, generic refer-
ences to an MSSP module in any of its
operating modes may be interpreted as
being equally applicable to MSSP1 or
MSSP2. Register names and module I/O
signals use the generic designator ‘x’ to
indicate the use of a numeral to distinguish
a particular module when required.
Control bit names are not individuated.
FIGURE 19-1:
MSSP BLOCK DIAGRAM
(SPI MODE)
Internal
Data Bus
Read
SSPxBUF reg
Write
SDIx
SSPxSR reg
SDOx
bit 0
Shift
Clock
SSx
19.2
Control Registers
SSx Control
Enable
Edge
Select
2
Clock Select
SSPM3:SSPM0
Each MSSP module has three associated control
registers. These include a status register (SSPxSTAT)
and two control registers (SSPxCON1 and SSPxCON2).
The use of these registers and their individual configura-
tion bits differ significantly depending on whether the
MSSP module is operating in SPI or I
2
C mode.
Additional details are provided under the individual
sections.
Note:
In devices with more than one MSSP
module, it is very important to pay close
attention to the SSPxCON register names.
SSP1CON1 and SSP1CON2 control
different operational aspects of the same
module,
while
SSP1CON1
and
SSP2CON1 control the same features for
two different modules.
SCKx
SMP:CKE 4
2
Edge
Select
(
TMR22Output
)
Prescaler T
OSC
4, 16, 64
Data to TXx/RXx in SSPxSR
TRIS bit
©
2009 Microchip Technology Inc.
DS39762E-page 259