mc68331cpv20b1 Freescale Semiconductor, Inc, mc68331cpv20b1 Datasheet - Page 240

no-image

mc68331cpv20b1

Manufacturer Part Number
mc68331cpv20b1
Description
Mc68331 32 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
D
D.4.10 SPCR0 — QSPI Control Register 0
MSTR — Master/Slave Mode Select
D-32
RESET:
MSTR
15
0
DDRQS determines the direction of the TXD pin only when the SCI transmitter is dis-
abled. When the SCI transmitter is enabled, the TXD pin is an output.
SPCR0 contains parameters for configuring the QSPI and enabling various modes of
operation. The CPU has read/write access to SPCR0, but the QSM has read access
only. SPCR0 must be initialized before QSPI operation begins. Writing a new value to
SPCR0 while the QSPI is enabled disrupts operation.
1. PQS2 is a digital I/O pin unless the SPI is enabled (SPE in SPCR1 set), in which case it becomes SPI
2. PQS7 is a digital I/O pin unless the SCI transmitter is enabled (TE in SCCR1 =1), in which case it
0 = QSPI is a slave device.
1 = QSPI is system master.
serial clock SCK.
becomes SCI serial output TXD.
WOMQ
14
0
PCS0/SS
QSM Pin
PCS[3:1]
MISO
MOSI
SCK
TXD
RXD
13
0
Table D-16 Effect of DDRQS on QSM Pin Function
1
2
0
BITS
Freescale Semiconductor, Inc.
For More Information On This Product,
0
Transmit
Receive
Master
Master
Master
Master
Master
Mode
Slave
Slave
Slave
Slave
Slave
10
0
Go to: www.freescale.com
REGISTER SUMMARY
CPOL
9
0
DDRQS
DDQS0
DDQS1
DDQS2
DDQS3
DDQS7
DDQS
None
[4:6]
Bit
CPHA
8
1
State
7
0
NA
Bit
X
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
Serial Data Input to QSPI
Disables Data Input
Disables Data Output
Serial Data Output from QSPI
Disables Data Output
Serial Data Output from QSPI
Serial Data Input to QSPI
Disables Data Input
Disables Clock Output
Clock Output from QSPI
Clock Input to QSPI
Disables Clock Input
Assertion Causes Mode Fault
Chip-Select Output
QSPI Slave Select Input
Disables Select Input
Disables Chip-Select Output
Chip-Select Output
Inactive
Inactive
Serial Data Output from SCI
Serial Data Input to SCI
0
Pin Function
0
SP
0
USER’S MANUAL
1
$YFFC18
0
MC68331
0
0

Related parts for mc68331cpv20b1