mc68hc11d0 Freescale Semiconductor, Inc, mc68hc11d0 Datasheet - Page 81

no-image

mc68hc11d0

Manufacturer Part Number
mc68hc11d0
Description
Mc68hc11d0 Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc68hc11d0CFB
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc11d0CFBE2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc11d0CFBE3
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc11d0CFBE3R
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc11d0CFN
Manufacturer:
FREESCALE
Quantity:
1 831
Part Number:
mc68hc11d0CFN2
Manufacturer:
FREESCALE
Quantity:
8 831
Part Number:
mc68hc11d0CFN3
Manufacturer:
MOT
Quantity:
5 510
Part Number:
mc68hc11d0CFN3
Manufacturer:
LT
Quantity:
5 510
Part Number:
mc68hc11d0CFN3
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc68hc11d0CFNE2
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Part Number:
mc68hc11d0CFNE2R
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
8.2.1 Clock Phase and Polarity Controls
8.3 SPI Signals
TECHNICAL DATA
(CPHA = 0)
(CPHA = 1 )
Software can select one of four combinations of serial clock phase and polarity using
two bits in the SPI control register (SPCR). The clock polarity is specified by the CPOL
control bit, which selects an active high or active low clock, and has no significant ef-
fect on the transfer format. The clock phase (CPHA) control bit selects one of two dif-
ferent transfer formats. The clock phase and polarity should be identical for the master
SPI device and the communicating slave device. In some cases, the phase and polar-
ity are changed between transfers to allow a master device to communicate with pe-
ripheral slaves having different requirements.
When CPHA equals zero, the slave select (SS) line must be negated and reasserted
between each successive serial byte. Also, if the slave writes data to the SPI data reg-
ister (SPDR) while SS is active low, a write collision error results.
When CPHA equals one, the SS line can remain low between successive transfers.
The following paragraphs contain descriptions of the four SPI signals: master in slave
out (MISO), master out slave in (MOSI), serial clock (SCK), and SS.
1. SS ASSERTED
2. MASTER WRITES TO SPDR
3. FIRST SCK EDGE
4. SPIF SET
5. SS NEGATED
SAMPLE INPUT
SAMPLE INPUT
SCK (CPOL = 0)
SCK (CPOL = 1)
SS (TO SLAVE)
SCK CYCLE #
DATA OUT
DATA OUT
1
2
MSB
Freescale Semiconductor, Inc.
3
For More Information On This Product,
Figure 8-2 SPI Transfer Format
MSB
1
SERIAL PERIPHERAL INTERFACE
6
Go to: www.freescale.com
2
6
SLAVE CPHA=0 TRANSFER IN PROGRESS
SLAVE CPHA=1 TRANSFER IN PROGRESS
5
MASTER TRANSFER IN PROGRESS
3
5
4
4
4
3
5
3
2
6
2
1
7
1
LSB
8
SPI TRANSFER FORMAT 1
LSB
4
5
8-3

Related parts for mc68hc11d0