mc68332acpv25b1 Freescale Semiconductor, Inc, mc68332acpv25b1 Datasheet - Page 72

no-image

mc68332acpv25b1

Manufacturer Part Number
mc68332acpv25b1
Description
Technical Summary 32-bit Modular Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
6.5.2 QSPI Registers
SPCR0 — QSPI Control Register 0
72
MOTOROLA
RESET:
MSTR
15
0
The programmer's model for the QSPI submodule consists of the QSM global and pin control registers,
four QSPI control registers, one status register, and the 80-byte QSPI RAM.
The CPU can read and write to registers and RAM. The four control registers must be initialized before
the QSPI is enabled to ensure defined operation. SPCR1 should be written last because it contains
QSPI enable bit SPE. Asserting this bit starts the QSPI. The QSPI control registers are reset to a de-
fined state and can then be changed by the CPU. Reset values are shown below each register.
Refer to the following memory map of the QSPI.
Writing a different value into any control register except SPCR2 while the QSPI is enabled disrupts op-
eration. SPCR2 is buffered to prevent disruption of the current serial transfer. After completion of the
current serial transfer, the new SPCR2 values become effective.
Writing the same value into any control register except SPCR2 while the QSPI is enabled has no effect
on QSPI operation. Rewriting NEWQP in SPCR2 causes execution to restart at the designated location.
SPCR0 contains parameters for configuring the QSPI before it is enabled. The CPU can read and write
this register. The QSM has read-only access.
Master In Slave Out
Master Out Slave In
Serial Clock
Peripheral Chip Selects
Peripheral Chip Select
Slave Select
WOMQ
14
0
Pin Names
13
0
0
$YFFC1C
$YFFC1A
$YFFC1E
$YFFC1F
$YFFC18
$YFFD00
$YFFD20
$YFFD40
Address
BITS
Freescale Semiconductor, Inc.
For More Information On This Product,
0
10
0
Go to: www.freescale.com
Mnemonics
SPCR0
SPCR1
SPCR2
SPCR3
PCS[3:1]
Name
SPSR
CPOL
RAM
RAM
RAM
PCS0
MISO
MOSI
SCK
9
0
SS
CPHA
8
1
QSPI Control Register 0
QSPI Control Register 1
QSPI Control Register 2
QSPI Control Register 3
QSPI Status Register
QSPI Receive Data (16 Words)
QSPI Transmit Data (16 Words)
QSPI Command Control (8 Words)
7
0
Master
Master
Master
Master
Master
Master
Mode
Slave
Slave
Slave
Slave
0
Usage
0
Serial Data Input to QSPI
Serial Data Output from QSPI
Serial Data Output from QSPI
Serial Data Input to QSPI
Clock Output from QSPI
Clock Input to QSPI
Select Peripherals
Selects Peripheral
Causes Mode Fault
Initiates Serial Transfer
0
SPBR
Function
0
1
MC68332TS/D
$YFFC18
0
MC68332
0
0

Related parts for mc68332acpv25b1