PIC16C926 Microchip Technology Inc., PIC16C926 Datasheet - Page 65

no-image

PIC16C926

Manufacturer Part Number
PIC16C926
Description
64/68-pin Cmos Microcontrollers With Lcd Driver
Manufacturer
Microchip Technology Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C926-I/L
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
PIC16C926-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C926-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C926/CL
Manufacturer:
MICROCH
Quantity:
20 000
Part Number:
PIC16C926T-I/L
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC16C926T-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
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 mid-
dle of a transmitted byte and becomes a floating
output. External pull-up/pull-down resistors may be
desirable, depending on the application.
FIGURE 9-3:
FIGURE 9-4:
SCK (CKP = 0,
SCK (CKP = 0,
SCK (CKP = 1,
SCK (CKP = 1,
SDO
SDI (SMP = 0)
SCK (CKP = 0)
SCK (CKP = 1)
SDI (SMP = 1)
2001 Microchip Technology Inc.
SS (optional)
SDO
SDI (SMP = 0)
SSPIF
SSPIF
CKE = 0)
CKE = 1)
CKE = 0)
CKE = 1)
SPI MODE TIMING, MASTER MODE
SPI MODE TIMING (SLAVE MODE WITH CKE = 0)
bit7
bit7
bit7
bit7
bit7
bit6
bit6
Preliminary
bit5
bit5
bit4
bit4
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 configured
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 conflict.
Note 1: When the SPI is in Slave mode with SS
bit3
bit3
2: If the SPI is used in Slave mode with
pin control enabled (SSPCON<3:0> =
0100), the SPI module will reset if the SS
pin is set to V
CKE = ’1’, then the SS pin control must be
enabled.
PIC16C925/926
bit2
bit2
DD
.
bit1
bit1
DS39544A-page 63
bit0
bit0
bit0
bit0
bit0

Related parts for PIC16C926