MPC8313ZQADDC Freescale Semiconductor, MPC8313ZQADDC Datasheet - Page 1148

no-image

MPC8313ZQADDC

Manufacturer Part Number
MPC8313ZQADDC
Description
Microprocessors - MPU 8313 REV2.2 PB NO ENC
Manufacturer
Freescale Semiconductor
Datasheet

Specifications of MPC8313ZQADDC

Processor Series
MPC8313
Core
e300
Data Bus Width
16 bit
Maximum Clock Frequency
133 MHz
Program Memory Size
16 KB
Data Ram Size
16 KB
Interface Type
I2C
Mounting Style
SMD/SMT
Package / Case
PBGA
Number Of Programmable I/os
32
Number Of Timers
4

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MPC8313ZQADDC
Manufacturer:
Freescale Semiconductor
Quantity:
10 000
Serial Peripheral Interface
19.5
The following sections describe programming examples of the SPI master and slave.
19.5.1
The following sequence initialize the SPI to run at a high speed in master mode:
19.5.2
The following is an example initialization sequence to follow when the SPI is in slave mode. It is very
similar to the SPI master example, except that SPISEL is used instead of a general-purpose I/O signal.
19-16
Offset 0x036
Offset 0x036
Reset
Reset
1. Configure a parallel I/O signal to operate as the SPI select output signal if needed.
2. Write 0xFFFFFFFF to SPIE to clear any previous events. Configure SPIM to enable all desired SPI
3. Configure SPMODE to enable normal operation (not loopback), master mode, SPI enabled,
4. Write the first character to be sent to SPITD.
1. Write 0xFFFFFFFF to SPIE to clear any previous events.
2. Configure SPIM to enable all desired SPI interrupts.
3. Configure SPMODE to enable normal operation (not loopback), slave mode, SPI enabled, and
4. Write the first data to be sent to SPITD, to enable the SPI to be ready once the master begins to
W
W
R
R
0
0
interrupts.
character length, and the fastest speed possible.
characters length.
transfer.
Initialization/Application Information
SPI Master Programming Example
SPI Slave Programming Example
MPC8313E PowerQUICC™ II Pro Integrated Processor Family Reference Manual, Rev. 2
Figure 19-14. Example SPMODE[REV] = 1 SPMODE[LEN] = 15 MSB Sent First
Figure 19-15. Example SPMODE[REV] = 0 SPMODE[LEN] = 15 LSB Sent First
15
15
All zeros
All zeros
MSB
MSB
16
16
17
17
DATA
DATA
Freescale Semiconductor
Access: Read-only
Access: Read-only
30
30
LSB
LSB
31
31

Related parts for MPC8313ZQADDC