1997 Microchip Technology Inc.
DS30444E - page 67
PIC16C9XX
The SS pin allows a synchronous slave mode. The
SPI must be in slave mode (SSPCON<3:0> = 04h)
and the TRISA<5> bit must be set for the synchro-
nous slave mode to be enabled. When the SS pin is
low, transmission and reception are enabled and the
SDO pin is driven. When the SS pin goes high, the
SDO pin is no longer driven, even if in the middle of
a transmitted byte, and becomes a oating output.
External pull-up/ pull-down resistors may be desirable,
depending on the application.
To emulate two-wire communication, the SDO pin can
be connected to the SDI pin. When the SPI needs to
operate as a receiver the SDO pin can be congured as
an input. This disables transmissions from the SDO.
The SDI can always be left as an input (SDI function)
since it cannot create a bus conict.
Note:
When the SPI is in Slave Mode with SS pin
control enabled, (SSPCON<3:0> = 0100)
the SPI module will reset if the SS pin is set
to VDD.
Note:
If the SPI is used in Slave Mode with
CKE = '1', then the SS pin control must be
enabled.
FIGURE 11-5: SPI MODE TIMING, MASTER MODE
FIGURE 11-6: SPI MODE TIMING (SLAVE MODE WITH CKE = 0)
SCK (CKP = 0,
SDI (SMP = 0)
SSPIF
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
SDI (SMP = 1)
SCK (CKP = 0,
SCK (CKP = 1,
SDO
bit7
bit0
CKE = 0)
CKE = 1)
CKE = 0)
CKE = 1)
SCK (CKP = 0)
SDI (SMP = 0)
SSPIF
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
SCK (CKP = 1)
SDO
bit7
bit0
SS (optional)
相关PDF资料
PIC18F452-I/PT IC MCU FLASH 16KX16 EE 44TQFP
PIC18F6622-I/PT IC PIC MCU FLASH 32KX16 64TQFP
201828-1 CONN JACKSCREW SHORT-SHORT FMALE
608489070001049 CONN CONTACT FOR 8483/8484 PLUGS
PIC18LF258-I/SO IC MCU CAN FLASH 16K LP 28-SOIC
DSPIC33FJ256GP710-I/PT IC DSPIC MCU/DSP 256K 100TQFP
9-1469373-9 CONN GUIDE MOD FEMALE R/A
PIC32MX460F256L-80V/PT IC MCU 32BIT 256KB FLASH 100TQFP
相关代理商/技术参数
PIC18F452-I/P 功能描述:8位微控制器 -MCU 32KB 1536 RAM 34I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F452-I/P 制造商:Microchip Technology Inc 功能描述:IC 8BIT FLASH MCU 18F452 DIP40
PIC18F452-I/PG 功能描述:8位微控制器 -MCU 32KB 1536 RAM 34I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F452-I/PT 功能描述:8位微控制器 -MCU 32KB 1536 RAM 34I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F452-I/PT 制造商:Microchip Technology Inc 功能描述:8BIT FLASH MCU SMD 18F452 TQFP44
PIC18F452-I/PTC28 制造商:Microchip Technology Inc 功能描述:
PIC18F452-I/PTG 功能描述:8位微控制器 -MCU 32KB 1536 RAM 34I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC18F452IL 制造商:Microchip Technology Inc 功能描述: